# 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-fix-templating-warnings70lgwi_u/.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-fix-templating-warnings70lgwi_u/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-fix-templating-warnings70lgwi_u/tests/tests_auto_gateway_nm.yml:6 Wednesday 24 July 2024 16:48:25 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/tests_auto_gateway_nm.yml:9 Wednesday 24 July 2024 16:48:26 +0000 (0:00:00.854) 0:00:00.867 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/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-fix-templating-warnings70lgwi_u/tests/tasks/el_repo_setup.yml:3 Wednesday 24 July 2024 16:48:26 +0000 (0:00:00.012) 0:00:00.879 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/tasks/el_repo_setup.yml:17 Wednesday 24 July 2024 16:48:26 +0000 (0:00:00.250) 0:00:01.129 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/tasks/el_repo_setup.yml:22 Wednesday 24 July 2024 16:48:26 +0000 (0:00:00.201) 0:00:01.331 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/tasks/el_repo_setup.yml:26 Wednesday 24 July 2024 16:48:26 +0000 (0:00:00.016) 0:00:01.347 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/tasks/el_repo_setup.yml:51 Wednesday 24 July 2024 16:48:26 +0000 (0:00:00.008) 0:00:01.356 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/tasks/enable_epel.yml:8 Wednesday 24 July 2024 16:48:26 +0000 (0:00:00.027) 0:00:01.383 ******** 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-fix-templating-warnings70lgwi_u/tests/tasks/enable_epel.yml:24 Wednesday 24 July 2024 16:48:27 +0000 (0:00:00.191) 0:00:01.575 ******** 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-fix-templating-warnings70lgwi_u/tests/tasks/enable_epel.yml:30 Wednesday 24 July 2024 16:48:27 +0000 (0:00:00.454) 0:00:02.029 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.179483", "end": "2024-07-24 16:48:27.872734", "rc": 0, "start": "2024-07-24 16:48:27.693251" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/tasks/enable_epel.yml:35 Wednesday 24 July 2024 16:48:27 +0000 (0:00:00.321) 0:00:02.351 ******** 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-fix-templating-warnings70lgwi_u/tests/tasks/enable_epel.yml:40 Wednesday 24 July 2024 16:48:27 +0000 (0:00:00.023) 0:00:02.375 ******** 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-fix-templating-warnings70lgwi_u/tests/tests_auto_gateway_nm.yml:11 Wednesday 24 July 2024 16:48:27 +0000 (0:00:00.015) 0:00:02.390 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 24 July 2024 16:48:27 +0000 (0:00:00.052) 0:00:02.443 ******** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 24 July 2024 16:48:28 +0000 (0:00:00.522) 0:00:02.965 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 16:48:28 +0000 (0:00:00.043) 0:00:03.008 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 16:48:28 +0000 (0:00:00.013) 0:00:03.022 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003740", "end": "2024-07-24 16:48:28.679749", "rc": 0, "start": "2024-07-24 16:48:28.676009" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 16:48:28 +0000 (0:00:00.149) 0:00:03.172 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 16:48:28 +0000 (0:00:00.020) 0:00:03.192 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 24 July 2024 16:48:28 +0000 (0:00:00.030) 0:00:03.222 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 16:48:28 +0000 (0:00:00.067) 0:00:03.290 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 16:48:28 +0000 (0:00:00.044) 0:00:03.335 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 16:48:28 +0000 (0:00:00.039) 0:00:03.374 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 16:48:28 +0000 (0:00:00.037) 0:00:03.412 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 16:48:28 +0000 (0:00:00.020) 0:00:03.433 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003740", "end": "2024-07-24 16:48:29.162671", "rc": 0, "start": "2024-07-24 16:48:29.158931" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 16:48:29 +0000 (0:00:00.235) 0:00:03.668 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 16:48:29 +0000 (0:00:00.011) 0:00:03.680 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 16:48:29 +0000 (0:00:00.019) 0:00:03.699 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 16:48:29 +0000 (0:00:00.339) 0:00:04.039 ******** 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.012741", "end": "2024-07-24 16:48:29.705554", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-24 16:48:29.692813" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.010251", "end": "2024-07-24 16:48:29.848589", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-24 16:48:29.838338" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.011631", "end": "2024-07-24 16:48:30.002384", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-24 16:48:29.990753" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 16:48:30 +0000 (0:00:00.489) 0:00:04.528 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023549", "end": "2024-07-24 16:48:30.209359", "rc": 0, "start": "2024-07-24 16:48:30.185810" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 16:48:30 +0000 (0:00:00.160) 0:00:04.688 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 16:48:30 +0000 (0:00:00.009) 0:00:04.698 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 16:48:30 +0000 (0:00:00.010) 0:00:04.709 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 16:48:30 +0000 (0:00:00.009) 0:00:04.719 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 16:48:30 +0000 (0:00:00.009) 0:00:04.729 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 24 July 2024 16:48:30 +0000 (0:00:00.009) 0:00:04.739 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 16:48:30 +0000 (0:00:00.026) 0:00:04.765 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 16:48:30 +0000 (0:00:00.012) 0:00:04.777 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721839709.704151, "block_size": 4096, "blocks": 0, "ctime": 1721839709.704151, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17724, "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": 1721839709.704151, "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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 16:48:30 +0000 (0:00:00.127) 0:00:04.905 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 24 July 2024 16:48:30 +0000 (0:00:00.011) 0:00:04.917 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 16:48:30 +0000 (0:00:00.013) 0:00:04.930 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/.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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:48:30 +0000 (0:00:00.019) 0:00:04.949 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 16:48:30 +0000 (0:00:00.027) 0:00:04.976 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 16:48:30 +0000 (0:00:00.016) 0:00:04.993 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 16:48:30 +0000 (0:00:00.019) 0:00:05.012 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 16:48:31 +0000 (0:00:00.887) 0:00:05.900 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 16:48:32 +0000 (0:00:01.245) 0:00:07.145 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 16:48:32 +0000 (0:00:00.022) 0:00:07.168 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 16:48:32 +0000 (0:00:00.021) 0:00:07.189 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 16:48:32 +0000 (0:00:00.054) 0:00:07.244 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 16:48:32 +0000 (0:00:00.055) 0:00:07.300 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 16:48:32 +0000 (0:00:00.032) 0:00:07.332 ******** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 16:48:32 +0000 (0:00:00.037) 0:00:07.370 ******** 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 : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 16:48:32 +0000 (0:00:00.072) 0:00:07.443 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 16:48:33 +0000 (0:00:00.056) 0:00:07.499 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 16:48:33 +0000 (0:00:00.023) 0:00:07.522 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 16:48:33 +0000 (0:00:00.051) 0:00:07.574 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 16:48:33 +0000 (0:00:00.070) 0:00:07.644 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 16:48:33 +0000 (0:00:00.457) 0:00:08.102 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 16:48:33 +0000 (0:00:00.039) 0:00:08.142 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 16:48:33 +0000 (0:00:00.039) 0:00:08.181 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 16:48:33 +0000 (0:00:00.036) 0:00:08.217 ******** 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, d9cba1af-a22e-4399-a44d-49834addea33 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d9cba1af-a22e-4399-a44d-49834addea33 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 16:48:34 +0000 (0:00:00.662) 0:00:08.880 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 16:48:34 +0000 (0:00:00.021) 0:00:08.902 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d9cba1af-a22e-4399-a44d-49834addea33", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d9cba1af-a22e-4399-a44d-49834addea33 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 16:48:34 +0000 (0:00:00.022) 0:00:08.924 ******** 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, d9cba1af-a22e-4399-a44d-49834addea33\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d9cba1af-a22e-4399-a44d-49834addea33 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d9cba1af-a22e-4399-a44d-49834addea33", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d9cba1af-a22e-4399-a44d-49834addea33 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 16:48:34 +0000 (0:00:00.025) 0:00:08.949 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 16:48:34 +0000 (0:00:00.020) 0:00:08.969 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 24 July 2024 16:48:34 +0000 (0:00:00.304) 0:00:09.274 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 16:48:34 +0000 (0:00:00.046) 0:00:09.321 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 16:48:34 +0000 (0:00:00.067) 0:00:09.388 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721839710.4241254, "block_size": 4096, "blocks": 0, "ctime": 1721839709.704151, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17724, "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": 1721839709.704151, "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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 16:48:35 +0000 (0:00:00.149) 0:00:09.538 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 24 July 2024 16:48:35 +0000 (0:00:00.025) 0:00:09.563 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 16:48:35 +0000 (0:00:00.046) 0:00:09.610 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 16:48:35 +0000 (0:00:00.036) 0:00:09.646 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 16:48:35 +0000 (0:00:00.024) 0:00:09.670 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721839714.4089844, "block_size": 4096, "blocks": 8, "ctime": 1721839714.306988, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22505, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721839714.306988, "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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 16:48:35 +0000 (0:00:00.161) 0:00:09.831 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 16:48:35 +0000 (0:00:00.029) 0:00:09.861 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.025251", "end": "2024-07-24 16:48:35.570158", "rc": 0, "start": "2024-07-24 16:48:35.544907" } 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 16:48:35 +0000 (0:00:00.218) 0:00:10.079 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 16:48:35 +0000 (0:00:00.063) 0:00:10.143 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 16:48:35 +0000 (0:00:00.071) 0:00:10.215 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 16:48:35 +0000 (0:00:00.050) 0:00:10.265 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 16:48:35 +0000 (0:00:00.023) 0:00:10.288 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 16:48:35 +0000 (0:00:00.023) 0:00:10.312 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 16:48:35 +0000 (0:00:00.033) 0:00:10.346 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 16:48:35 +0000 (0:00:00.046) 0:00:10.393 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 24 July 2024 16:48:35 +0000 (0:00:00.036) 0:00:10.429 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003826", "end": "2024-07-24 16:48:36.081930", "rc": 0, "start": "2024-07-24 16:48:36.078104" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.57 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-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 24 July 2024 16:48:36 +0000 (0:00:00.139) 0:00:10.568 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:57 Wednesday 24 July 2024 16:48:36 +0000 (0:00:00.058) 0:00:10.626 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003695", "end": "2024-07-24 16:48:36.280717", "rc": 0, "start": "2024-07-24 16:48:36.277022" } 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-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:61 Wednesday 24 July 2024 16:48:36 +0000 (0:00:00.140) 0:00:10.767 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:67 Wednesday 24 July 2024 16:48:36 +0000 (0:00:00.022) 0:00:10.789 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 16:48:36 +0000 (0:00:00.020) 0:00:10.810 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/.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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:48:36 +0000 (0:00:00.036) 0:00:10.846 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 16:48:36 +0000 (0:00:00.033) 0:00:10.880 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 16:48:36 +0000 (0:00:00.025) 0:00:10.906 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 16:48:36 +0000 (0:00:00.023) 0:00:10.930 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 16:48:37 +0000 (0:00:00.775) 0:00:11.705 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 16:48:38 +0000 (0:00:01.026) 0:00:12.732 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 16:48:38 +0000 (0:00:00.028) 0:00:12.761 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 16:48:38 +0000 (0:00:00.024) 0:00:12.785 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 16:48:38 +0000 (0:00:00.032) 0:00:12.818 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 16:48:38 +0000 (0:00:00.028) 0:00:12.846 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 16:48:38 +0000 (0:00:00.032) 0:00:12.878 ******** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 16:48:38 +0000 (0:00:00.035) 0:00:12.913 ******** 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 : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 16:48:38 +0000 (0:00:00.072) 0:00:12.986 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 16:48:38 +0000 (0:00:00.092) 0:00:13.078 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 16:48:38 +0000 (0:00:00.022) 0:00:13.101 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 16:48:38 +0000 (0:00:00.021) 0:00:13.122 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 16:48:38 +0000 (0:00:00.081) 0:00:13.203 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 16:48:38 +0000 (0:00:00.259) 0:00:13.462 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 16:48:39 +0000 (0:00:00.050) 0:00:13.513 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 16:48:39 +0000 (0:00:00.022) 0:00:13.535 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 16:48:39 +0000 (0:00:00.025) 0:00:13.560 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 16:48:39 +0000 (0:00:00.430) 0:00:13.991 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 16:48:39 +0000 (0:00:00.022) 0:00:14.013 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 16:48:39 +0000 (0:00:00.027) 0:00:14.041 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 16:48:39 +0000 (0:00:00.025) 0:00:14.067 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 16:48:39 +0000 (0:00:00.020) 0:00:14.087 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:79 Wednesday 24 July 2024 16:48:39 +0000 (0:00:00.167) 0:00:14.254 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 16:48:39 +0000 (0:00:00.048) 0:00:14.303 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 16:48:39 +0000 (0:00:00.022) 0:00:14.326 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 16:48:39 +0000 (0:00:00.018) 0:00:14.345 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 16:48:39 +0000 (0:00:00.069) 0:00:14.414 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 16:48:39 +0000 (0:00:00.030) 0:00:14.445 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003918", "end": "2024-07-24 16:48:40.154819", "rc": 0, "start": "2024-07-24 16:48:40.150901" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 16:48:40 +0000 (0:00:00.221) 0:00:14.666 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 16:48:40 +0000 (0:00:00.031) 0:00:14.697 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 16:48:40 +0000 (0:00:00.034) 0:00:14.732 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 16:48:40 +0000 (0:00:00.391) 0:00:15.124 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 16:48:40 +0000 (0:00:00.027) 0:00:15.151 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 16:48:40 +0000 (0:00:00.035) 0:00:15.186 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012353", "end": "2024-07-24 16:48:40.875083", "rc": 0, "start": "2024-07-24 16:48:40.862730" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 16:48:40 +0000 (0:00:00.200) 0:00:15.386 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 16:48:40 +0000 (0:00:00.030) 0:00:15.417 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 16:48:40 +0000 (0:00:00.020) 0:00:15.438 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 16:48:40 +0000 (0:00:00.020) 0:00:15.458 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:83 Wednesday 24 July 2024 16:48:41 +0000 (0:00:00.019) 0:00:15.478 ******** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:87 Wednesday 24 July 2024 16:48:41 +0000 (0:00:00.022) 0:00:15.500 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 16:48:41 +0000 (0:00:00.058) 0:00:15.559 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 16:48:41 +0000 (0:00:00.021) 0:00:15.580 ******** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 16:48:41 +0000 (0:00:00.085) 0:00:15.666 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 16:48:41 +0000 (0:00:00.043) 0:00:15.710 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 16:48:41 +0000 (0:00:00.032) 0:00:15.742 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004902", "end": "2024-07-24 16:48:42.398603", "rc": 0, "start": "2024-07-24 16:48:41.393701" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 16:48:42 +0000 (0:00:01.143) 0:00:16.886 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 16:48:42 +0000 (0:00:00.021) 0:00:16.907 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 16:48:42 +0000 (0:00:00.029) 0:00:16.937 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 16:48:42 +0000 (0:00:00.354) 0:00:17.291 ******** 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.012432", "end": "2024-07-24 16:48:42.958077", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-24 16:48:42.945645" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.009880", "end": "2024-07-24 16:48:43.094412", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-24 16:48:43.084532" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.010331", "end": "2024-07-24 16:48:43.223989", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-24 16:48:43.213658" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 16:48:43 +0000 (0:00:00.420) 0:00:17.712 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.033800", "end": "2024-07-24 16:48:43.395110", "rc": 0, "start": "2024-07-24 16:48:43.361310" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 16:48:43 +0000 (0:00:00.174) 0:00:17.887 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 16:48:43 +0000 (0:00:00.021) 0:00:17.909 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 16:48:43 +0000 (0:00:00.028) 0:00:17.937 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 16:48:43 +0000 (0:00:00.026) 0:00:17.963 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 16:48:43 +0000 (0:00:00.030) 0:00:17.994 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 16:48:43 +0000 (0:00:00.020) 0:00:18.014 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/.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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:48:43 +0000 (0:00:00.035) 0:00:18.049 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 16:48:43 +0000 (0:00:00.033) 0:00:18.083 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 16:48:43 +0000 (0:00:00.032) 0:00:18.116 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 16:48:43 +0000 (0:00:00.068) 0:00:18.184 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 16:48:44 +0000 (0:00:00.770) 0:00:18.955 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 16:48:45 +0000 (0:00:00.989) 0:00:19.945 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 16:48:45 +0000 (0:00:00.028) 0:00:19.973 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 16:48:45 +0000 (0:00:00.044) 0:00:20.018 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 16:48:45 +0000 (0:00:00.055) 0:00:20.073 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 16:48:45 +0000 (0:00:00.051) 0:00:20.124 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 16:48:45 +0000 (0:00:00.052) 0:00:20.177 ******** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 16:48:45 +0000 (0:00:00.060) 0:00:20.237 ******** 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 : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 16:48:45 +0000 (0:00:00.045) 0:00:20.283 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 16:48:45 +0000 (0:00:00.123) 0:00:20.406 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 16:48:45 +0000 (0:00:00.036) 0:00:20.442 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 16:48:46 +0000 (0:00:00.093) 0:00:20.535 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 16:48:46 +0000 (0:00:00.085) 0:00:20.621 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 16:48:46 +0000 (0:00:00.303) 0:00:20.924 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 16:48:46 +0000 (0:00:00.037) 0:00:20.961 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 16:48:46 +0000 (0:00:00.022) 0:00:20.984 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 16:48:46 +0000 (0:00:00.090) 0:00:21.074 ******** 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, e5d6effe-51f9-4e26-9f7e-3a759d9dc2c9 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e5d6effe-51f9-4e26-9f7e-3a759d9dc2c9 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 16:48:46 +0000 (0:00:00.387) 0:00:21.462 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 16:48:47 +0000 (0:00:00.028) 0:00:21.490 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e5d6effe-51f9-4e26-9f7e-3a759d9dc2c9", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e5d6effe-51f9-4e26-9f7e-3a759d9dc2c9 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 16:48:47 +0000 (0:00:00.029) 0:00:21.520 ******** 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, e5d6effe-51f9-4e26-9f7e-3a759d9dc2c9\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e5d6effe-51f9-4e26-9f7e-3a759d9dc2c9 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e5d6effe-51f9-4e26-9f7e-3a759d9dc2c9", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e5d6effe-51f9-4e26-9f7e-3a759d9dc2c9 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 16:48:47 +0000 (0:00:00.025) 0:00:21.545 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 16:48:47 +0000 (0:00:00.049) 0:00:21.595 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:108 Wednesday 24 July 2024 16:48:47 +0000 (0:00:00.148) 0:00:21.744 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 16:48:47 +0000 (0:00:00.054) 0:00:21.798 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 16:48:47 +0000 (0:00:00.030) 0:00:21.829 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721839726.8615441, "block_size": 4096, "blocks": 0, "ctime": 1721839722.9576821, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17725, "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": 1721839722.9576821, "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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 16:48:47 +0000 (0:00:00.138) 0:00:21.967 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 24 July 2024 16:48:47 +0000 (0:00:00.021) 0:00:21.989 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 16:48:47 +0000 (0:00:00.051) 0:00:22.041 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 16:48:47 +0000 (0:00:00.032) 0:00:22.073 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 16:48:47 +0000 (0:00:00.021) 0:00:22.095 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721839726.9745402, "block_size": 4096, "blocks": 8, "ctime": 1721839726.9075425, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22508, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721839726.9075425, "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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 16:48:47 +0000 (0:00:00.220) 0:00:22.316 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 16:48:47 +0000 (0:00:00.034) 0:00:22.350 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.026976", "end": "2024-07-24 16:48:48.037111", "rc": 0, "start": "2024-07-24 16:48:48.010135" } 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.174) 0:00:22.525 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.024) 0:00:22.549 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.023) 0:00:22.572 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.021) 0:00:22.593 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.020) 0:00:22.614 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.021) 0:00:22.636 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.023) 0:00:22.659 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.023) 0:00:22.683 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:114 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.040) 0:00:22.723 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003875", "end": "2024-07-24 16:48:48.378398", "rc": 0, "start": "2024-07-24 16:48:48.374523" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.57 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-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:118 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.142) 0:00:22.866 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:123 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.024) 0:00:22.890 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003750", "end": "2024-07-24 16:48:48.549413", "rc": 0, "start": "2024-07-24 16:48:48.545663" } 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-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:127 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.146) 0:00:23.036 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:133 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.024) 0:00:23.061 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.021) 0:00:23.082 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/.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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.037) 0:00:23.120 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.047) 0:00:23.167 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.070) 0:00:23.238 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 16:48:48 +0000 (0:00:00.109) 0:00:23.348 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 16:48:49 +0000 (0:00:00.761) 0:00:24.110 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 16:48:50 +0000 (0:00:00.963) 0:00:25.073 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 16:48:50 +0000 (0:00:00.059) 0:00:25.133 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 16:48:50 +0000 (0:00:00.029) 0:00:25.162 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 16:48:50 +0000 (0:00:00.023) 0:00:25.186 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 16:48:50 +0000 (0:00:00.055) 0:00:25.241 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' or ansible_distribution_major_version | int > 7", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 16:48:50 +0000 (0:00:00.042) 0:00:25.283 ******** 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 : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 16:48:50 +0000 (0:00:00.042) 0:00:25.326 ******** 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 : Install packages] ******************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 16:48:50 +0000 (0:00:00.037) 0:00:25.364 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 16:48:50 +0000 (0:00:00.062) 0:00:25.426 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 16:48:50 +0000 (0:00:00.033) 0:00:25.460 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 16:48:51 +0000 (0:00:00.067) 0:00:25.528 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 16:48:51 +0000 (0:00:00.076) 0:00:25.604 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 16:48:51 +0000 (0:00:00.277) 0:00:25.881 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 16:48:51 +0000 (0:00:00.042) 0:00:25.924 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 16:48:51 +0000 (0:00:00.020) 0:00:25.944 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 16:48:51 +0000 (0:00:00.087) 0:00:26.032 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 16:48:52 +0000 (0:00:00.490) 0:00:26.522 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 16:48:52 +0000 (0:00:00.024) 0:00:26.547 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 16:48:52 +0000 (0:00:00.063) 0:00:26.611 ******** 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-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 16:48:52 +0000 (0:00:00.032) 0:00:26.644 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 16:48:52 +0000 (0:00:00.044) 0:00:26.688 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:145 Wednesday 24 July 2024 16:48:52 +0000 (0:00:00.171) 0:00:26.859 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 16:48:52 +0000 (0:00:00.065) 0:00:26.925 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 16:48:52 +0000 (0:00:00.026) 0:00:26.951 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 16:48:52 +0000 (0:00:00.038) 0:00:26.990 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 16:48:52 +0000 (0:00:00.036) 0:00:27.027 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 16:48:52 +0000 (0:00:00.032) 0:00:27.059 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003673", "end": "2024-07-24 16:48:52.711025", "rc": 0, "start": "2024-07-24 16:48:52.707352" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 16:48:52 +0000 (0:00:00.142) 0:00:27.202 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 16:48:52 +0000 (0:00:00.026) 0:00:27.228 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 16:48:52 +0000 (0:00:00.024) 0:00:27.253 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 16:48:53 +0000 (0:00:00.376) 0:00:27.629 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 16:48:53 +0000 (0:00:00.026) 0:00:27.656 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 16:48:53 +0000 (0:00:00.020) 0:00:27.677 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012269", "end": "2024-07-24 16:48:53.338058", "rc": 0, "start": "2024-07-24 16:48:53.325789" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 16:48:53 +0000 (0:00:00.167) 0:00:27.844 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 16:48:53 +0000 (0:00:00.033) 0:00:27.878 ******** 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-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 16:48:53 +0000 (0:00:00.034) 0:00:27.912 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 16:48:53 +0000 (0:00:00.059) 0:00:27.972 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 24 July 2024 16:48:53 +0000 (0:00:00.027) 0:00:27.999 ******** included: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 24 July 2024 16:48:53 +0000 (0:00:00.091) 0:00:28.091 ******** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007742", "end": "2024-07-24 16:48:53.753452", "rc": 0, "start": "2024-07-24 16:48:53.745710" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:d9:72:30:d9:8d brd ff:ff:ff:ff:ff:ff inet 10.31.44.57/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 2274sec preferred_lft 2274sec inet6 fe80::d9:72ff:fe30:d98d/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.57 metric 100 IP -6 ROUTE 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 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 eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 24 July 2024 16:48:53 +0000 (0:00:00.148) 0:00:28.240 ******** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.636446", "end": "2024-07-24 16:48:54.546798", "rc": 0, "start": "2024-07-24 16:48:53.910352" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1326 0 --:--:-- --:--:-- --:--:-- 1326 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 756 0 --:--:-- --:--:-- --:--:-- 757 PLAY RECAP ********************************************************************* sut : ok=133 changed=4 unreachable=0 failed=0 skipped=113 rescued=0 ignored=0 Wednesday 24 July 2024 16:48:54 +0000 (0:00:00.870) 0:00:29.111 ******** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.25s /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.03s /WORKDIR/git-fix-templating-warnings70lgwi_u/.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.99s /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /WORKDIR/git-fix-templating-warnings70lgwi_u/.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.89s /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Verify DNS and network connectivity ------------------------------------- 0.87s /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/check_network_dns.yml:24 Gathering Facts --------------------------------------------------------- 0.85s /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/tests_auto_gateway_nm.yml:6 fedora.linux_system_roles.network : Check which services are running ---- 0.78s /WORKDIR/git-fix-templating-warnings70lgwi_u/.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.77s /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.76s /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.66s /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Gathering Facts --------------------------------------------------------- 0.52s /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tests_auto_gateway.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.49s /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Create veth interface veth0 --------------------------------------------- 0.49s /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.46s /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Install yum-utils package ----------------------------------------------- 0.45s /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/tasks/enable_epel.yml:24 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.43s /WORKDIR/git-fix-templating-warnings70lgwi_u/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Create veth interface veth0 --------------------------------------------- 0.42s /WORKDIR/git-fix-templating-warnings70lgwi_u/tests/playbooks/tasks/manage_test_interface.yml:27 Install iproute --------------------------------------------------------- 0.39s /WORKDIR/git-fix-templating-warnings70lgwi_u/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. ---^---^---^---^---^---