# 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-bond_options_rewriteun5tivel/.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_route_table_nm.yml ********************************************* 6 plays in /WORKDIR/git-bond_options_rewriteun5tivel/tests/tests_route_table_nm.yml PLAY [Run playbook 'playbooks/tests_route_table.yml' with nm as provider] ****** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tests_route_table_nm.yml:6 Tuesday 13 February 2024 21:22:12 +0000 (0:00:00.016) 0:00:00.016 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tests_route_table_nm.yml:9 Tuesday 13 February 2024 21:22:13 +0000 (0:00:00.783) 0:00:00.800 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/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-bond_options_rewriteun5tivel/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 21:22:13 +0000 (0:00:00.010) 0:00:00.811 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/el_repo_setup.yml:17 Tuesday 13 February 2024 21:22:13 +0000 (0:00:00.246) 0:00:01.057 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/el_repo_setup.yml:22 Tuesday 13 February 2024 21:22:13 +0000 (0:00:00.246) 0:00:01.303 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/el_repo_setup.yml:26 Tuesday 13 February 2024 21:22:13 +0000 (0:00:00.032) 0:00:01.336 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/el_repo_setup.yml:51 Tuesday 13 February 2024 21:22:13 +0000 (0:00:00.033) 0:00:01.370 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 21:22:13 +0000 (0:00:00.029) 0:00:01.400 ****** 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-bond_options_rewriteun5tivel/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 21:22:14 +0000 (0:00:00.226) 0:00:01.626 ****** 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-bond_options_rewriteun5tivel/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 21:22:14 +0000 (0:00:00.449) 0:00:02.076 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.201681", "end": "2024-02-13 21:22:14.920344", "rc": 0, "start": "2024-02-13 21:22:14.718663" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 21:22:14 +0000 (0:00:00.343) 0:00:02.419 ****** 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-bond_options_rewriteun5tivel/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 21:22:14 +0000 (0:00:00.012) 0:00:02.432 ****** 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-bond_options_rewriteun5tivel/tests/tests_route_table_nm.yml:11 Tuesday 13 February 2024 21:22:14 +0000 (0:00:00.007) 0:00:02.439 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing route table] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:3 Tuesday 13 February 2024 21:22:14 +0000 (0:00:00.021) 0:00:02.461 ****** ok: [sut] TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:11 Tuesday 13 February 2024 21:22:15 +0000 (0:00:00.551) 0:00:03.012 ****** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:15 Tuesday 13 February 2024 21:22:15 +0000 (0:00:00.011) 0:00:03.023 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:22:15 +0000 (0:00:00.016) 0:00:03.039 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:22:15 +0000 (0:00:00.011) 0:00:03.051 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004152", "end": "2024-02-13 21:22:15.689050", "rc": 0, "start": "2024-02-13 21:22:15.684898" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:22:15 +0000 (0:00:00.145) 0:00:03.197 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:22:15 +0000 (0:00:00.019) 0:00:03.216 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:17 Tuesday 13 February 2024 21:22:15 +0000 (0:00:00.027) 0:00:03.243 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:22:15 +0000 (0:00:00.031) 0:00:03.275 ****** 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-bond_options_rewriteun5tivel/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:22:15 +0000 (0:00:00.014) 0:00:03.290 ****** 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-bond_options_rewriteun5tivel/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:22:15 +0000 (0:00:00.010) 0:00:03.300 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:22:15 +0000 (0:00:00.017) 0:00:03.318 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:22:15 +0000 (0:00:00.022) 0:00:03.340 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004048", "end": "2024-02-13 21:22:15.986665", "rc": 0, "start": "2024-02-13 21:22:15.982617" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:22:16 +0000 (0:00:00.153) 0:00:03.494 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:22:16 +0000 (0:00:00.036) 0:00:03.530 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:22:16 +0000 (0:00:00.047) 0:00:03.577 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:22:16 +0000 (0:00:00.381) 0:00:03.959 ****** ok: [sut] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.014939", "end": "2024-02-13 21:22:16.611966", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-02-13 21:22:16.597027" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.009786", "end": "2024-02-13 21:22:16.742562", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-02-13 21:22:16.732776" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.008800", "end": "2024-02-13 21:22:16.873749", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-02-13 21:22:16.864949" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:22:16 +0000 (0:00:00.421) 0:00:04.380 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.029548", "end": "2024-02-13 21:22:17.058859", "rc": 0, "start": "2024-02-13 21:22:17.029311" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:22:17 +0000 (0:00:00.176) 0:00:04.557 ****** 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 ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:22:17 +0000 (0:00:00.036) 0:00:04.593 ****** 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 ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:22:17 +0000 (0:00:00.031) 0:00:04.624 ****** 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 ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:22:17 +0000 (0:00:00.024) 0:00:04.649 ****** 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 ethtest0] ******************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:22:17 +0000 (0:00:00.023) 0:00:04.673 ****** 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-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:21 Tuesday 13 February 2024 21:22:17 +0000 (0:00:00.015) 0:00:04.688 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:22:17 +0000 (0:00:00.021) 0:00:04.709 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:22:17 +0000 (0:00:00.013) 0:00:04.723 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707859336.6091933, "block_size": 4096, "blocks": 0, "ctime": 1707859336.6091933, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17711, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1707859336.6091933, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 - 'ethtest0'] *********************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:22:17 +0000 (0:00:00.132) 0:00:04.856 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 21:22:17 +0000 (0:00:00.014) 0:00:04.870 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/.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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:22:17 +0000 (0:00:00.021) 0:00:04.892 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 21:22:17 +0000 (0:00:00.020) 0:00:04.913 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 21:22:17 +0000 (0:00:00.016) 0:00:04.929 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 21:22:17 +0000 (0:00:00.025) 0:00:04.954 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 21:22:18 +0000 (0:00:00.973) 0:00:05.928 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 21:22:19 +0000 (0:00:00.919) 0:00:06.848 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 21:22:19 +0000 (0:00:00.019) 0:00:06.867 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 21:22:19 +0000 (0:00:00.020) 0:00:06.888 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 21:22:19 +0000 (0:00:00.021) 0:00:06.910 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 21:22:19 +0000 (0:00:00.059) 0:00:06.969 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 21:22:19 +0000 (0:00:00.026) 0:00:06.995 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 21:22:19 +0000 (0:00:00.048) 0:00:07.043 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 21:22:19 +0000 (0:00:00.132) 0:00:07.176 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 21:22:20 +0000 (0:00:00.581) 0:00:07.757 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 21:22:20 +0000 (0:00:00.042) 0:00:07.800 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 21:22:20 +0000 (0:00:00.021) 0:00:07.822 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 21:22:20 +0000 (0:00:00.054) 0:00:07.876 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 58a31cad-e8a1-4962-ae42-c722bdd9eaba [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 58a31cad-e8a1-4962-ae42-c722bdd9eaba (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 21:22:21 +0000 (0:00:00.681) 0:00:08.558 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 21:22:21 +0000 (0:00:00.028) 0:00:08.586 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 58a31cad-e8a1-4962-ae42-c722bdd9eaba", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 58a31cad-e8a1-4962-ae42-c722bdd9eaba (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 21:22:21 +0000 (0:00:00.033) 0:00:08.619 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 } ] }, "name": "ethtest0", "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, 'ethtest0': add connection ethtest0, 58a31cad-e8a1-4962-ae42-c722bdd9eaba\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 58a31cad-e8a1-4962-ae42-c722bdd9eaba (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 58a31cad-e8a1-4962-ae42-c722bdd9eaba", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 58a31cad-e8a1-4962-ae42-c722bdd9eaba (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 21:22:21 +0000 (0:00:00.031) 0:00:08.650 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 21:22:21 +0000 (0:00:00.023) 0:00:08.674 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the routes from the route table 30200] ******************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:50 Tuesday 13 February 2024 21:22:21 +0000 (0:00:00.265) 0:00:08.940 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30200" ], "delta": "0:00:00.004146", "end": "2024-02-13 21:22:21.628506", "rc": 0, "start": "2024-02-13 21:22:21.624360" } STDOUT: 198.51.100.64/26 via 198.51.100.6 dev ethtest0 proto static metric 4 TASK [Get the routes from the route table 30400] ******************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:56 Tuesday 13 February 2024 21:22:21 +0000 (0:00:00.196) 0:00:09.136 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30400" ], "delta": "0:00:00.003708", "end": "2024-02-13 21:22:21.769749", "rc": 0, "start": "2024-02-13 21:22:21.766041" } STDOUT: 198.51.100.128/26 via 198.51.100.1 dev ethtest0 proto static metric 2 TASK [Assert that the route table 30200 contains the specified route] ********** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:62 Tuesday 13 February 2024 21:22:21 +0000 (0:00:00.142) 0:00:09.278 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the route table 30400 contains the specified route] ********** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:69 Tuesday 13 February 2024 21:22:21 +0000 (0:00:00.051) 0:00:09.330 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Create a dedicated test file in `/etc/iproute2/rt_tables.d/` and add a new routing table] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:75 Tuesday 13 February 2024 21:22:21 +0000 (0:00:00.032) 0:00:09.363 ****** changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 21:22:22 +0000 (0:00:00.262) 0:00:09.625 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/.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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:22:22 +0000 (0:00:00.031) 0:00:09.656 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 21:22:22 +0000 (0:00:00.037) 0:00:09.694 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 21:22:22 +0000 (0:00:00.043) 0:00:09.737 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 21:22:22 +0000 (0:00:00.024) 0:00:09.761 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 21:22:23 +0000 (0:00:00.820) 0:00:10.581 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 21:22:23 +0000 (0:00:00.679) 0:00:11.260 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 21:22:23 +0000 (0:00:00.022) 0:00:11.283 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 21:22:23 +0000 (0:00:00.051) 0:00:11.334 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 21:22:23 +0000 (0:00:00.031) 0:00:11.366 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 21:22:23 +0000 (0:00:00.074) 0:00:11.441 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 21:22:23 +0000 (0:00:00.025) 0:00:11.466 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 21:22:24 +0000 (0:00:00.036) 0:00:11.502 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 21:22:24 +0000 (0:00:00.055) 0:00:11.558 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 21:22:24 +0000 (0:00:00.303) 0:00:11.862 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 21:22:24 +0000 (0:00:00.094) 0:00:11.956 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 21:22:24 +0000 (0:00:00.041) 0:00:11.998 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 21:22:24 +0000 (0:00:00.033) 0:00:12.031 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": "custom" }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": "custom" } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': update connection ethtest0, 58a31cad-e8a1-4962-ae42-c722bdd9eaba [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 58a31cad-e8a1-4962-ae42-c722bdd9eaba (is-modified) [005] #0, state:up persistent_state:present, 'ethtest0': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 21:22:25 +0000 (0:00:00.456) 0:00:12.487 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 21:22:25 +0000 (0:00:00.048) 0:00:12.535 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': update connection ethtest0, 58a31cad-e8a1-4962-ae42-c722bdd9eaba", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 58a31cad-e8a1-4962-ae42-c722bdd9eaba (is-modified)", "[005] #0, state:up persistent_state:present, 'ethtest0': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 21:22:25 +0000 (0:00:00.026) 0:00:12.561 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": "custom" }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": "custom" } ] }, "name": "ethtest0", "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, 'ethtest0': update connection ethtest0, 58a31cad-e8a1-4962-ae42-c722bdd9eaba\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 58a31cad-e8a1-4962-ae42-c722bdd9eaba (is-modified)\n[005] #0, state:up persistent_state:present, 'ethtest0': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': update connection ethtest0, 58a31cad-e8a1-4962-ae42-c722bdd9eaba", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 58a31cad-e8a1-4962-ae42-c722bdd9eaba (is-modified)", "[005] #0, state:up persistent_state:present, 'ethtest0': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 21:22:25 +0000 (0:00:00.024) 0:00:12.586 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 21:22:25 +0000 (0:00:00.021) 0:00:12.608 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the routes from the named route table 'custom'] ********************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:108 Tuesday 13 February 2024 21:22:25 +0000 (0:00:00.155) 0:00:12.763 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "custom" ], "delta": "0:00:00.003729", "end": "2024-02-13 21:22:25.428470", "rc": 0, "start": "2024-02-13 21:22:25.424741" } STDOUT: 198.51.100.64/26 via 198.51.100.6 dev ethtest0 proto static metric 4 198.51.100.128/26 via 198.51.100.1 dev ethtest0 proto static metric 2 TASK [Assert that the named route table 'custom' contains the specified route] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:114 Tuesday 13 February 2024 21:22:25 +0000 (0:00:00.173) 0:00:12.937 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove the dedicated test file in `/etc/iproute2/rt_tables.d/`] ********** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:121 Tuesday 13 February 2024 21:22:25 +0000 (0:00:00.037) 0:00:12.974 ****** changed: [sut] => { "changed": true, "path": "/etc/iproute2/rt_tables.d/table.conf", "state": "absent" } PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/down_profile.yml:3 Tuesday 13 February 2024 21:22:26 +0000 (0:00:00.522) 0:00:13.497 ****** ok: [sut] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 21:22:26 +0000 (0:00:00.666) 0:00:14.164 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/.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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:22:26 +0000 (0:00:00.040) 0:00:14.205 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 21:22:26 +0000 (0:00:00.034) 0:00:14.240 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 21:22:26 +0000 (0:00:00.061) 0:00:14.301 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 21:22:26 +0000 (0:00:00.024) 0:00:14.325 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 21:22:27 +0000 (0:00:00.846) 0:00:15.172 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 21:22:28 +0000 (0:00:00.777) 0:00:15.949 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 21:22:28 +0000 (0:00:00.045) 0:00:15.995 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 21:22:28 +0000 (0:00:00.024) 0:00:16.019 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 21:22:28 +0000 (0:00:00.026) 0:00:16.046 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 21:22:28 +0000 (0:00:00.056) 0:00:16.103 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 21:22:28 +0000 (0:00:00.021) 0:00:16.125 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 21:22:28 +0000 (0:00:00.041) 0:00:16.166 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 21:22:28 +0000 (0:00:00.035) 0:00:16.202 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 21:22:28 +0000 (0:00:00.273) 0:00:16.475 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 21:22:29 +0000 (0:00:00.054) 0:00:16.530 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 21:22:29 +0000 (0:00:00.020) 0:00:16.550 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 21:22:29 +0000 (0:00:00.020) 0:00:16.570 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 21:22:29 +0000 (0:00:00.508) 0:00:17.079 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 21:22:29 +0000 (0:00:00.069) 0:00:17.148 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 21:22:29 +0000 (0:00:00.057) 0:00:17.205 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 21:22:29 +0000 (0:00:00.056) 0:00:17.262 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 21:22:29 +0000 (0:00:00.031) 0:00:17.293 ****** ok: [sut] => { "changed": false, "ping": "pong" } PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/down_profile+delete_interface.yml:5 Tuesday 13 February 2024 21:22:30 +0000 (0:00:00.292) 0:00:17.586 ****** ok: [sut] TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/down_profile+delete_interface.yml:8 Tuesday 13 February 2024 21:22:30 +0000 (0:00:00.716) 0:00:18.302 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 13 February 2024 21:22:30 +0000 (0:00:00.053) 0:00:18.356 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.011257", "end": "2024-02-13 21:22:31.002655", "rc": 0, "start": "2024-02-13 21:22:30.991398" } PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/remove_profile.yml:3 Tuesday 13 February 2024 21:22:31 +0000 (0:00:00.401) 0:00:18.758 ****** ok: [sut] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 21:22:31 +0000 (0:00:00.638) 0:00:19.396 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/.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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:22:31 +0000 (0:00:00.039) 0:00:19.435 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 21:22:31 +0000 (0:00:00.037) 0:00:19.472 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 21:22:32 +0000 (0:00:00.042) 0:00:19.515 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 21:22:32 +0000 (0:00:00.036) 0:00:19.551 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 21:22:32 +0000 (0:00:00.901) 0:00:20.453 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 21:22:33 +0000 (0:00:00.691) 0:00:21.145 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 21:22:33 +0000 (0:00:00.028) 0:00:21.173 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 21:22:33 +0000 (0:00:00.022) 0:00:21.195 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 21:22:33 +0000 (0:00:00.021) 0:00:21.217 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 21:22:33 +0000 (0:00:00.062) 0:00:21.279 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 21:22:33 +0000 (0:00:00.065) 0:00:21.344 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 21:22:33 +0000 (0:00:00.025) 0:00:21.369 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 21:22:33 +0000 (0:00:00.034) 0:00:21.403 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 21:22:34 +0000 (0:00:00.278) 0:00:21.682 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 21:22:34 +0000 (0:00:00.130) 0:00:21.812 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 21:22:34 +0000 (0:00:00.026) 0:00:21.839 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 21:22:34 +0000 (0:00:00.019) 0:00:21.859 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 21:22:34 +0000 (0:00:00.467) 0:00:22.326 ****** 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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 21:22:34 +0000 (0:00:00.032) 0:00:22.358 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 21:22:34 +0000 (0:00:00.076) 0:00:22.434 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "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-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 21:22:35 +0000 (0:00:00.080) 0:00:22.515 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 21:22:35 +0000 (0:00:00.044) 0:00:22.559 ****** ok: [sut] => { "changed": false, "ping": "pong" } PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:135 Tuesday 13 February 2024 21:22:35 +0000 (0:00:00.443) 0:00:23.003 ****** ok: [sut] TASK [Include the task 'assert_profile_absent.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:138 Tuesday 13 February 2024 21:22:36 +0000 (0:00:00.656) 0:00:23.659 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 13 February 2024 21:22:36 +0000 (0:00:00.028) 0:00:23.687 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 21:22:36 +0000 (0:00:00.029) 0:00:23.716 ****** 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-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 21:22:36 +0000 (0:00:00.019) 0:00:23.736 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 21:22:36 +0000 (0:00:00.149) 0:00:23.885 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 21:22:36 +0000 (0:00:00.031) 0:00:23.917 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.025107", "end": "2024-02-13 21:22:36.624363", "rc": 1, "start": "2024-02-13 21:22:36.599256" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 21:22:36 +0000 (0:00:00.217) 0:00:24.135 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 21:22:36 +0000 (0:00:00.023) 0:00:24.159 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 21:22:36 +0000 (0:00:00.029) 0:00:24.188 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest0] *************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 21:22:36 +0000 (0:00:00.019) 0:00:24.208 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest0] ************************ task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 21:22:36 +0000 (0:00:00.019) 0:00:24.227 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest0'] ************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 13 February 2024 21:22:36 +0000 (0:00:00.019) 0:00:24.247 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:142 Tuesday 13 February 2024 21:22:36 +0000 (0:00:00.020) 0:00:24.267 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 13 February 2024 21:22:36 +0000 (0:00:00.026) 0:00:24.294 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:22:36 +0000 (0:00:00.058) 0:00:24.353 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 13 February 2024 21:22:37 +0000 (0:00:00.165) 0:00:24.519 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:144 Tuesday 13 February 2024 21:22:37 +0000 (0:00:00.032) 0:00:24.551 ****** included: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 21:22:37 +0000 (0:00:00.044) 0:00:24.596 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :_\nfi\n", "delta": "0:00:00.008294", "end": "2024-02-13 21:22:37.270009", "rc": 0, "start": "2024-02-13 21:22:37.261715" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:07:73:2d:4b:a9 brd ff:ff:ff:ff:ff:ff inet 10.31.46.136/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 2656sec preferred_lft 2656sec inet6 fe80::7:73ff:fe2d:4ba9/64 scope link valid_lft forever preferred_lft forever 12: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether ce:d1:b9:97:34:a3 brd ff:ff:ff:ff:ff:ff 41: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 9e:b2:3e:37:fa:32 brd ff:ff:ff:ff:ff:ff 47: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether ae:98:c2:e6:a8:e8 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.136 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 13 February 2024 21:22:37 +0000 (0:00:00.189) 0:00:24.786 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=92 changed=6 unreachable=0 failed=0 skipped=73 rescued=0 ignored=1 Tuesday 13 February 2024 21:22:37 +0000 (0:00:00.088) 0:00:24.875 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 0.97s /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 0.90s /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.85s /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.82s /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-bond_options_rewriteun5tivel/tests/tests_route_table_nm.yml:6 ---- fedora.linux_system_roles.network : Check which packages are installed --- 0.78s /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/down_profile+delete_interface.yml:5 fedora.linux_system_roles.network : Check which packages are installed --- 0.69s /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.68s /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Check which packages are installed --- 0.68s /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/down_profile.yml:3 -- Gathering Facts --------------------------------------------------------- 0.66s /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:135 Gathering Facts --------------------------------------------------------- 0.64s /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/remove_profile.yml:3 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.58s /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Gathering Facts --------------------------------------------------------- 0.55s /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:3 Remove the dedicated test file in `/etc/iproute2/rt_tables.d/` ---------- 0.52s /WORKDIR/git-bond_options_rewriteun5tivel/tests/playbooks/tests_route_table.yml:121 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.51s /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.47s /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.46s /WORKDIR/git-bond_options_rewriteun5tivel/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---