# 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-weekly-cihny4ehgq/.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-weekly-cihny4ehgq/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-weekly-cihny4ehgq/tests/tests_auto_gateway_nm.yml:5 Saturday 09 December 2023 13:44:32 +0000 (0:00:00.018) 0:00:00.018 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cihny4ehgq/tests/tests_auto_gateway_nm.yml:9 Saturday 09 December 2023 13:44:33 +0000 (0:00:00.950) 0:00:00.968 ***** included: /WORKDIR/git-weekly-cihny4ehgq/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-weekly-cihny4ehgq/tests/tasks/el_repo_setup.yml:3 Saturday 09 December 2023 13:44:33 +0000 (0:00:00.028) 0:00:00.997 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/tasks/el_repo_setup.yml:17 Saturday 09 December 2023 13:44:33 +0000 (0:00:00.283) 0:00:01.280 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/tasks/el_repo_setup.yml:22 Saturday 09 December 2023 13:44:34 +0000 (0:00:00.221) 0:00:01.502 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/tasks/el_repo_setup.yml:26 Saturday 09 December 2023 13:44:34 +0000 (0:00:00.017) 0:00:01.520 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/tasks/el_repo_setup.yml:51 Saturday 09 December 2023 13:44:34 +0000 (0:00:00.015) 0:00:01.535 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/tasks/enable_epel.yml:8 Saturday 09 December 2023 13:44:34 +0000 (0:00:00.040) 0:00:01.576 ***** 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-weekly-cihny4ehgq/tests/tasks/enable_epel.yml:24 Saturday 09 December 2023 13:44:34 +0000 (0:00:00.456) 0:00:02.033 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/tasks/enable_epel.yml:30 Saturday 09 December 2023 13:44:35 +0000 (0:00:00.706) 0:00:02.739 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.195720", "end": "2023-12-09 13:44:35.728455", "rc": 0, "start": "2023-12-09 13:44:35.532735" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/tasks/enable_epel.yml:35 Saturday 09 December 2023 13:44:35 +0000 (0:00:00.405) 0:00:03.145 ***** 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-weekly-cihny4ehgq/tests/tasks/enable_epel.yml:40 Saturday 09 December 2023 13:44:35 +0000 (0:00:00.009) 0:00:03.155 ***** 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-weekly-cihny4ehgq/tests/tests_auto_gateway_nm.yml:11 Saturday 09 December 2023 13:44:35 +0000 (0:00:00.012) 0:00:03.167 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:3 Saturday 09 December 2023 13:44:35 +0000 (0:00:00.023) 0:00:03.191 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:9 Saturday 09 December 2023 13:44:36 +0000 (0:00:00.540) 0:00:03.732 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:44:36 +0000 (0:00:00.029) 0:00:03.762 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:44:36 +0000 (0:00:00.019) 0:00:03.781 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003894", "end": "2023-12-09 13:44:36.538815", "rc": 0, "start": "2023-12-09 13:44:36.534921" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:44:36 +0000 (0:00:00.185) 0:00:03.966 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:44:36 +0000 (0:00:00.020) 0:00:03.987 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:11 Saturday 09 December 2023 13:44:36 +0000 (0:00:00.017) 0:00:04.004 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 09 December 2023 13:44:36 +0000 (0:00:00.064) 0:00:04.068 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 09 December 2023 13:44:36 +0000 (0:00:00.047) 0:00:04.116 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 09 December 2023 13:44:36 +0000 (0:00:00.017) 0:00:04.133 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:44:36 +0000 (0:00:00.032) 0:00:04.166 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:44:36 +0000 (0:00:00.018) 0:00:04.184 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003642", "end": "2023-12-09 13:44:36.921546", "rc": 0, "start": "2023-12-09 13:44:36.917904" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:44:36 +0000 (0:00:00.163) 0:00:04.348 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:44:36 +0000 (0:00:00.016) 0:00:04.364 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 09 December 2023 13:44:36 +0000 (0:00:00.032) 0:00:04.397 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:23 Saturday 09 December 2023 13:44:37 +0000 (0:00:00.403) 0:00:04.801 ***** 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.010329", "end": "2023-12-09 13:44:37.599670", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-09 13:44:37.589341" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.006257", "end": "2023-12-09 13:44:37.762112", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-09 13:44:37.755855" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.006836", "end": "2023-12-09 13:44:37.914963", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-09 13:44:37.908127" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:31 Saturday 09 December 2023 13:44:37 +0000 (0:00:00.547) 0:00:05.348 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024237", "end": "2023-12-09 13:44:38.108360", "rc": 0, "start": "2023-12-09 13:44:38.084123" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:39 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.174) 0:00:05.522 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:45 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.010) 0:00:05.533 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:50 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.010) 0:00:05.544 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:56 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.009) 0:00:05.553 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.010) 0:00:05.564 ***** 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-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:15 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.009) 0:00:05.574 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.027) 0:00:05.601 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.017) 0:00:05.619 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702129477.6051936, "block_size": 4096, "blocks": 0, "ctime": 1702129477.6051936, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17555, "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": 1702129477.6051936, "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-weekly-cihny4ehgq/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.174) 0:00:05.793 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:17 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.039) 0:00:05.833 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.029) 0:00:05.862 ***** included: /WORKDIR/git-weekly-cihny4ehgq/.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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.044) 0:00:05.907 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.054) 0:00:05.961 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.025) 0:00:05.987 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 09 December 2023 13:44:38 +0000 (0:00:00.037) 0:00:06.024 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 09 December 2023 13:44:39 +0000 (0:00:01.141) 0:00:07.166 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 09 December 2023 13:44:40 +0000 (0:00:00.946) 0:00:08.112 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 09 December 2023 13:44:40 +0000 (0:00:00.095) 0:00:08.207 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 09 December 2023 13:44:40 +0000 (0:00:00.056) 0:00:08.263 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 09 December 2023 13:44:40 +0000 (0:00:00.035) 0:00:08.299 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 09 December 2023 13:44:41 +0000 (0:00:00.118) 0:00:08.417 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 09 December 2023 13:44:41 +0000 (0:00:00.064) 0:00:08.482 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 09 December 2023 13:44:41 +0000 (0:00:00.080) 0:00:08.563 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 09 December 2023 13:44:41 +0000 (0:00:00.103) 0:00:08.666 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 09 December 2023 13:44:42 +0000 (0:00:01.009) 0:00:09.676 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 09 December 2023 13:44:42 +0000 (0:00:00.082) 0:00:09.759 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 09 December 2023 13:44:42 +0000 (0:00:00.120) 0:00:09.879 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 09 December 2023 13:44:42 +0000 (0:00:00.056) 0:00:09.936 ***** 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, ff869966-e6ce-44c8-a19a-e0e9e6cc6c79 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ff869966-e6ce-44c8-a19a-e0e9e6cc6c79 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 09 December 2023 13:44:43 +0000 (0:00:00.879) 0:00:10.816 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 09 December 2023 13:44:43 +0000 (0:00:00.097) 0:00:10.913 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, ff869966-e6ce-44c8-a19a-e0e9e6cc6c79", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ff869966-e6ce-44c8-a19a-e0e9e6cc6c79 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 09 December 2023 13:44:43 +0000 (0:00:00.092) 0:00:11.006 ***** 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, ff869966-e6ce-44c8-a19a-e0e9e6cc6c79\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ff869966-e6ce-44c8-a19a-e0e9e6cc6c79 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, ff869966-e6ce-44c8-a19a-e0e9e6cc6c79", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ff869966-e6ce-44c8-a19a-e0e9e6cc6c79 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 09 December 2023 13:44:43 +0000 (0:00:00.098) 0:00:11.105 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 09 December 2023 13:44:43 +0000 (0:00:00.044) 0:00:11.149 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:42 Saturday 09 December 2023 13:44:44 +0000 (0:00:00.385) 0:00:11.534 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:44:44 +0000 (0:00:00.076) 0:00:11.611 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:44:44 +0000 (0:00:00.043) 0:00:11.655 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702129478.3581748, "block_size": 4096, "blocks": 0, "ctime": 1702129477.6051936, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17555, "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": 1702129477.6051936, "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-weekly-cihny4ehgq/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:44:44 +0000 (0:00:00.185) 0:00:11.840 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:44 Saturday 09 December 2023 13:44:44 +0000 (0:00:00.042) 0:00:11.882 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 09 December 2023 13:44:44 +0000 (0:00:00.109) 0:00:11.991 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:44:44 +0000 (0:00:00.036) 0:00:12.028 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:44:44 +0000 (0:00:00.054) 0:00:12.082 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702129483.33905, "block_size": 4096, "blocks": 8, "ctime": 1702129483.2290528, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427527, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702129483.2290528, "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-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:44:44 +0000 (0:00:00.157) 0:00:12.240 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:44:44 +0000 (0:00:00.078) 0:00:12.318 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.026718", "end": "2023-12-09 13:44:45.082342", "rc": 0, "start": "2023-12-09 13:44:45.055624" } 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-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:44:45 +0000 (0:00:00.213) 0:00:12.531 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:44:45 +0000 (0:00:00.025) 0:00:12.557 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:44:45 +0000 (0:00:00.045) 0:00:12.602 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:44:45 +0000 (0:00:00.029) 0:00:12.631 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:44:45 +0000 (0:00:00.027) 0:00:12.659 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 09 December 2023 13:44:45 +0000 (0:00:00.020) 0:00:12.679 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 09 December 2023 13:44:45 +0000 (0:00:00.032) 0:00:12.712 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 09 December 2023 13:44:45 +0000 (0:00:00.021) 0:00:12.734 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:48 Saturday 09 December 2023 13:44:45 +0000 (0:00:00.021) 0:00:12.755 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003935", "end": "2023-12-09 13:44:45.482892", "rc": 0, "start": "2023-12-09 13:44:45.478957" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.222 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-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:52 Saturday 09 December 2023 13:44:45 +0000 (0:00:00.170) 0:00:12.925 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:58 Saturday 09 December 2023 13:44:45 +0000 (0:00:00.042) 0:00:12.968 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003904", "end": "2023-12-09 13:44:45.744150", "rc": 0, "start": "2023-12-09 13:44:45.740246" } 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-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:62 Saturday 09 December 2023 13:44:45 +0000 (0:00:00.228) 0:00:13.197 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:69 Saturday 09 December 2023 13:44:45 +0000 (0:00:00.073) 0:00:13.270 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 09 December 2023 13:44:45 +0000 (0:00:00.038) 0:00:13.309 ***** included: /WORKDIR/git-weekly-cihny4ehgq/.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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:44:46 +0000 (0:00:00.181) 0:00:13.491 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 09 December 2023 13:44:46 +0000 (0:00:00.063) 0:00:13.554 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 09 December 2023 13:44:46 +0000 (0:00:00.042) 0:00:13.597 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 09 December 2023 13:44:46 +0000 (0:00:00.059) 0:00:13.657 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 09 December 2023 13:44:47 +0000 (0:00:00.838) 0:00:14.496 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 09 December 2023 13:44:47 +0000 (0:00:00.767) 0:00:15.264 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 09 December 2023 13:44:47 +0000 (0:00:00.109) 0:00:15.373 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 09 December 2023 13:44:48 +0000 (0:00:00.098) 0:00:15.472 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 09 December 2023 13:44:48 +0000 (0:00:00.070) 0:00:15.542 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 09 December 2023 13:44:48 +0000 (0:00:00.148) 0:00:15.691 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 09 December 2023 13:44:48 +0000 (0:00:00.034) 0:00:15.726 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 09 December 2023 13:44:48 +0000 (0:00:00.083) 0:00:15.809 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 09 December 2023 13:44:48 +0000 (0:00:00.096) 0:00:15.906 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 09 December 2023 13:44:48 +0000 (0:00:00.434) 0:00:16.340 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 09 December 2023 13:44:49 +0000 (0:00:00.110) 0:00:16.451 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 09 December 2023 13:44:49 +0000 (0:00:00.075) 0:00:16.526 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 09 December 2023 13:44:49 +0000 (0:00:00.085) 0:00:16.611 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 09 December 2023 13:44:49 +0000 (0:00:00.445) 0:00:17.057 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 09 December 2023 13:44:49 +0000 (0:00:00.080) 0:00:17.137 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 09 December 2023 13:44:49 +0000 (0:00:00.157) 0:00:17.294 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 09 December 2023 13:44:49 +0000 (0:00:00.076) 0:00:17.371 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 09 December 2023 13:44:50 +0000 (0:00:00.070) 0:00:17.442 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:81 Saturday 09 December 2023 13:44:50 +0000 (0:00:00.291) 0:00:17.733 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 09 December 2023 13:44:50 +0000 (0:00:00.107) 0:00:17.840 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 09 December 2023 13:44:50 +0000 (0:00:00.078) 0:00:17.918 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 09 December 2023 13:44:50 +0000 (0:00:00.020) 0:00:17.939 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:44:50 +0000 (0:00:00.055) 0:00:17.995 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:44:50 +0000 (0:00:00.035) 0:00:18.030 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003892", "end": "2023-12-09 13:44:50.757061", "rc": 0, "start": "2023-12-09 13:44:50.753169" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:44:50 +0000 (0:00:00.153) 0:00:18.184 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:44:50 +0000 (0:00:00.023) 0:00:18.207 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 09 December 2023 13:44:50 +0000 (0:00:00.075) 0:00:18.283 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:23 Saturday 09 December 2023 13:44:51 +0000 (0:00:00.644) 0:00:18.927 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:31 Saturday 09 December 2023 13:44:51 +0000 (0:00:00.073) 0:00:19.000 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:39 Saturday 09 December 2023 13:44:51 +0000 (0:00:00.039) 0:00:19.040 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013039", "end": "2023-12-09 13:44:51.833629", "rc": 0, "start": "2023-12-09 13:44:51.820590" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:45 Saturday 09 December 2023 13:44:51 +0000 (0:00:00.227) 0:00:19.267 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:50 Saturday 09 December 2023 13:44:51 +0000 (0:00:00.044) 0:00:19.311 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:56 Saturday 09 December 2023 13:44:51 +0000 (0:00:00.029) 0:00:19.340 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 09 December 2023 13:44:51 +0000 (0:00:00.044) 0:00:19.385 ***** 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-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:85 Saturday 09 December 2023 13:44:52 +0000 (0:00:00.024) 0:00:19.410 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:89 Saturday 09 December 2023 13:44:52 +0000 (0:00:00.023) 0:00:19.434 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 09 December 2023 13:44:52 +0000 (0:00:00.066) 0:00:19.500 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 09 December 2023 13:44:52 +0000 (0:00:00.110) 0:00:19.611 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 09 December 2023 13:44:52 +0000 (0:00:00.093) 0:00:19.705 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:44:52 +0000 (0:00:00.239) 0:00:19.944 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:44:52 +0000 (0:00:00.073) 0:00:20.017 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003853", "end": "2023-12-09 13:44:52.794329", "rc": 0, "start": "2023-12-09 13:44:52.790476" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:44:52 +0000 (0:00:00.202) 0:00:20.220 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:44:52 +0000 (0:00:00.055) 0:00:20.275 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 09 December 2023 13:44:52 +0000 (0:00:00.116) 0:00:20.391 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:23 Saturday 09 December 2023 13:44:53 +0000 (0:00:00.415) 0:00:20.807 ***** 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.012398", "end": "2023-12-09 13:44:53.567145", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-09 13:44:53.554747" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.006098", "end": "2023-12-09 13:44:53.702560", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-09 13:44:53.696462" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007518", "end": "2023-12-09 13:44:53.846012", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-09 13:44:53.838494" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:31 Saturday 09 December 2023 13:44:53 +0000 (0:00:00.497) 0:00:21.305 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024394", "end": "2023-12-09 13:44:54.080825", "rc": 0, "start": "2023-12-09 13:44:54.056431" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:39 Saturday 09 December 2023 13:44:54 +0000 (0:00:00.218) 0:00:21.523 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:45 Saturday 09 December 2023 13:44:54 +0000 (0:00:00.036) 0:00:21.559 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:50 Saturday 09 December 2023 13:44:54 +0000 (0:00:00.020) 0:00:21.579 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:56 Saturday 09 December 2023 13:44:54 +0000 (0:00:00.045) 0:00:21.625 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 09 December 2023 13:44:54 +0000 (0:00:00.044) 0:00:21.669 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 09 December 2023 13:44:54 +0000 (0:00:00.050) 0:00:21.719 ***** included: /WORKDIR/git-weekly-cihny4ehgq/.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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:44:54 +0000 (0:00:00.035) 0:00:21.755 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 09 December 2023 13:44:54 +0000 (0:00:00.044) 0:00:21.800 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 09 December 2023 13:44:54 +0000 (0:00:00.031) 0:00:21.831 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 09 December 2023 13:44:54 +0000 (0:00:00.029) 0:00:21.860 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 09 December 2023 13:44:55 +0000 (0:00:00.822) 0:00:22.683 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 09 December 2023 13:44:56 +0000 (0:00:00.740) 0:00:23.423 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 09 December 2023 13:44:56 +0000 (0:00:00.042) 0:00:23.465 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 09 December 2023 13:44:56 +0000 (0:00:00.214) 0:00:23.680 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 09 December 2023 13:44:56 +0000 (0:00:00.060) 0:00:23.740 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 09 December 2023 13:44:56 +0000 (0:00:00.102) 0:00:23.843 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 09 December 2023 13:44:56 +0000 (0:00:00.054) 0:00:23.898 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 09 December 2023 13:44:56 +0000 (0:00:00.039) 0:00:23.937 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 09 December 2023 13:44:56 +0000 (0:00:00.073) 0:00:24.010 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 09 December 2023 13:44:56 +0000 (0:00:00.346) 0:00:24.357 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 09 December 2023 13:44:57 +0000 (0:00:00.058) 0:00:24.415 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 09 December 2023 13:44:57 +0000 (0:00:00.031) 0:00:24.447 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 09 December 2023 13:44:57 +0000 (0:00:00.039) 0:00:24.486 ***** 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, 5a35ba06-800b-4cfb-8474-6ed2ff139408 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 5a35ba06-800b-4cfb-8474-6ed2ff139408 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 09 December 2023 13:44:57 +0000 (0:00:00.381) 0:00:24.867 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 09 December 2023 13:44:57 +0000 (0:00:00.058) 0:00:24.926 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 5a35ba06-800b-4cfb-8474-6ed2ff139408", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 5a35ba06-800b-4cfb-8474-6ed2ff139408 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 09 December 2023 13:44:57 +0000 (0:00:00.093) 0:00:25.019 ***** 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, 5a35ba06-800b-4cfb-8474-6ed2ff139408\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 5a35ba06-800b-4cfb-8474-6ed2ff139408 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 5a35ba06-800b-4cfb-8474-6ed2ff139408", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 5a35ba06-800b-4cfb-8474-6ed2ff139408 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 09 December 2023 13:44:57 +0000 (0:00:00.057) 0:00:25.076 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 09 December 2023 13:44:57 +0000 (0:00:00.039) 0:00:25.116 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:110 Saturday 09 December 2023 13:44:57 +0000 (0:00:00.227) 0:00:25.343 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 09 December 2023 13:44:58 +0000 (0:00:00.159) 0:00:25.503 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 09 December 2023 13:44:58 +0000 (0:00:00.135) 0:00:25.639 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702129497.3257, "block_size": 4096, "blocks": 0, "ctime": 1702129493.5667942, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17556, "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": 1702129493.5667942, "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-weekly-cihny4ehgq/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 09 December 2023 13:44:58 +0000 (0:00:00.166) 0:00:25.805 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:112 Saturday 09 December 2023 13:44:58 +0000 (0:00:00.024) 0:00:25.829 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 09 December 2023 13:44:58 +0000 (0:00:00.068) 0:00:25.898 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 09 December 2023 13:44:58 +0000 (0:00:00.070) 0:00:25.969 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 09 December 2023 13:44:58 +0000 (0:00:00.024) 0:00:25.993 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702129497.4116979, "block_size": 4096, "blocks": 8, "ctime": 1702129497.364699, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427529, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702129497.364699, "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-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 09 December 2023 13:44:58 +0000 (0:00:00.143) 0:00:26.137 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 09 December 2023 13:44:58 +0000 (0:00:00.022) 0:00:26.159 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024477", "end": "2023-12-09 13:44:58.949596", "rc": 0, "start": "2023-12-09 13:44:58.925119" } 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-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 09 December 2023 13:44:58 +0000 (0:00:00.222) 0:00:26.382 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.025) 0:00:26.407 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.031) 0:00:26.438 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.044) 0:00:26.482 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.021) 0:00:26.504 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.022) 0:00:26.526 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.039) 0:00:26.565 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.023) 0:00:26.589 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:116 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.034) 0:00:26.623 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003830", "end": "2023-12-09 13:44:59.391554", "rc": 0, "start": "2023-12-09 13:44:59.387724" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.222 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-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:120 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.257) 0:00:26.881 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:126 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.022) 0:00:26.903 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004021", "end": "2023-12-09 13:44:59.622256", "rc": 0, "start": "2023-12-09 13:44:59.618235" } 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-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:130 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.168) 0:00:27.072 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:137 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.036) 0:00:27.108 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.022) 0:00:27.130 ***** included: /WORKDIR/git-weekly-cihny4ehgq/.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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.061) 0:00:27.192 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.052) 0:00:27.245 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.033) 0:00:27.278 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 09 December 2023 13:44:59 +0000 (0:00:00.038) 0:00:27.317 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 09 December 2023 13:45:00 +0000 (0:00:00.854) 0:00:28.171 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 09 December 2023 13:45:01 +0000 (0:00:00.756) 0:00:28.927 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 09 December 2023 13:45:01 +0000 (0:00:00.024) 0:00:28.952 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 09 December 2023 13:45:01 +0000 (0:00:00.073) 0:00:29.025 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 09 December 2023 13:45:01 +0000 (0:00:00.027) 0:00:29.053 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 09 December 2023 13:45:01 +0000 (0:00:00.073) 0:00:29.126 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 09 December 2023 13:45:01 +0000 (0:00:00.030) 0:00:29.157 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 09 December 2023 13:45:01 +0000 (0:00:00.073) 0:00:29.230 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 09 December 2023 13:45:01 +0000 (0:00:00.036) 0:00:29.266 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 09 December 2023 13:45:02 +0000 (0:00:00.270) 0:00:29.537 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 09 December 2023 13:45:02 +0000 (0:00:00.072) 0:00:29.609 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 09 December 2023 13:45:02 +0000 (0:00:00.040) 0:00:29.650 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 09 December 2023 13:45:02 +0000 (0:00:00.072) 0:00:29.722 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 09 December 2023 13:45:02 +0000 (0:00:00.616) 0:00:30.339 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 09 December 2023 13:45:03 +0000 (0:00:00.102) 0:00:30.441 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 09 December 2023 13:45:03 +0000 (0:00:00.047) 0:00:30.489 ***** 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-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 09 December 2023 13:45:03 +0000 (0:00:00.033) 0:00:30.523 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 09 December 2023 13:45:03 +0000 (0:00:00.046) 0:00:30.569 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:149 Saturday 09 December 2023 13:45:03 +0000 (0:00:00.242) 0:00:30.812 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 09 December 2023 13:45:03 +0000 (0:00:00.153) 0:00:30.966 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 09 December 2023 13:45:03 +0000 (0:00:00.062) 0:00:31.029 ***** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 09 December 2023 13:45:03 +0000 (0:00:00.056) 0:00:31.085 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 09 December 2023 13:45:03 +0000 (0:00:00.055) 0:00:31.141 ***** included: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 09 December 2023 13:45:04 +0000 (0:00:00.265) 0:00:31.406 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003796", "end": "2023-12-09 13:45:04.179757", "rc": 0, "start": "2023-12-09 13:45:04.175961" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 09 December 2023 13:45:04 +0000 (0:00:00.210) 0:00:31.617 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 09 December 2023 13:45:04 +0000 (0:00:00.072) 0:00:31.690 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 09 December 2023 13:45:04 +0000 (0:00:00.064) 0:00:31.754 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } lsrpackages: iproute TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:23 Saturday 09 December 2023 13:45:04 +0000 (0:00:00.523) 0:00:32.277 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:31 Saturday 09 December 2023 13:45:04 +0000 (0:00:00.064) 0:00:32.342 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:39 Saturday 09 December 2023 13:45:04 +0000 (0:00:00.035) 0:00:32.377 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010924", "end": "2023-12-09 13:45:05.117878", "rc": 0, "start": "2023-12-09 13:45:05.106954" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:45 Saturday 09 December 2023 13:45:05 +0000 (0:00:00.183) 0:00:32.561 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:50 Saturday 09 December 2023 13:45:05 +0000 (0:00:00.031) 0:00:32.593 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:56 Saturday 09 December 2023 13:45:05 +0000 (0:00:00.023) 0:00:32.616 ***** 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-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:61 Saturday 09 December 2023 13:45:05 +0000 (0:00:00.037) 0:00:32.654 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=130 changed=4 unreachable=0 failed=0 skipped=97 rescued=0 ignored=0 Saturday 09 December 2023 13:45:05 +0000 (0:00:00.050) 0:00:32.705 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.14s /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.01s /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Gathering Facts --------------------------------------------------------- 0.95s /WORKDIR/git-weekly-cihny4ehgq/tests/tests_auto_gateway_nm.yml:5 -------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.88s /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Check which services are running ---- 0.85s /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.84s /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.82s /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.77s /WORKDIR/git-weekly-cihny4ehgq/.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.76s /WORKDIR/git-weekly-cihny4ehgq/.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.74s /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install yum-utils package ----------------------------------------------- 0.71s /WORKDIR/git-weekly-cihny4ehgq/tests/tasks/enable_epel.yml:24 ----------------- Install iproute --------------------------------------------------------- 0.64s /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.62s /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Create veth interface veth0 --------------------------------------------- 0.55s /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.54s /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tests_auto_gateway.yml:3 ------- Install iproute --------------------------------------------------------- 0.52s /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:16 Create veth interface veth0 --------------------------------------------- 0.50s /WORKDIR/git-weekly-cihny4ehgq/tests/playbooks/tasks/manage_test_interface.yml:23 Create EPEL 7 ----------------------------------------------------------- 0.46s /WORKDIR/git-weekly-cihny4ehgq/tests/tasks/enable_epel.yml:8 ------------------ fedora.linux_system_roles.network : Configure networking connection profiles --- 0.45s /WORKDIR/git-weekly-cihny4ehgq/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---