# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /WORKDIR/git-bond_options_rewritedo1porgu/tests/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/tests_auto_gateway_initscripts.yml:5 Tuesday 06 February 2024 16:40:15 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/tests_auto_gateway_initscripts.yml:8 Tuesday 06 February 2024 16:40:16 +0000 (0:00:00.693) 0:00:00.707 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/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_rewritedo1porgu/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 16:40:16 +0000 (0:00:00.010) 0:00:00.718 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 16:40:16 +0000 (0:00:00.246) 0:00:00.964 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 16:40:16 +0000 (0:00:00.207) 0:00:01.171 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 16:40:17 +0000 (0:00:00.020) 0:00:01.192 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 16:40:17 +0000 (0:00:00.018) 0:00:01.211 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 16:40:17 +0000 (0:00:00.045) 0:00:01.256 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 16:40:17 +0000 (0:00:00.191) 0:00:01.448 ****** 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_rewritedo1porgu/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 16:40:17 +0000 (0:00:00.705) 0:00:02.153 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.218881", "end": "2024-02-06 16:40:18.297384", "rc": 0, "start": "2024-02-06 16:40:18.078503" } 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 = 1 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-bond_options_rewritedo1porgu/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 16:40:18 +0000 (0:00:00.338) 0:00:02.492 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 16:40:18 +0000 (0:00:00.010) 0:00:02.503 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/tests_auto_gateway_initscripts.yml:10 Tuesday 06 February 2024 16:40:18 +0000 (0:00:00.009) 0:00:02.512 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 06 February 2024 16:40:18 +0000 (0:00:00.010) 0:00:02.522 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 06 February 2024 16:40:18 +0000 (0:00:00.372) 0:00:02.895 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:40:18 +0000 (0:00:00.033) 0:00:02.929 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:40:18 +0000 (0:00:00.014) 0:00:02.943 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004874", "end": "2024-02-06 16:40:18.874021", "rc": 0, "start": "2024-02-06 16:40:18.869147" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:40:18 +0000 (0:00:00.129) 0:00:03.072 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:40:18 +0000 (0:00:00.013) 0:00:03.086 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 06 February 2024 16:40:18 +0000 (0:00:00.010) 0:00:03.097 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 16:40:18 +0000 (0:00:00.029) 0:00:03.127 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 16:40:18 +0000 (0:00:00.011) 0:00:03.138 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 16:40:18 +0000 (0:00:00.015) 0:00:03.153 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:40:18 +0000 (0:00:00.013) 0:00:03.167 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:40:19 +0000 (0:00:00.017) 0:00:03.184 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003471", "end": "2024-02-06 16:40:19.110855", "rc": 0, "start": "2024-02-06 16:40:19.107384" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:40:19 +0000 (0:00:00.120) 0:00:03.304 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:40:19 +0000 (0:00:00.011) 0:00:03.316 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 16:40:19 +0000 (0:00:00.010) 0:00:03.327 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 16:40:19 +0000 (0:00:00.370) 0:00:03.697 ****** 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.041182", "end": "2024-02-06 16:40:19.666864", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-06 16:40:19.625682" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003964", "end": "2024-02-06 16:40:19.794220", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-06 16:40:19.790256" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004121", "end": "2024-02-06 16:40:19.910509", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-06 16:40:19.906388" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 16:40:19 +0000 (0:00:00.409) 0:00:04.107 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.067432", "end": "2024-02-06 16:40:20.100762", "rc": 0, "start": "2024-02-06 16:40:20.033330" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 16:40:20 +0000 (0:00:00.192) 0:00:04.299 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 16:40:20 +0000 (0:00:00.011) 0:00:04.311 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 16:40:20 +0000 (0:00:00.011) 0:00:04.322 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 16:40:20 +0000 (0:00:00.011) 0:00:04.334 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 16:40:20 +0000 (0:00:00.010) 0:00:04.344 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 06 February 2024 16:40:20 +0000 (0:00:00.010) 0:00:04.355 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 16:40:20 +0000 (0:00:00.026) 0:00:04.381 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:40:20 +0000 (0:00:00.031) 0:00:04.413 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707237619.7095563, "block_size": 4096, "blocks": 0, "ctime": 1707237619.7085562, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17721, "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": 1707237619.7085562, "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-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 16:40:20 +0000 (0:00:00.127) 0:00:04.541 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 06 February 2024 16:40:20 +0000 (0:00:00.014) 0:00:04.555 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:40:20 +0000 (0:00:00.011) 0:00:04.567 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:40:20 +0000 (0:00:00.069) 0:00:04.637 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:40:20 +0000 (0:00:00.028) 0:00:04.665 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:40:20 +0000 (0:00:00.023) 0:00:04.688 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:40:20 +0000 (0:00:00.016) 0:00:04.705 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:40:21 +0000 (0:00:00.980) 0:00:05.686 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:40:22 +0000 (0:00:01.430) 0:00:07.116 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:40:22 +0000 (0:00:00.021) 0:00:07.138 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:40:22 +0000 (0:00:00.023) 0:00:07.161 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:40:23 +0000 (0:00:00.042) 0:00:07.204 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:40:23 +0000 (0:00:00.047) 0:00:07.252 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:40:23 +0000 (0:00:00.023) 0:00:07.275 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:40:23 +0000 (0:00:00.048) 0:00:07.324 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:40:23 +0000 (0:00:00.039) 0:00:07.363 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:40:23 +0000 (0:00:00.051) 0:00:07.414 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:40:23 +0000 (0:00:00.046) 0:00:07.461 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:40:23 +0000 (0:00:00.382) 0:00:07.844 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2335md0g55zn/tmpa0khq8x6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:40:23 +0000 (0:00:00.226) 0:00:08.071 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state ', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:40:30 +0000 (0:00:06.562) 0:00:14.634 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:40:30 +0000 (0:00:00.029) 0:00:14.663 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:40:30 +0000 (0:00:00.029) 0:00:14.693 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:40:30 +0000 (0:00:00.026) 0:00:14.719 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:40:30 +0000 (0:00:00.024) 0:00:14.744 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 06 February 2024 16:40:30 +0000 (0:00:00.211) 0:00:14.956 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 16:40:30 +0000 (0:00:00.067) 0:00:15.024 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:40:30 +0000 (0:00:00.033) 0:00:15.057 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707237619.7095563, "block_size": 4096, "blocks": 0, "ctime": 1707237619.7085562, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17721, "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": 1707237619.7085562, "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-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 16:40:31 +0000 (0:00:00.141) 0:00:15.198 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 06 February 2024 16:40:31 +0000 (0:00:00.044) 0:00:15.243 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 16:40:31 +0000 (0:00:00.059) 0:00:15.303 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/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_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:40:31 +0000 (0:00:00.038) 0:00:15.341 ****** 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_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:40:31 +0000 (0:00:00.021) 0:00:15.363 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707237624.2503874, "block_size": 4096, "blocks": 8, "ctime": 1707237624.237388, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25410, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707237624.237388, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "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-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:40:31 +0000 (0:00:00.131) 0:00:15.495 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:40:31 +0000 (0:00:00.032) 0:00:15.528 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023435", "end": "2024-02-06 16:40:31.485483", "rc": 1, "start": "2024-02-06 16:40:31.462048" } 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_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:40:31 +0000 (0:00:00.161) 0:00:15.690 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:40:31 +0000 (0:00:00.023) 0:00:15.713 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003382", "end": "2024-02-06 16:40:31.644303", "rc": 0, "start": "2024-02-06 16:40:31.640921" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:40:31 +0000 (0:00:00.196) 0:00:15.910 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:40:31 +0000 (0:00:00.041) 0:00:15.952 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003468", "end": "2024-02-06 16:40:31.885259", "rc": 0, "start": "2024-02-06 16:40:31.881791" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:40:31 +0000 (0:00:00.142) 0:00:16.094 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 16:40:31 +0000 (0:00:00.027) 0:00:16.121 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 16:40:31 +0000 (0:00:00.024) 0:00:16.145 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 16:40:31 +0000 (0:00:00.022) 0:00:16.168 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 06 February 2024 16:40:32 +0000 (0:00:00.022) 0:00:16.191 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003319", "end": "2024-02-06 16:40:32.119858", "rc": 0, "start": "2024-02-06 16:40:32.116539" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.120 metric 100 169.254.0.0/16 dev veth0 scope link metric 1004 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 06 February 2024 16:40:32 +0000 (0:00:00.133) 0:00:16.324 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 06 February 2024 16:40:32 +0000 (0:00:00.022) 0:00:16.347 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003515", "end": "2024-02-06 16:40:32.273865", "rc": 0, "start": "2024-02-06 16:40:32.270350" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 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 fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 06 February 2024 16:40:32 +0000 (0:00:00.130) 0:00:16.478 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 06 February 2024 16:40:32 +0000 (0:00:00.021) 0:00:16.499 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:40:32 +0000 (0:00:00.020) 0:00:16.520 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:40:32 +0000 (0:00:00.037) 0:00:16.557 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:40:32 +0000 (0:00:00.028) 0:00:16.586 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:40:32 +0000 (0:00:00.039) 0:00:16.625 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:40:32 +0000 (0:00:00.025) 0:00:16.650 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:40:33 +0000 (0:00:00.713) 0:00:17.363 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:40:34 +0000 (0:00:00.922) 0:00:18.286 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:40:34 +0000 (0:00:00.023) 0:00:18.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:40:34 +0000 (0:00:00.022) 0:00:18.333 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:40:34 +0000 (0:00:00.023) 0:00:18.356 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:40:34 +0000 (0:00:00.046) 0:00:18.403 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:40:34 +0000 (0:00:00.054) 0:00:18.458 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:40:34 +0000 (0:00:00.038) 0:00:18.496 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:40:34 +0000 (0:00:00.035) 0:00:18.532 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:40:34 +0000 (0:00:00.064) 0:00:18.596 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:40:34 +0000 (0:00:00.021) 0:00:18.617 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:40:34 +0000 (0:00:00.226) 0:00:18.844 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2335md0g55zn/tmpnqmngoxm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:40:34 +0000 (0:00:00.202) 0:00:19.046 ****** 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:40:35 +0000 (0:00:00.327) 0:00:19.373 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:40:35 +0000 (0:00:00.020) 0:00:19.394 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:40:35 +0000 (0:00:00.023) 0:00:19.417 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:40:35 +0000 (0:00:00.021) 0:00:19.439 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:40:35 +0000 (0:00:00.021) 0:00:19.460 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 06 February 2024 16:40:35 +0000 (0:00:00.128) 0:00:19.589 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 16:40:35 +0000 (0:00:00.048) 0:00:19.637 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 16:40:35 +0000 (0:00:00.021) 0:00:19.658 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 16:40:35 +0000 (0:00:00.020) 0:00:19.679 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:40:35 +0000 (0:00:00.066) 0:00:19.746 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:40:35 +0000 (0:00:00.036) 0:00:19.782 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003465", "end": "2024-02-06 16:40:35.716894", "rc": 0, "start": "2024-02-06 16:40:35.713429" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:40:35 +0000 (0:00:00.141) 0:00:19.923 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:40:35 +0000 (0:00:00.022) 0:00:19.946 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 16:40:35 +0000 (0:00:00.034) 0:00:19.981 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 16:40:36 +0000 (0:00:00.342) 0:00:20.323 ****** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 16:40:36 +0000 (0:00:00.031) 0:00:20.355 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 16:40:36 +0000 (0:00:00.021) 0:00:20.377 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008396", "end": "2024-02-06 16:40:36.312197", "rc": 0, "start": "2024-02-06 16:40:36.303801" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 16:40:36 +0000 (0:00:00.140) 0:00:20.517 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 16:40:36 +0000 (0:00:00.023) 0:00:20.541 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 16:40:36 +0000 (0:00:00.023) 0:00:20.565 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 16:40:36 +0000 (0:00:00.022) 0:00:20.588 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 06 February 2024 16:40:36 +0000 (0:00:00.020) 0:00:20.608 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 06 February 2024 16:40:36 +0000 (0:00:00.027) 0:00:20.636 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 16:40:36 +0000 (0:00:00.091) 0:00:20.728 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 16:40:36 +0000 (0:00:00.023) 0:00:20.752 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 16:40:36 +0000 (0:00:00.021) 0:00:20.773 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:40:36 +0000 (0:00:00.033) 0:00:20.807 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:40:36 +0000 (0:00:00.033) 0:00:20.840 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004519", "end": "2024-02-06 16:40:37.769408", "rc": 0, "start": "2024-02-06 16:40:36.764889" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:40:37 +0000 (0:00:01.152) 0:00:21.992 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:40:37 +0000 (0:00:00.033) 0:00:22.026 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 16:40:37 +0000 (0:00:00.043) 0:00:22.070 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 16:40:38 +0000 (0:00:00.355) 0:00:22.425 ****** 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.008775", "end": "2024-02-06 16:40:38.374091", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-06 16:40:38.365316" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003674", "end": "2024-02-06 16:40:38.503954", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-06 16:40:38.500280" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003532", "end": "2024-02-06 16:40:38.620121", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-06 16:40:38.616589" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 16:40:38 +0000 (0:00:00.434) 0:00:22.859 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021107", "end": "2024-02-06 16:40:38.807578", "rc": 0, "start": "2024-02-06 16:40:38.786471" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 16:40:38 +0000 (0:00:00.155) 0:00:23.015 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 16:40:38 +0000 (0:00:00.025) 0:00:23.041 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 16:40:38 +0000 (0:00:00.025) 0:00:23.066 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 16:40:38 +0000 (0:00:00.027) 0:00:23.094 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 16:40:38 +0000 (0:00:00.041) 0:00:23.135 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:40:38 +0000 (0:00:00.022) 0:00:23.157 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:40:39 +0000 (0:00:00.035) 0:00:23.193 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:40:39 +0000 (0:00:00.025) 0:00:23.219 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:40:39 +0000 (0:00:00.020) 0:00:23.239 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:40:39 +0000 (0:00:00.020) 0:00:23.259 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:40:39 +0000 (0:00:00.674) 0:00:23.934 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:40:40 +0000 (0:00:00.949) 0:00:24.883 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:40:40 +0000 (0:00:00.022) 0:00:24.906 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:40:40 +0000 (0:00:00.021) 0:00:24.927 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:40:40 +0000 (0:00:00.021) 0:00:24.949 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:40:40 +0000 (0:00:00.046) 0:00:24.996 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:40:40 +0000 (0:00:00.021) 0:00:25.017 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:40:40 +0000 (0:00:00.020) 0:00:25.038 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:40:40 +0000 (0:00:00.024) 0:00:25.063 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:40:40 +0000 (0:00:00.021) 0:00:25.084 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:40:40 +0000 (0:00:00.020) 0:00:25.104 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:40:41 +0000 (0:00:00.221) 0:00:25.325 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2335md0g55zn/tmpg0cymfbj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:40:41 +0000 (0:00:00.202) 0:00:25.528 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state ', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:40:47 +0000 (0:00:06.428) 0:00:31.956 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:40:47 +0000 (0:00:00.021) 0:00:31.978 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:40:47 +0000 (0:00:00.021) 0:00:32.000 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:40:47 +0000 (0:00:00.022) 0:00:32.022 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:40:47 +0000 (0:00:00.021) 0:00:32.043 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 06 February 2024 16:40:47 +0000 (0:00:00.126) 0:00:32.170 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 16:40:48 +0000 (0:00:00.049) 0:00:32.219 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:40:48 +0000 (0:00:00.067) 0:00:32.287 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707237641.5897424, "block_size": 4096, "blocks": 0, "ctime": 1707237638.374862, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17725, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1707237638.374862, "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-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 16:40:48 +0000 (0:00:00.133) 0:00:32.421 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 06 February 2024 16:40:48 +0000 (0:00:00.023) 0:00:32.444 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 16:40:48 +0000 (0:00:00.050) 0:00:32.495 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/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_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:40:48 +0000 (0:00:00.033) 0:00:32.528 ****** 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_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:40:48 +0000 (0:00:00.020) 0:00:32.549 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707237641.603742, "block_size": 4096, "blocks": 8, "ctime": 1707237641.5917423, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25406, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707237641.5917423, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "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-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:40:48 +0000 (0:00:00.129) 0:00:32.679 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:40:48 +0000 (0:00:00.022) 0:00:32.701 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022568", "end": "2024-02-06 16:40:48.649393", "rc": 1, "start": "2024-02-06 16:40:48.626825" } 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_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:40:48 +0000 (0:00:00.152) 0:00:32.853 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:40:48 +0000 (0:00:00.021) 0:00:32.875 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003433", "end": "2024-02-06 16:40:48.806731", "rc": 0, "start": "2024-02-06 16:40:48.803298" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:40:48 +0000 (0:00:00.141) 0:00:33.016 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:40:48 +0000 (0:00:00.029) 0:00:33.046 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003478", "end": "2024-02-06 16:40:48.978720", "rc": 0, "start": "2024-02-06 16:40:48.975242" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:40:49 +0000 (0:00:00.185) 0:00:33.231 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 16:40:49 +0000 (0:00:00.029) 0:00:33.261 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 16:40:49 +0000 (0:00:00.026) 0:00:33.287 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 16:40:49 +0000 (0:00:00.023) 0:00:33.310 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 06 February 2024 16:40:49 +0000 (0:00:00.022) 0:00:33.333 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003350", "end": "2024-02-06 16:40:49.260491", "rc": 0, "start": "2024-02-06 16:40:49.257141" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.120 metric 100 169.254.0.0/16 dev veth0 scope link metric 1006 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 06 February 2024 16:40:49 +0000 (0:00:00.132) 0:00:33.465 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 06 February 2024 16:40:49 +0000 (0:00:00.023) 0:00:33.488 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003515", "end": "2024-02-06 16:40:49.416549", "rc": 0, "start": "2024-02-06 16:40:49.413034" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 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 fe80::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 06 February 2024 16:40:49 +0000 (0:00:00.136) 0:00:33.624 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 06 February 2024 16:40:49 +0000 (0:00:00.021) 0:00:33.646 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:40:49 +0000 (0:00:00.021) 0:00:33.668 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:40:49 +0000 (0:00:00.036) 0:00:33.704 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:40:49 +0000 (0:00:00.025) 0:00:33.729 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:40:49 +0000 (0:00:00.020) 0:00:33.750 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:40:49 +0000 (0:00:00.020) 0:00:33.770 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:40:50 +0000 (0:00:00.711) 0:00:34.482 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:40:51 +0000 (0:00:00.922) 0:00:35.405 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:40:51 +0000 (0:00:00.043) 0:00:35.449 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:40:51 +0000 (0:00:00.029) 0:00:35.478 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:40:51 +0000 (0:00:00.035) 0:00:35.513 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:40:51 +0000 (0:00:00.054) 0:00:35.567 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:40:51 +0000 (0:00:00.038) 0:00:35.606 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:40:51 +0000 (0:00:00.023) 0:00:35.629 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:40:51 +0000 (0:00:00.024) 0:00:35.654 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:40:51 +0000 (0:00:00.021) 0:00:35.675 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:40:51 +0000 (0:00:00.020) 0:00:35.696 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:40:51 +0000 (0:00:00.222) 0:00:35.919 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2335md0g55zn/tmpx4vmoz1e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:40:51 +0000 (0:00:00.215) 0:00:36.134 ****** 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:40:52 +0000 (0:00:00.363) 0:00:36.497 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:40:52 +0000 (0:00:00.028) 0:00:36.526 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:40:52 +0000 (0:00:00.038) 0:00:36.564 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:40:52 +0000 (0:00:00.023) 0:00:36.587 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:40:52 +0000 (0:00:00.021) 0:00:36.609 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 06 February 2024 16:40:52 +0000 (0:00:00.125) 0:00:36.734 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 16:40:52 +0000 (0:00:00.054) 0:00:36.789 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 16:40:52 +0000 (0:00:00.025) 0:00:36.814 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 16:40:52 +0000 (0:00:00.021) 0:00:36.836 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:40:52 +0000 (0:00:00.033) 0:00:36.869 ****** included: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:40:52 +0000 (0:00:00.032) 0:00:36.902 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003443", "end": "2024-02-06 16:40:52.830013", "rc": 0, "start": "2024-02-06 16:40:52.826570" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:40:52 +0000 (0:00:00.172) 0:00:37.074 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:40:52 +0000 (0:00:00.023) 0:00:37.097 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 16:40:52 +0000 (0:00:00.023) 0:00:37.121 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 16:40:53 +0000 (0:00:00.346) 0:00:37.468 ****** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 16:40:53 +0000 (0:00:00.042) 0:00:37.511 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 16:40:53 +0000 (0:00:00.029) 0:00:37.541 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009958", "end": "2024-02-06 16:40:53.490926", "rc": 0, "start": "2024-02-06 16:40:53.480968" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 16:40:53 +0000 (0:00:00.161) 0:00:37.702 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 16:40:53 +0000 (0:00:00.026) 0:00:37.728 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 16:40:53 +0000 (0:00:00.023) 0:00:37.752 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 16:40:53 +0000 (0:00:00.022) 0:00:37.774 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=138 changed=4 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Tuesday 06 February 2024 16:40:53 +0000 (0:00:00.010) 0:00:37.784 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.56s /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 6.43s /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 1.43s /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which services are running ----------- 0.98s /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.71s /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.71s /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Install yum-utils package ----------------------------------------------- 0.71s /WORKDIR/git-bond_options_rewritedo1porgu/tests/tasks/enable_epel.yml:24 ------ Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-bond_options_rewritedo1porgu/tests/tests_auto_gateway_initscripts.yml:5 linux-system-roles.network : Configure networking connection profiles --- 0.69s /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 0.67s /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable network service --------------------- 0.45s /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Create veth interface veth0 --------------------------------------------- 0.43s /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.42s /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Create veth interface veth0 --------------------------------------------- 0.41s /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Enable network service --------------------- 0.38s /WORKDIR/git-bond_options_rewritedo1porgu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Gathering Facts --------------------------------------------------------- 0.37s /WORKDIR/git-bond_options_rewritedo1porgu/tests/playbooks/tests_auto_gateway.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---