# 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_ipv6_nm.yml **************************************************** 2 plays in /WORKDIR/git-test_network_state_fixhanloczc/tests/tests_ipv6_nm.yml PLAY [Run playbook 'playbooks/tests_ipv6.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/tests_ipv6_nm.yml:5 Monday 27 November 2023 17:49:21 +0000 (0:00:00.015) 0:00:00.015 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/tests_ipv6_nm.yml:9 Monday 27 November 2023 17:49:22 +0000 (0:00:00.757) 0:00:00.772 ******* 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:49:22 +0000 (0:00:00.014) 0:00:00.787 ******* 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:49:22 +0000 (0:00:00.244) 0:00:01.031 ******* 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:49:22 +0000 (0:00:00.209) 0:00:01.240 ******* 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:49:22 +0000 (0:00:00.023) 0:00:01.263 ******* 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:49:22 +0000 (0:00:00.011) 0:00:01.275 ******* 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:49:22 +0000 (0:00:00.016) 0:00:01.291 ******* 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:49:22 +0000 (0:00:00.234) 0:00:01.526 ******* 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:49:23 +0000 (0:00:00.448) 0:00:01.975 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177804", "end": "2023-11-27 17:49:23.505097", "rc": 0, "start": "2023-11-27 17:49:23.327293" } 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:49:23 +0000 (0:00:00.306) 0:00:02.281 ******* 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:49:23 +0000 (0:00:00.010) 0:00:02.292 ******* 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_ipv6_nm.yml:11 Monday 27 November 2023 17:49:23 +0000 (0:00:00.011) 0:00:02.303 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing IPv6 config] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:3 Monday 27 November 2023 17:49:23 +0000 (0:00:00.021) 0:00:02.324 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:9 Monday 27 November 2023 17:49:24 +0000 (0:00:00.517) 0:00:02.841 ******* 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:49:24 +0000 (0:00:00.016) 0:00:02.858 ******* 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:49:24 +0000 (0:00:00.017) 0:00:02.876 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003755", "end": "2023-11-27 17:49:24.230080", "rc": 0, "start": "2023-11-27 17:49:24.226325" } STDOUT: bonding_masters 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:49:24 +0000 (0:00:00.130) 0:00:03.006 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "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:49:24 +0000 (0:00:00.016) 0:00:03.022 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:11 Monday 27 November 2023 17:49:24 +0000 (0:00:00.012) 0:00:03.034 ******* 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:49:24 +0000 (0:00:00.016) 0:00:03.051 ******* 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:49:24 +0000 (0:00:00.009) 0:00:03.061 ******* 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:49:24 +0000 (0:00:00.009) 0:00:03.070 ******* 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:49:24 +0000 (0:00:00.012) 0:00:03.082 ******* 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:49:24 +0000 (0:00:00.012) 0:00:03.095 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003687", "end": "2023-11-27 17:49:24.448297", "rc": 0, "start": "2023-11-27 17:49:24.444610" } STDOUT: bonding_masters 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:49:24 +0000 (0:00:00.126) 0:00:03.221 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "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:49:24 +0000 (0:00:00.013) 0:00:03.235 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', '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:49:24 +0000 (0:00:00.012) 0:00:03.247 ******* 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:49:24 +0000 (0:00:00.301) 0:00:03.548 ******* 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.010232", "end": "2023-11-27 17:49:24.914141", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-27 17:49:24.903909" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003725", "end": "2023-11-27 17:49:25.039753", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-27 17:49:25.036028" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003647", "end": "2023-11-27 17:49:25.161922", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-27 17:49:25.158275" } 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:49:25 +0000 (0:00:00.388) 0:00:03.937 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.032844", "end": "2023-11-27 17:49:25.325313", "rc": 0, "start": "2023-11-27 17:49:25.292469" } 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:49:25 +0000 (0:00:00.171) 0:00:04.109 ******* 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:49:25 +0000 (0:00:00.014) 0:00:04.123 ******* 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:49:25 +0000 (0:00:00.011) 0:00:04.135 ******* 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:49:25 +0000 (0:00:00.011) 0:00:04.146 ******* 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:49:25 +0000 (0:00:00.012) 0:00:04.158 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Set up gateway ip on veth peer] ****************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:15 Monday 27 November 2023 17:49:25 +0000 (0:00:00.010) 0:00:04.169 ******* ok: [sut] => { "changed": false, "cmd": "ip netns add ns1\nip link set peerveth0 netns ns1\nip netns exec ns1 ip -6 addr add 2001:db8::1/32 dev peerveth0\nip netns exec ns1 ip link set peerveth0 up\n", "delta": "0:00:00.028728", "end": "2023-11-27 17:49:25.550772", "rc": 0, "start": "2023-11-27 17:49:25.522044" } TASK [TEST: I can configure an interface with static ipv6 config] ************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:27 Monday 27 November 2023 17:49:25 +0000 (0:00:00.155) 0:00:04.325 ******* 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:49:25 +0000 (0:00:00.011) 0:00:04.336 ******* 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:49:25 +0000 (0:00:00.020) 0:00:04.357 ******* 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:49:25 +0000 (0:00:00.026) 0:00:04.384 ******* 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:49:25 +0000 (0:00:00.135) 0:00:04.519 ******* 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:49:25 +0000 (0:00:00.021) 0:00:04.540 ******* 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:49:26 +0000 (0:00:00.842) 0:00:05.383 ******* 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:49:27 +0000 (0:00:01.183) 0:00:06.567 ******* 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:49:27 +0000 (0:00:00.026) 0:00:06.593 ******* 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:49:27 +0000 (0:00:00.033) 0:00:06.627 ******* 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:49:27 +0000 (0:00:00.028) 0:00:06.656 ******* 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:49:27 +0000 (0:00:00.062) 0:00:06.719 ******* 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:49:27 +0000 (0:00:00.022) 0:00:06.741 ******* 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:49:28 +0000 (0:00:00.024) 0:00:06.765 ******* 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:49:28 +0000 (0:00:00.045) 0:00:06.811 ******* 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:49:28 +0000 (0:00:00.481) 0:00:07.293 ******* 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:49:28 +0000 (0:00:00.062) 0:00:07.355 ******* 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:49:28 +0000 (0:00:00.022) 0:00:07.378 ******* 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:49:28 +0000 (0:00:00.020) 0:00:07.399 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/32", "2001:db8::3/32", "2001:db8::4/32" ], "auto6": false, "dhcp4": false, "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, 4dbc8c0b-0848-42b5-9147-20362291c3ed [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4dbc8c0b-0848-42b5-9147-20362291c3ed (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:49:31 +0000 (0:00:02.398) 0:00:09.797 ******* 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:49:31 +0000 (0:00:00.024) 0:00:09.822 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4dbc8c0b-0848-42b5-9147-20362291c3ed", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4dbc8c0b-0848-42b5-9147-20362291c3ed (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:49:31 +0000 (0:00:00.023) 0:00:09.846 ******* 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/32", "2001:db8::3/32", "2001:db8::4/32" ], "auto6": false, "dhcp4": false, "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, 4dbc8c0b-0848-42b5-9147-20362291c3ed\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4dbc8c0b-0848-42b5-9147-20362291c3ed (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4dbc8c0b-0848-42b5-9147-20362291c3ed", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4dbc8c0b-0848-42b5-9147-20362291c3ed (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:49:31 +0000 (0:00:00.025) 0:00:09.871 ******* 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:49:31 +0000 (0:00:00.027) 0:00:09.898 ******* 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_ipv6.yml:47 Monday 27 November 2023 17:49:31 +0000 (0:00:00.227) 0:00:10.126 ******* 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:49:31 +0000 (0:00:00.039) 0:00:10.165 ******* 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:49:31 +0000 (0:00:00.033) 0:00:10.199 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1701107369.0424683, "block_size": 4096, "blocks": 0, "ctime": 1701107364.9186263, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17737, "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": 1701107364.9186263, "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:49:31 +0000 (0:00:00.139) 0:00:10.338 ******* 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_ipv6.yml:49 Monday 27 November 2023 17:49:31 +0000 (0:00:00.025) 0:00:10.363 ******* 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:49:31 +0000 (0:00:00.039) 0:00:10.403 ******* 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:49:31 +0000 (0:00:00.056) 0:00:10.460 ******* 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:49:31 +0000 (0:00:00.021) 0:00:10.482 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1701107369.157464, "block_size": 4096, "blocks": 8, "ctime": 1701107369.0864668, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25426, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701107369.0864668, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 333, "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:49:31 +0000 (0:00:00.134) 0:00:10.616 ******* 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:49:31 +0000 (0:00:00.023) 0:00:10.640 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.025144", "end": "2023-11-27 17:49:32.015466", "rc": 0, "start": "2023-11-27 17:49:31.990322" } 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:49:32 +0000 (0:00:00.161) 0:00:10.801 ******* 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:49:32 +0000 (0:00:00.024) 0:00:10.825 ******* 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:49:32 +0000 (0:00:00.020) 0:00:10.846 ******* 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:49:32 +0000 (0:00:00.020) 0:00:10.867 ******* 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:49:32 +0000 (0:00:00.020) 0:00:10.887 ******* 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:49:32 +0000 (0:00:00.020) 0:00:10.907 ******* 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:49:32 +0000 (0:00:00.024) 0:00:10.931 ******* 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:49:32 +0000 (0:00:00.024) 0:00:10.956 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ip address information] ********************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:53 Monday 27 November 2023 17:49:32 +0000 (0:00:00.025) 0:00:10.981 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "addr", "show", "veth0" ], "delta": "0:00:00.003934", "end": "2023-11-27 17:49:32.335236", "rc": 0, "start": "2023-11-27 17:49:32.331302" } STDOUT: 35: veth0@if34: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether a2:f2:09:19:ff:c6 brd ff:ff:ff:ff:ff:ff link-netnsid 0 inet6 2001:db8::4/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 2001:db8::3/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 2001:db8::2/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 fe80::4e84:e07b:82bb:bd3c/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [Show ip_addr] ************************************************************ task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:57 Monday 27 November 2023 17:49:32 +0000 (0:00:00.138) 0:00:11.119 ******* ok: [sut] => { "ip_addr.stdout": "35: veth0@if34: mtu 1500 qdisc noqueue state UP group default qlen 1000\n link/ether a2:f2:09:19:ff:c6 brd ff:ff:ff:ff:ff:ff link-netnsid 0\n inet6 2001:db8::4/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 2001:db8::3/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 2001:db8::2/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 fe80::4e84:e07b:82bb:bd3c/64 scope link noprefixroute \n valid_lft forever preferred_lft forever" } TASK [Assert ipv6 addresses are correctly set] ********************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:60 Monday 27 November 2023 17:49:32 +0000 (0:00:00.022) 0:00:11.142 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:69 Monday 27 November 2023 17:49:32 +0000 (0:00:00.023) 0:00:11.166 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003835", "end": "2023-11-27 17:49:32.520704", "rc": 0, "start": "2023-11-27 17:49:32.516869" } 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::/32 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 default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Show ipv6_route] ********************************************************* task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:73 Monday 27 November 2023 17:49:32 +0000 (0:00:00.141) 0:00:11.307 ******* ok: [sut] => { "ipv6_route.stdout": "unreachable ::/96 dev lo metric 1024 error -113 pref medium\nunreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium\n2001:db8::/32 dev veth0 proto kernel metric 101 pref medium\nunreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium\nunreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium\nunreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium\nunreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium\nunreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium\nunreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium\nunreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium\nfe80::/64 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium\ndefault via 2001:db8::1 dev veth0 proto static metric 101 pref medium" } TASK [Assert default ipv6 route is set] **************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:76 Monday 27 November 2023 17:49:32 +0000 (0:00:00.031) 0:00:11.338 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Ensure ping6 command is present] ***************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:82 Monday 27 November 2023 17:49:32 +0000 (0:00:00.029) 0:00:11.367 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iputils-20160308-10.el7.x86_64 providing iputils is already installed" ] } TASK [Test gateway can be pinged] ********************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:86 Monday 27 November 2023 17:49:32 +0000 (0:00:00.346) 0:00:11.714 ******* ok: [sut] => { "changed": false, "cmd": [ "ping6", "-c1", "2001:db8::1" ], "delta": "0:00:00.011497", "end": "2023-11-27 17:49:33.077794", "rc": 0, "start": "2023-11-27 17:49:33.066297" } STDOUT: PING 2001:db8::1(2001:db8::1) 56 data bytes 64 bytes from 2001:db8::1: icmp_seq=1 ttl=64 time=0.051 ms --- 2001:db8::1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.051/0.051/0.051/0.000 ms TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:92 Monday 27 November 2023 17:49:33 +0000 (0:00:00.149) 0:00:11.863 ******* 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:49:33 +0000 (0:00:00.036) 0:00:11.900 ******* 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:49:33 +0000 (0:00:00.059) 0:00:11.959 ******* 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:49:33 +0000 (0:00:00.035) 0:00:11.995 ******* 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:49:33 +0000 (0:00:00.148) 0:00:12.143 ******* 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:49:33 +0000 (0:00:00.035) 0:00:12.178 ******* 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:49:34 +0000 (0:00:00.762) 0:00:12.941 ******* 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:49:35 +0000 (0:00:00.966) 0:00:13.908 ******* 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:49:35 +0000 (0:00:00.022) 0:00:13.931 ******* 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:49:35 +0000 (0:00:00.023) 0:00:13.954 ******* 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:49:35 +0000 (0:00:00.024) 0:00:13.978 ******* 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:49:35 +0000 (0:00:00.062) 0:00:14.041 ******* 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:49:35 +0000 (0:00:00.025) 0:00:14.067 ******* 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:49:35 +0000 (0:00:00.024) 0:00:14.092 ******* 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:49:35 +0000 (0:00:00.048) 0:00:14.140 ******* 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:49:35 +0000 (0:00:00.322) 0:00:14.462 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 27 November 2023 17:49:35 +0000 (0:00:00.041) 0:00:14.504 ******* 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:49:35 +0000 (0:00:00.022) 0:00:14.526 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 27 November 2023 17:49:35 +0000 (0:00:00.022) 0:00:14.549 ******* 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:49:36 +0000 (0:00:00.424) 0:00:14.973 ******* 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:49:36 +0000 (0:00:00.034) 0:00:15.007 ******* 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:49:36 +0000 (0:00:00.039) 0:00:15.047 ******* 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:49:36 +0000 (0:00:00.030) 0:00:15.077 ******* 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:49:36 +0000 (0:00:00.031) 0:00:15.108 ******* 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_ipv6.yml:104 Monday 27 November 2023 17:49:36 +0000 (0:00:00.152) 0:00:15.261 ******* 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:49:36 +0000 (0:00:00.047) 0:00:15.309 ******* 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:49:36 +0000 (0:00:00.021) 0:00:15.331 ******* 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:49:36 +0000 (0:00:00.028) 0:00:15.359 ******* 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:49:36 +0000 (0:00:00.048) 0:00:15.407 ******* 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:49:36 +0000 (0:00:00.050) 0:00:15.458 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003826", "end": "2023-11-27 17:49:36.813484", "rc": 0, "start": "2023-11-27 17:49:36.809658" } STDOUT: bonding_masters eth0 lo 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:49:36 +0000 (0:00:00.163) 0:00:15.622 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "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:49:36 +0000 (0:00:00.024) 0:00:15.646 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', '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:49:36 +0000 (0:00:00.021) 0:00:15.668 ******* 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:49:37 +0000 (0:00:00.319) 0:00:15.988 ******* 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:49:37 +0000 (0:00:00.029) 0:00:16.017 ******* 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:49:37 +0000 (0:00:00.019) 0:00:16.037 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010934", "end": "2023-11-27 17:49:37.398687", "rc": 0, "start": "2023-11-27 17:49:37.387753" } 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:49:37 +0000 (0:00:00.157) 0:00:16.194 ******* 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:49:37 +0000 (0:00:00.024) 0:00:16.218 ******* 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:49:37 +0000 (0:00:00.036) 0:00:16.255 ******* 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:49:37 +0000 (0:00:00.032) 0:00:16.288 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Clean up namespace] ****************************************************** task path: /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:108 Monday 27 November 2023 17:49:37 +0000 (0:00:00.021) 0:00:16.309 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "netns", "delete", "ns1" ], "delta": "0:00:00.008381", "end": "2023-11-27 17:49:37.670993", "rc": 0, "start": "2023-11-27 17:49:37.662612" } PLAY RECAP ********************************************************************* sut : ok=78 changed=2 unreachable=0 failed=0 skipped=49 rescued=0 ignored=0 Monday 27 November 2023 17:49:37 +0000 (0:00:00.191) 0:00:16.501 ******* =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 2.40s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 1.18s /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.97s /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.84s /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.76s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-test_network_state_fixhanloczc/tests/tests_ipv6_nm.yml:5 --------- Gathering Facts --------------------------------------------------------- 0.52s /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:3 -- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.48s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Install yum-utils package ----------------------------------------------- 0.45s /WORKDIR/git-test_network_state_fixhanloczc/tests/tasks/enable_epel.yml:24 ---- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.42s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Create veth interface veth0 --------------------------------------------- 0.39s /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:22 Ensure ping6 command is present ----------------------------------------- 0.35s /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tests_ipv6.yml:82 - fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.32s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Install iproute --------------------------------------------------------- 0.32s /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.31s /WORKDIR/git-test_network_state_fixhanloczc/tests/tasks/enable_epel.yml:30 ---- Install iproute --------------------------------------------------------- 0.30s /WORKDIR/git-test_network_state_fixhanloczc/tests/playbooks/tasks/manage_test_interface.yml:16 Gather the minimum subset of ansible_facts required by the network role test --- 0.24s /WORKDIR/git-test_network_state_fixhanloczc/tests/tasks/el_repo_setup.yml:3 --- Create EPEL 7 ----------------------------------------------------------- 0.23s /WORKDIR/git-test_network_state_fixhanloczc/tests/tasks/enable_epel.yml:8 ----- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.23s /WORKDIR/git-test_network_state_fixhanloczc/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Check if system is ostree ----------------------------------------------- 0.21s /WORKDIR/git-test_network_state_fixhanloczc/tests/tasks/el_repo_setup.yml:20 -- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---