# 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-test_network_state_fixhanloczc/.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-test_network_state_fixhanloczc/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-test_network_state_fixhanloczc/tests/tests_auto_gateway_nm.yml:5 Monday 27 November 2023 17:43:46 +0000 (0:00:00.030) 0:00:00.030 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/tests_auto_gateway_nm.yml:9 Monday 27 November 2023 17:43:47 +0000 (0:00:00.840) 0:00:00.871 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/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-test_network_state_fixhanloczc/tests/tasks/el_repo_setup.yml:3 Monday 27 November 2023 17:43:47 +0000 (0:00:00.028) 0:00:00.900 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/tasks/el_repo_setup.yml:20 Monday 27 November 2023 17:43:47 +0000 (0:00:00.255) 0:00:01.155 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set package manager to use for ostree] *********************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/tasks/el_repo_setup.yml:25 Monday 27 November 2023 17:43:48 +0000 (0:00:00.239) 0:00:01.395 ******* skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/tasks/el_repo_setup.yml:32 Monday 27 November 2023 17:43:48 +0000 (0:00:00.026) 0:00:01.421 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/tasks/el_repo_setup.yml:57 Monday 27 November 2023 17:43:48 +0000 (0:00:00.012) 0:00:01.434 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/tasks/enable_epel.yml:8 Monday 27 November 2023 17:43:48 +0000 (0:00:00.023) 0:00:01.457 ******* 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-test_network_state_fixhanloczc/tests/tasks/enable_epel.yml:24 Monday 27 November 2023 17:43:48 +0000 (0:00:00.259) 0:00:01.716 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/tasks/enable_epel.yml:30 Monday 27 November 2023 17:43:49 +0000 (0:00:00.674) 0:00:02.391 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.183468", "end": "2023-11-27 17:43:49.447759", "rc": 0, "start": "2023-11-27 17:43:49.264291" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/tasks/enable_epel.yml:35 Monday 27 November 2023 17:43:49 +0000 (0:00:00.356) 0:00:02.747 ******* 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-test_network_state_fixhanloczc/tests/tasks/enable_epel.yml:40 Monday 27 November 2023 17:43:49 +0000 (0:00:00.017) 0:00:02.765 ******* 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-test_network_state_fixhanloczc/tests/tests_auto_gateway_nm.yml:11 Monday 27 November 2023 17:43:49 +0000 (0:00:00.022) 0:00:02.788 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:3 Monday 27 November 2023 17:43:49 +0000 (0:00:00.061) 0:00:02.849 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:9 Monday 27 November 2023 17:43:50 +0000 (0:00:00.546) 0:00:03.396 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/show_interfaces.yml:3 Monday 27 November 2023 17:43:50 +0000 (0:00:00.082) 0:00:03.478 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 27 November 2023 17:43:50 +0000 (0:00:00.027) 0:00:03.506 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003814", "end": "2023-11-27 17:43:50.425609", "rc": 0, "start": "2023-11-27 17:43:50.421795" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 27 November 2023 17:43:50 +0000 (0:00:00.211) 0:00:03.717 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/show_interfaces.yml:5 Monday 27 November 2023 17:43:50 +0000 (0:00:00.036) 0:00:03.753 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:11 Monday 27 November 2023 17:43:50 +0000 (0:00:00.080) 0:00:03.834 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 27 November 2023 17:43:50 +0000 (0:00:00.115) 0:00:03.950 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 27 November 2023 17:43:50 +0000 (0:00:00.015) 0:00:03.965 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 27 November 2023 17:43:50 +0000 (0:00:00.019) 0:00:03.985 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/show_interfaces.yml:3 Monday 27 November 2023 17:43:50 +0000 (0:00:00.036) 0:00:04.022 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 27 November 2023 17:43:50 +0000 (0:00:00.039) 0:00:04.061 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003893", "end": "2023-11-27 17:43:50.928200", "rc": 0, "start": "2023-11-27 17:43:50.924307" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 27 November 2023 17:43:50 +0000 (0:00:00.174) 0:00:04.235 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/show_interfaces.yml:5 Monday 27 November 2023 17:43:51 +0000 (0:00:00.051) 0:00:04.287 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 27 November 2023 17:43:51 +0000 (0:00:00.070) 0:00:04.358 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:22 Monday 27 November 2023 17:43:51 +0000 (0:00:00.407) 0:00:04.765 ******* 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.012064", "end": "2023-11-27 17:43:51.677204", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-27 17:43:51.665140" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003721", "end": "2023-11-27 17:43:51.821629", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-27 17:43:51.817908" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003604", "end": "2023-11-27 17:43:51.976028", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-27 17:43:51.972424" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:30 Monday 27 November 2023 17:43:52 +0000 (0:00:00.515) 0:00:05.281 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024380", "end": "2023-11-27 17:43:52.167230", "rc": 0, "start": "2023-11-27 17:43:52.142850" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:38 Monday 27 November 2023 17:43:52 +0000 (0:00:00.198) 0:00:05.479 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:44 Monday 27 November 2023 17:43:52 +0000 (0:00:00.021) 0:00:05.501 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 27 November 2023 17:43:52 +0000 (0:00:00.031) 0:00:05.532 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:55 Monday 27 November 2023 17:43:52 +0000 (0:00:00.025) 0:00:05.557 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 27 November 2023 17:43:52 +0000 (0:00:00.051) 0:00:05.609 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:15 Monday 27 November 2023 17:43:52 +0000 (0:00:00.029) 0:00:05.639 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_device_present.yml:3 Monday 27 November 2023 17:43:52 +0000 (0:00:00.081) 0:00:05.720 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 27 November 2023 17:43:52 +0000 (0:00:00.025) 0:00:05.745 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1701107031.6767087, "block_size": 4096, "blocks": 0, "ctime": 1701107031.6767087, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17723, "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": 1701107031.6767087, "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-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_device_present.yml:5 Monday 27 November 2023 17:43:52 +0000 (0:00:00.144) 0:00:05.890 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:17 Monday 27 November 2023 17:43:52 +0000 (0:00:00.019) 0:00:05.909 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 27 November 2023 17:43:52 +0000 (0:00:00.018) 0:00:05.928 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/.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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 27 November 2023 17:43:52 +0000 (0:00:00.031) 0:00:05.960 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Monday 27 November 2023 17:43:52 +0000 (0:00:00.075) 0:00:06.035 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Monday 27 November 2023 17:43:52 +0000 (0:00:00.151) 0:00:06.187 ******* skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Monday 27 November 2023 17:43:52 +0000 (0:00:00.046) 0:00:06.233 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Monday 27 November 2023 17:43:53 +0000 (0:00:00.954) 0:00:07.187 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 27 November 2023 17:43:55 +0000 (0:00:01.373) 0:00:08.561 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 27 November 2023 17:43:55 +0000 (0:00:00.061) 0:00:08.622 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 27 November 2023 17:43:55 +0000 (0:00:00.038) 0:00:08.661 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 27 November 2023 17:43:55 +0000 (0:00:00.031) 0:00:08.692 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 27 November 2023 17:43:55 +0000 (0:00:00.112) 0:00:08.804 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 27 November 2023 17:43:55 +0000 (0:00:00.037) 0:00:08.842 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 27 November 2023 17:43:55 +0000 (0:00:00.039) 0:00:08.881 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 27 November 2023 17:43:55 +0000 (0:00:00.073) 0:00:08.955 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 27 November 2023 17:43:56 +0000 (0:00:00.679) 0:00:09.635 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 27 November 2023 17:43:56 +0000 (0:00:00.059) 0:00:09.694 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 27 November 2023 17:43:56 +0000 (0:00:00.030) 0:00:09.724 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 27 November 2023 17:43:56 +0000 (0:00:00.026) 0:00:09.751 ******* 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, d8067bf5-e3a9-4f88-b286-34be45faa280 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d8067bf5-e3a9-4f88-b286-34be45faa280 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 27 November 2023 17:43:57 +0000 (0:00:00.690) 0:00:10.441 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 27 November 2023 17:43:57 +0000 (0:00:00.043) 0:00:10.484 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d8067bf5-e3a9-4f88-b286-34be45faa280", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d8067bf5-e3a9-4f88-b286-34be45faa280 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 27 November 2023 17:43:57 +0000 (0:00:00.042) 0:00:10.527 ******* 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, d8067bf5-e3a9-4f88-b286-34be45faa280\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d8067bf5-e3a9-4f88-b286-34be45faa280 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d8067bf5-e3a9-4f88-b286-34be45faa280", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d8067bf5-e3a9-4f88-b286-34be45faa280 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 27 November 2023 17:43:57 +0000 (0:00:00.039) 0:00:10.567 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 27 November 2023 17:43:57 +0000 (0:00:00.030) 0:00:10.597 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:42 Monday 27 November 2023 17:43:57 +0000 (0:00:00.360) 0:00:10.958 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_device_present.yml:3 Monday 27 November 2023 17:43:57 +0000 (0:00:00.093) 0:00:11.051 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 27 November 2023 17:43:57 +0000 (0:00:00.072) 0:00:11.124 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1701107032.5986757, "block_size": 4096, "blocks": 0, "ctime": 1701107031.6767087, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17723, "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": 1701107031.6767087, "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-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_device_present.yml:5 Monday 27 November 2023 17:43:58 +0000 (0:00:00.165) 0:00:11.290 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:44 Monday 27 November 2023 17:43:58 +0000 (0:00:00.033) 0:00:11.324 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 27 November 2023 17:43:58 +0000 (0:00:00.083) 0:00:11.408 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 27 November 2023 17:43:58 +0000 (0:00:00.103) 0:00:11.511 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 27 November 2023 17:43:58 +0000 (0:00:00.030) 0:00:11.542 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1701107037.0485165, "block_size": 4096, "blocks": 8, "ctime": 1701107037.0475166, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25406, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701107037.0475166, "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-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 27 November 2023 17:43:58 +0000 (0:00:00.174) 0:00:11.716 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 27 November 2023 17:43:58 +0000 (0:00:00.070) 0:00:11.787 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.026129", "end": "2023-11-27 17:43:58.666387", "rc": 0, "start": "2023-11-27 17:43:58.640258" } 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-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 27 November 2023 17:43:58 +0000 (0:00:00.211) 0:00:11.998 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 27 November 2023 17:43:58 +0000 (0:00:00.051) 0:00:12.050 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 27 November 2023 17:43:58 +0000 (0:00:00.045) 0:00:12.095 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 27 November 2023 17:43:58 +0000 (0:00:00.042) 0:00:12.138 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 27 November 2023 17:43:58 +0000 (0:00:00.040) 0:00:12.179 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 27 November 2023 17:43:58 +0000 (0:00:00.038) 0:00:12.218 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 27 November 2023 17:43:59 +0000 (0:00:00.064) 0:00:12.282 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 27 November 2023 17:43:59 +0000 (0:00:00.044) 0:00:12.326 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:48 Monday 27 November 2023 17:43:59 +0000 (0:00:00.056) 0:00:12.383 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003984", "end": "2023-11-27 17:43:59.239343", "rc": 0, "start": "2023-11-27 17:43:59.235359" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.232 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-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:52 Monday 27 November 2023 17:43:59 +0000 (0:00:00.167) 0:00:12.550 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:58 Monday 27 November 2023 17:43:59 +0000 (0:00:00.038) 0:00:12.589 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003946", "end": "2023-11-27 17:43:59.439604", "rc": 0, "start": "2023-11-27 17:43:59.435658" } 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-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:62 Monday 27 November 2023 17:43:59 +0000 (0:00:00.152) 0:00:12.741 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:69 Monday 27 November 2023 17:43:59 +0000 (0:00:00.034) 0:00:12.776 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 27 November 2023 17:43:59 +0000 (0:00:00.032) 0:00:12.809 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/.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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 27 November 2023 17:43:59 +0000 (0:00:00.086) 0:00:12.895 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Monday 27 November 2023 17:43:59 +0000 (0:00:00.055) 0:00:12.951 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Monday 27 November 2023 17:43:59 +0000 (0:00:00.159) 0:00:13.111 ******* skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Monday 27 November 2023 17:43:59 +0000 (0:00:00.056) 0:00:13.167 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Monday 27 November 2023 17:44:00 +0000 (0:00:00.815) 0:00:13.983 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 27 November 2023 17:44:01 +0000 (0:00:00.994) 0:00:14.978 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 27 November 2023 17:44:01 +0000 (0:00:00.041) 0:00:15.020 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 27 November 2023 17:44:01 +0000 (0:00:00.034) 0:00:15.055 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 27 November 2023 17:44:01 +0000 (0:00:00.033) 0:00:15.089 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 27 November 2023 17:44:01 +0000 (0:00:00.073) 0:00:15.162 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 27 November 2023 17:44:01 +0000 (0:00:00.027) 0:00:15.190 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 27 November 2023 17:44:01 +0000 (0:00:00.026) 0:00:15.216 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 27 November 2023 17:44:01 +0000 (0:00:00.051) 0:00:15.267 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 27 November 2023 17:44:02 +0000 (0:00:00.308) 0:00:15.575 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 27 November 2023 17:44:02 +0000 (0:00:00.057) 0:00:15.633 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 27 November 2023 17:44:02 +0000 (0:00:00.030) 0:00:15.663 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 27 November 2023 17:44:02 +0000 (0:00:00.072) 0:00:15.735 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 27 November 2023 17:44:02 +0000 (0:00:00.485) 0:00:16.221 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 27 November 2023 17:44:02 +0000 (0:00:00.043) 0:00:16.264 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 27 November 2023 17:44:03 +0000 (0:00:00.039) 0:00:16.304 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 27 November 2023 17:44:03 +0000 (0:00:00.038) 0:00:16.342 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 27 November 2023 17:44:03 +0000 (0:00:00.034) 0:00:16.376 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:81 Monday 27 November 2023 17:44:03 +0000 (0:00:00.174) 0:00:16.551 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 27 November 2023 17:44:03 +0000 (0:00:00.087) 0:00:16.639 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 27 November 2023 17:44:03 +0000 (0:00:00.028) 0:00:16.668 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 27 November 2023 17:44:03 +0000 (0:00:00.041) 0:00:16.710 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/show_interfaces.yml:3 Monday 27 November 2023 17:44:03 +0000 (0:00:00.046) 0:00:16.756 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 27 November 2023 17:44:03 +0000 (0:00:00.057) 0:00:16.813 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003827", "end": "2023-11-27 17:44:03.671883", "rc": 0, "start": "2023-11-27 17:44:03.668056" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 27 November 2023 17:44:03 +0000 (0:00:00.160) 0:00:16.974 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/show_interfaces.yml:5 Monday 27 November 2023 17:44:03 +0000 (0:00:00.029) 0:00:17.004 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 27 November 2023 17:44:03 +0000 (0:00:00.028) 0:00:17.033 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:22 Monday 27 November 2023 17:44:04 +0000 (0:00:00.377) 0:00:17.410 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:30 Monday 27 November 2023 17:44:04 +0000 (0:00:00.043) 0:00:17.454 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:38 Monday 27 November 2023 17:44:04 +0000 (0:00:00.027) 0:00:17.481 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012139", "end": "2023-11-27 17:44:04.344069", "rc": 0, "start": "2023-11-27 17:44:04.331930" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:44 Monday 27 November 2023 17:44:04 +0000 (0:00:00.161) 0:00:17.642 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 27 November 2023 17:44:04 +0000 (0:00:00.029) 0:00:17.671 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:55 Monday 27 November 2023 17:44:04 +0000 (0:00:00.025) 0:00:17.696 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 27 November 2023 17:44:04 +0000 (0:00:00.026) 0:00:17.723 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:85 Monday 27 November 2023 17:44:04 +0000 (0:00:00.025) 0:00:17.748 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:89 Monday 27 November 2023 17:44:04 +0000 (0:00:00.029) 0:00:17.777 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 27 November 2023 17:44:04 +0000 (0:00:00.083) 0:00:17.861 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 27 November 2023 17:44:04 +0000 (0:00:00.023) 0:00:17.885 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 27 November 2023 17:44:04 +0000 (0:00:00.022) 0:00:17.907 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/show_interfaces.yml:3 Monday 27 November 2023 17:44:04 +0000 (0:00:00.043) 0:00:17.950 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 27 November 2023 17:44:04 +0000 (0:00:00.035) 0:00:17.986 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003746", "end": "2023-11-27 17:44:04.834631", "rc": 0, "start": "2023-11-27 17:44:04.830885" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 27 November 2023 17:44:04 +0000 (0:00:00.151) 0:00:18.137 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/show_interfaces.yml:5 Monday 27 November 2023 17:44:04 +0000 (0:00:00.027) 0:00:18.165 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 27 November 2023 17:44:04 +0000 (0:00:00.077) 0:00:18.242 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:22 Monday 27 November 2023 17:44:05 +0000 (0:00:00.330) 0:00:18.572 ******* 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.012130", "end": "2023-11-27 17:44:05.440284", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-27 17:44:05.428154" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003989", "end": "2023-11-27 17:44:05.576066", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-27 17:44:05.572077" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004713", "end": "2023-11-27 17:44:05.706532", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-27 17:44:05.701819" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:30 Monday 27 November 2023 17:44:05 +0000 (0:00:00.431) 0:00:19.004 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.029652", "end": "2023-11-27 17:44:05.885123", "rc": 0, "start": "2023-11-27 17:44:05.855471" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:38 Monday 27 November 2023 17:44:05 +0000 (0:00:00.183) 0:00:19.187 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:44 Monday 27 November 2023 17:44:05 +0000 (0:00:00.022) 0:00:19.210 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 27 November 2023 17:44:05 +0000 (0:00:00.022) 0:00:19.233 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:55 Monday 27 November 2023 17:44:05 +0000 (0:00:00.024) 0:00:19.257 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 27 November 2023 17:44:06 +0000 (0:00:00.026) 0:00:19.284 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 27 November 2023 17:44:06 +0000 (0:00:00.026) 0:00:19.310 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/.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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 27 November 2023 17:44:06 +0000 (0:00:00.043) 0:00:19.353 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Monday 27 November 2023 17:44:06 +0000 (0:00:00.040) 0:00:19.394 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Monday 27 November 2023 17:44:06 +0000 (0:00:00.161) 0:00:19.555 ******* skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Monday 27 November 2023 17:44:06 +0000 (0:00:00.034) 0:00:19.590 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Monday 27 November 2023 17:44:07 +0000 (0:00:00.788) 0:00:20.379 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 27 November 2023 17:44:08 +0000 (0:00:01.070) 0:00:21.449 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 27 November 2023 17:44:08 +0000 (0:00:00.095) 0:00:21.545 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 27 November 2023 17:44:08 +0000 (0:00:00.041) 0:00:21.587 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 27 November 2023 17:44:08 +0000 (0:00:00.044) 0:00:21.632 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 27 November 2023 17:44:08 +0000 (0:00:00.095) 0:00:21.727 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 27 November 2023 17:44:08 +0000 (0:00:00.041) 0:00:21.768 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 27 November 2023 17:44:08 +0000 (0:00:00.044) 0:00:21.813 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 27 November 2023 17:44:08 +0000 (0:00:00.047) 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 27 November 2023 17:44:08 +0000 (0:00:00.292) 0:00:22.152 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 27 November 2023 17:44:08 +0000 (0:00:00.042) 0:00:22.195 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 27 November 2023 17:44:08 +0000 (0:00:00.022) 0:00:22.217 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 27 November 2023 17:44:08 +0000 (0:00:00.032) 0:00:22.249 ******* 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, 18372e29-3cd1-4ed8-bbab-312e9c80d47d [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 18372e29-3cd1-4ed8-bbab-312e9c80d47d (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 27 November 2023 17:44:09 +0000 (0:00:00.439) 0:00:22.688 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 27 November 2023 17:44:09 +0000 (0:00:00.055) 0:00:22.744 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 18372e29-3cd1-4ed8-bbab-312e9c80d47d", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 18372e29-3cd1-4ed8-bbab-312e9c80d47d (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 27 November 2023 17:44:09 +0000 (0:00:00.041) 0:00:22.786 ******* 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, 18372e29-3cd1-4ed8-bbab-312e9c80d47d\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 18372e29-3cd1-4ed8-bbab-312e9c80d47d (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 18372e29-3cd1-4ed8-bbab-312e9c80d47d", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 18372e29-3cd1-4ed8-bbab-312e9c80d47d (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 27 November 2023 17:44:09 +0000 (0:00:00.049) 0:00:22.835 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 27 November 2023 17:44:09 +0000 (0:00:00.105) 0:00:22.940 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:110 Monday 27 November 2023 17:44:09 +0000 (0:00:00.224) 0:00:23.165 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_device_present.yml:3 Monday 27 November 2023 17:44:10 +0000 (0:00:00.159) 0:00:23.324 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 27 November 2023 17:44:10 +0000 (0:00:00.096) 0:00:23.421 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1701107049.2470803, "block_size": 4096, "blocks": 0, "ctime": 1701107045.4392166, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17724, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1701107045.4392166, "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-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_device_present.yml:5 Monday 27 November 2023 17:44:10 +0000 (0:00:00.173) 0:00:23.594 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:112 Monday 27 November 2023 17:44:10 +0000 (0:00:00.062) 0:00:23.656 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 27 November 2023 17:44:10 +0000 (0:00:00.131) 0:00:23.787 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 27 November 2023 17:44:10 +0000 (0:00:00.055) 0:00:23.843 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 27 November 2023 17:44:10 +0000 (0:00:00.030) 0:00:23.873 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1701107049.3520768, "block_size": 4096, "blocks": 8, "ctime": 1701107049.2930787, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25408, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701107049.2930787, "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-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 27 November 2023 17:44:10 +0000 (0:00:00.177) 0:00:24.050 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 27 November 2023 17:44:10 +0000 (0:00:00.041) 0:00:24.092 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.025071", "end": "2023-11-27 17:44:11.007239", "rc": 0, "start": "2023-11-27 17:44:10.982168" } 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-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 27 November 2023 17:44:11 +0000 (0:00:00.245) 0:00:24.337 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 27 November 2023 17:44:11 +0000 (0:00:00.066) 0:00:24.404 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 27 November 2023 17:44:11 +0000 (0:00:00.051) 0:00:24.456 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 27 November 2023 17:44:11 +0000 (0:00:00.048) 0:00:24.504 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 27 November 2023 17:44:11 +0000 (0:00:00.035) 0:00:24.539 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 27 November 2023 17:44:11 +0000 (0:00:00.038) 0:00:24.578 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 27 November 2023 17:44:11 +0000 (0:00:00.050) 0:00:24.628 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 27 November 2023 17:44:11 +0000 (0:00:00.102) 0:00:24.730 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:116 Monday 27 November 2023 17:44:11 +0000 (0:00:00.057) 0:00:24.788 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003648", "end": "2023-11-27 17:44:11.643862", "rc": 0, "start": "2023-11-27 17:44:11.640214" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.232 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-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:120 Monday 27 November 2023 17:44:11 +0000 (0:00:00.163) 0:00:24.951 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:126 Monday 27 November 2023 17:44:11 +0000 (0:00:00.035) 0:00:24.986 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003736", "end": "2023-11-27 17:44:11.834983", "rc": 0, "start": "2023-11-27 17:44:11.831247" } 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-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:130 Monday 27 November 2023 17:44:11 +0000 (0:00:00.159) 0:00:25.146 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:137 Monday 27 November 2023 17:44:11 +0000 (0:00:00.041) 0:00:25.187 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 27 November 2023 17:44:11 +0000 (0:00:00.028) 0:00:25.216 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/.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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 27 November 2023 17:44:12 +0000 (0:00:00.073) 0:00:25.290 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Monday 27 November 2023 17:44:12 +0000 (0:00:00.070) 0:00:25.360 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Monday 27 November 2023 17:44:12 +0000 (0:00:00.210) 0:00:25.571 ******* skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Monday 27 November 2023 17:44:12 +0000 (0:00:00.060) 0:00:25.631 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Monday 27 November 2023 17:44:13 +0000 (0:00:00.811) 0:00:26.443 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 27 November 2023 17:44:14 +0000 (0:00:00.995) 0:00:27.439 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 27 November 2023 17:44:14 +0000 (0:00:00.037) 0:00:27.476 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 27 November 2023 17:44:14 +0000 (0:00:00.038) 0:00:27.515 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 27 November 2023 17:44:14 +0000 (0:00:00.046) 0:00:27.562 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 27 November 2023 17:44:14 +0000 (0:00:00.220) 0:00:27.782 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 27 November 2023 17:44:14 +0000 (0:00:00.039) 0:00:27.821 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 27 November 2023 17:44:14 +0000 (0:00:00.031) 0:00:27.853 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 27 November 2023 17:44:14 +0000 (0:00:00.042) 0:00:27.896 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 27 November 2023 17:44:14 +0000 (0:00:00.272) 0:00:28.169 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 27 November 2023 17:44:14 +0000 (0:00:00.049) 0:00:28.218 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 27 November 2023 17:44:14 +0000 (0:00:00.024) 0:00:28.243 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 27 November 2023 17:44:15 +0000 (0:00:00.031) 0:00:28.274 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 27 November 2023 17:44:15 +0000 (0:00:00.496) 0:00:28.771 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 27 November 2023 17:44:15 +0000 (0:00:00.043) 0:00:28.814 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 27 November 2023 17:44:15 +0000 (0:00:00.036) 0:00:28.851 ******* 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-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 27 November 2023 17:44:15 +0000 (0:00:00.041) 0:00:28.892 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 27 November 2023 17:44:15 +0000 (0:00:00.040) 0:00:28.933 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:149 Monday 27 November 2023 17:44:15 +0000 (0:00:00.184) 0:00:29.117 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 27 November 2023 17:44:15 +0000 (0:00:00.087) 0:00:29.205 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 27 November 2023 17:44:15 +0000 (0:00:00.028) 0:00:29.233 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 27 November 2023 17:44:16 +0000 (0:00:00.049) 0:00:29.283 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/show_interfaces.yml:3 Monday 27 November 2023 17:44:16 +0000 (0:00:00.118) 0:00:29.402 ******* included: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 27 November 2023 17:44:16 +0000 (0:00:00.051) 0:00:29.453 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004930", "end": "2023-11-27 17:44:17.328247", "rc": 0, "start": "2023-11-27 17:44:16.323317" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 27 November 2023 17:44:17 +0000 (0:00:01.197) 0:00:30.650 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/show_interfaces.yml:5 Monday 27 November 2023 17:44:17 +0000 (0:00:00.065) 0:00:30.715 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 27 November 2023 17:44:17 +0000 (0:00:00.060) 0:00:30.776 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:22 Monday 27 November 2023 17:44:17 +0000 (0:00:00.395) 0:00:31.171 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:30 Monday 27 November 2023 17:44:17 +0000 (0:00:00.079) 0:00:31.251 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:38 Monday 27 November 2023 17:44:18 +0000 (0:00:00.065) 0:00:31.317 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012737", "end": "2023-11-27 17:44:18.217114", "rc": 0, "start": "2023-11-27 17:44:18.204377" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:44 Monday 27 November 2023 17:44:18 +0000 (0:00:00.225) 0:00:31.542 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 27 November 2023 17:44:18 +0000 (0:00:00.051) 0:00:31.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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:55 Monday 27 November 2023 17:44:18 +0000 (0:00:00.050) 0:00:31.644 ******* 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-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 27 November 2023 17:44:18 +0000 (0:00:00.043) 0:00:31.687 ******* 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=133 changed=4 unreachable=0 failed=0 skipped=94 rescued=0 ignored=0 Monday 27 November 2023 17:44:18 +0000 (0:00:00.102) 0:00:31.790 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.37s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Gather current interface info ------------------------------------------- 1.20s /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.07s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which services are running ---- 0.95s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.84s /WORKDIR/git-test_network_state_fixhanloczc/tests/tests_auto_gateway_nm.yml:5 - fedora.linux_system_roles.network : Check which services are running ---- 0.82s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 0.81s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 0.79s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.69s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.68s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Install yum-utils package ----------------------------------------------- 0.67s /WORKDIR/git-test_network_state_fixhanloczc/tests/tasks/enable_epel.yml:24 ---- Gathering Facts --------------------------------------------------------- 0.55s /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.52s /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:22 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.50s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.49s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.44s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Create veth interface veth0 --------------------------------------------- 0.43s /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:22 Install iproute --------------------------------------------------------- 0.41s /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:16 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---