# 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-route_typeifdmts5q/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-route_typeifdmts5q/tests/tests_auto_gateway_initscripts.yml:5 Friday 12 January 2024 20:09:51 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeifdmts5q/tests/tests_auto_gateway_initscripts.yml:8 Friday 12 January 2024 20:09:52 +0000 (0:00:00.844) 0:00:00.856 ******** included: /WORKDIR/git-route_typeifdmts5q/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-route_typeifdmts5q/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 20:09:52 +0000 (0:00:00.013) 0:00:00.870 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/tasks/el_repo_setup.yml:19 Friday 12 January 2024 20:09:52 +0000 (0:00:00.236) 0:00:01.106 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/tasks/el_repo_setup.yml:24 Friday 12 January 2024 20:09:52 +0000 (0:00:00.194) 0:00:01.300 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/tasks/el_repo_setup.yml:28 Friday 12 January 2024 20:09:52 +0000 (0:00:00.026) 0:00:01.326 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/tasks/el_repo_setup.yml:53 Friday 12 January 2024 20:09:52 +0000 (0:00:00.022) 0:00:01.348 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 20:09:52 +0000 (0:00:00.033) 0:00:01.382 ******** 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-route_typeifdmts5q/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 20:09:52 +0000 (0:00:00.171) 0:00:01.554 ******** 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-route_typeifdmts5q/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 20:09:53 +0000 (0:00:00.870) 0:00:02.425 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.197145", "end": "2024-01-12 20:09:54.078388", "rc": 0, "start": "2024-01-12 20:09:53.881243" } 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-route_typeifdmts5q/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 20:09:54 +0000 (0:00:00.330) 0:00:02.755 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 20:09:54 +0000 (0:00:00.026) 0:00:02.781 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/tests_auto_gateway_initscripts.yml:10 Friday 12 January 2024 20:09:54 +0000 (0:00:00.012) 0:00:02.794 ******** 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-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:3 Friday 12 January 2024 20:09:54 +0000 (0:00:00.025) 0:00:02.820 ******** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:9 Friday 12 January 2024 20:09:54 +0000 (0:00:00.367) 0:00:03.187 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:09:54 +0000 (0:00:00.023) 0:00:03.211 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:09:54 +0000 (0:00:00.015) 0:00:03.227 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.005458", "end": "2024-01-12 20:09:54.690741", "rc": 0, "start": "2024-01-12 20:09:54.685283" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:09:54 +0000 (0:00:00.129) 0:00:03.357 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:09:54 +0000 (0:00:00.012) 0:00:03.370 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:11 Friday 12 January 2024 20:09:54 +0000 (0:00:00.011) 0:00:03.381 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 12 January 2024 20:09:54 +0000 (0:00:00.030) 0:00:03.411 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 12 January 2024 20:09:54 +0000 (0:00:00.012) 0:00:03.424 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 12 January 2024 20:09:54 +0000 (0:00:00.015) 0:00:03.440 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:09:54 +0000 (0:00:00.015) 0:00:03.456 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:09:54 +0000 (0:00:00.019) 0:00:03.475 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004492", "end": "2024-01-12 20:09:55.942730", "rc": 0, "start": "2024-01-12 20:09:54.938238" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:09:55 +0000 (0:00:01.134) 0:00:04.610 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:09:55 +0000 (0:00:00.013) 0:00:04.624 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 12 January 2024 20:09:55 +0000 (0:00:00.011) 0:00:04.635 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:24 Friday 12 January 2024 20:09:56 +0000 (0:00:00.377) 0:00:05.013 ******** 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.049754", "end": "2024-01-12 20:09:56.545685", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-12 20:09:56.495931" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003511", "end": "2024-01-12 20:09:56.672577", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-12 20:09:56.669066" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004519", "end": "2024-01-12 20:09:56.805591", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-12 20:09:56.801072" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:33 Friday 12 January 2024 20:09:56 +0000 (0:00:00.460) 0:00:05.473 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.086300", "end": "2024-01-12 20:09:57.023659", "rc": 0, "start": "2024-01-12 20:09:56.937359" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:41 Friday 12 January 2024 20:09:57 +0000 (0:00:00.223) 0:00:05.697 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:48 Friday 12 January 2024 20:09:57 +0000 (0:00:00.012) 0:00:05.709 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 12 January 2024 20:09:57 +0000 (0:00:00.037) 0:00:05.747 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:61 Friday 12 January 2024 20:09:57 +0000 (0:00:00.028) 0:00:05.776 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:67 Friday 12 January 2024 20:09:57 +0000 (0:00:00.014) 0:00:05.790 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:15 Friday 12 January 2024 20:09:57 +0000 (0:00:00.011) 0:00:05.802 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:09:57 +0000 (0:00:00.047) 0:00:05.849 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:09:57 +0000 (0:00:00.019) 0:00:05.869 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090196.5823445, "block_size": 4096, "blocks": 0, "ctime": 1705090196.5823445, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17720, "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": 1705090196.5823445, "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-route_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:09:57 +0000 (0:00:00.124) 0:00:05.993 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:17 Friday 12 January 2024 20:09:57 +0000 (0:00:00.013) 0:00:06.006 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:09:57 +0000 (0:00:00.010) 0:00:06.017 ******** included: /WORKDIR/git-route_typeifdmts5q/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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:09:57 +0000 (0:00:00.068) 0:00:06.085 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:09:57 +0000 (0:00:00.014) 0:00:06.100 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:09:57 +0000 (0:00:00.011) 0:00:06.111 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:09:57 +0000 (0:00:00.011) 0:00:06.123 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:09:58 +0000 (0:00:01.071) 0:00:07.194 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:10:00 +0000 (0:00:01.784) 0:00:08.979 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:10:00 +0000 (0:00:00.022) 0:00:09.002 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:10:00 +0000 (0:00:00.022) 0:00:09.025 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:10:00 +0000 (0:00:00.061) 0:00:09.086 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:10:00 +0000 (0:00:00.045) 0:00:09.132 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:10:00 +0000 (0:00:00.023) 0:00:09.156 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:10:00 +0000 (0:00:00.023) 0:00:09.179 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:10:00 +0000 (0:00:00.041) 0:00:09.221 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:10:00 +0000 (0:00:00.028) 0:00:09.249 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:10:00 +0000 (0:00:00.045) 0:00:09.295 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:10:01 +0000 (0:00:00.445) 0:00:09.740 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2548i6zvkjho/tmppikox7jt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:10:01 +0000 (0:00:00.282) 0:00:10.023 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:10:07 +0000 (0:00:06.610) 0:00:16.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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:10:08 +0000 (0:00:00.027) 0:00:16.661 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:10:08 +0000 (0:00:00.024) 0:00:16.686 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:10:08 +0000 (0:00:00.036) 0:00:16.723 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:10:08 +0000 (0:00:00.038) 0:00:16.761 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:42 Friday 12 January 2024 20:10:08 +0000 (0:00:00.228) 0:00:16.990 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:10:08 +0000 (0:00:00.069) 0:00:17.059 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:10:08 +0000 (0:00:00.034) 0:00:17.093 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090197.3253407, "block_size": 4096, "blocks": 0, "ctime": 1705090196.5823445, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17720, "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": 1705090196.5823445, "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-route_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:10:08 +0000 (0:00:00.140) 0:00:17.234 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:44 Friday 12 January 2024 20:10:08 +0000 (0:00:00.031) 0:00:17.265 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 20:10:08 +0000 (0:00:00.069) 0:00:17.334 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:10:08 +0000 (0:00:00.039) 0:00:17.374 ******** 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-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:10:08 +0000 (0:00:00.034) 0:00:17.408 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090201.759318, "block_size": 4096, "blocks": 8, "ctime": 1705090201.746318, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705090201.746318, "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-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:10:08 +0000 (0:00:00.134) 0:00:17.542 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:10:08 +0000 (0:00:00.024) 0:00:17.567 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023952", "end": "2024-01-12 20:10:09.046663", "rc": 1, "start": "2024-01-12 20:10:09.022711" } 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-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:10:09 +0000 (0:00:00.155) 0:00:17.723 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:10:09 +0000 (0:00:00.028) 0:00:17.752 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003395", "end": "2024-01-12 20:10:09.212970", "rc": 0, "start": "2024-01-12 20:10:09.209575" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:10:09 +0000 (0:00:00.171) 0:00:17.923 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:10:09 +0000 (0:00:00.028) 0:00:17.951 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003456", "end": "2024-01-12 20:10:09.413161", "rc": 0, "start": "2024-01-12 20:10:09.409705" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:10:09 +0000 (0:00:00.139) 0:00:18.091 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 20:10:09 +0000 (0:00:00.030) 0:00:18.121 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 20:10:09 +0000 (0:00:00.029) 0:00:18.151 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 20:10:09 +0000 (0:00:00.029) 0:00:18.180 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:48 Friday 12 January 2024 20:10:09 +0000 (0:00:00.026) 0:00:18.207 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003360", "end": "2024-01-12 20:10:09.667485", "rc": 0, "start": "2024-01-12 20:10:09.664125" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.206 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-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:52 Friday 12 January 2024 20:10:09 +0000 (0:00:00.138) 0:00:18.345 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:58 Friday 12 January 2024 20:10:09 +0000 (0:00:00.030) 0:00:18.375 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003530", "end": "2024-01-12 20:10:09.838042", "rc": 0, "start": "2024-01-12 20:10:09.834512" } 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-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:62 Friday 12 January 2024 20:10:09 +0000 (0:00:00.144) 0:00:18.520 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:69 Friday 12 January 2024 20:10:09 +0000 (0:00:00.024) 0:00:18.545 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:10:09 +0000 (0:00:00.022) 0:00:18.567 ******** included: /WORKDIR/git-route_typeifdmts5q/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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:10:09 +0000 (0:00:00.038) 0:00:18.606 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:10:09 +0000 (0:00:00.027) 0:00:18.634 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:10:10 +0000 (0:00:00.026) 0:00:18.660 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:10:10 +0000 (0:00:00.021) 0:00:18.682 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:10:10 +0000 (0:00:00.738) 0:00:19.420 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:10:11 +0000 (0:00:00.929) 0:00:20.349 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:10:11 +0000 (0:00:00.025) 0:00:20.375 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:10:11 +0000 (0:00:00.023) 0:00:20.398 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:10:11 +0000 (0:00:00.024) 0:00:20.422 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:10:11 +0000 (0:00:00.049) 0:00:20.471 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:10:11 +0000 (0:00:00.023) 0:00:20.495 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:10:11 +0000 (0:00:00.023) 0:00:20.518 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:10:11 +0000 (0:00:00.038) 0:00:20.556 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:10:11 +0000 (0:00:00.025) 0:00:20.581 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:10:11 +0000 (0:00:00.037) 0:00:20.619 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:10:12 +0000 (0:00:00.322) 0:00:20.941 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2548i6zvkjho/tmpnne5hr14" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:10:12 +0000 (0:00:00.229) 0:00:21.171 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:10:12 +0000 (0:00:00.350) 0:00:21.522 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:10:12 +0000 (0:00:00.022) 0:00:21.544 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:10:12 +0000 (0:00:00.023) 0:00:21.568 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:10:12 +0000 (0:00:00.024) 0:00:21.593 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:10:12 +0000 (0:00:00.022) 0:00:21.615 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:81 Friday 12 January 2024 20:10:13 +0000 (0:00:00.143) 0:00:21.758 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 12 January 2024 20:10:13 +0000 (0:00:00.080) 0:00:21.839 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 12 January 2024 20:10:13 +0000 (0:00:00.026) 0:00:21.866 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 12 January 2024 20:10:13 +0000 (0:00:00.027) 0:00:21.893 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:10:13 +0000 (0:00:00.039) 0:00:21.932 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:10:13 +0000 (0:00:00.089) 0:00:22.021 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003553", "end": "2024-01-12 20:10:13.480348", "rc": 0, "start": "2024-01-12 20:10:13.476795" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:10:13 +0000 (0:00:00.139) 0:00:22.160 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:10:13 +0000 (0:00:00.027) 0:00:22.188 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 12 January 2024 20:10:13 +0000 (0:00:00.023) 0:00:22.212 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:24 Friday 12 January 2024 20:10:14 +0000 (0:00:00.460) 0:00:22.672 ******** 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-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:33 Friday 12 January 2024 20:10:14 +0000 (0:00:00.039) 0:00:22.712 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:41 Friday 12 January 2024 20:10:14 +0000 (0:00:00.027) 0:00:22.739 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010624", "end": "2024-01-12 20:10:14.217076", "rc": 0, "start": "2024-01-12 20:10:14.206452" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:48 Friday 12 January 2024 20:10:14 +0000 (0:00:00.168) 0:00:22.907 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 12 January 2024 20:10:14 +0000 (0:00:00.034) 0:00:22.942 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:61 Friday 12 January 2024 20:10:14 +0000 (0:00:00.025) 0:00:22.967 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:67 Friday 12 January 2024 20:10:14 +0000 (0:00:00.037) 0:00:23.005 ******** 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-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:85 Friday 12 January 2024 20:10:14 +0000 (0:00:00.030) 0:00:23.036 ******** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:89 Friday 12 January 2024 20:10:14 +0000 (0:00:00.039) 0:00:23.075 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 12 January 2024 20:10:14 +0000 (0:00:00.074) 0:00:23.150 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 12 January 2024 20:10:14 +0000 (0:00:00.079) 0:00:23.230 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 12 January 2024 20:10:14 +0000 (0:00:00.045) 0:00:23.275 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:10:14 +0000 (0:00:00.051) 0:00:23.327 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:10:14 +0000 (0:00:00.050) 0:00:23.377 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004742", "end": "2024-01-12 20:10:15.837798", "rc": 0, "start": "2024-01-12 20:10:14.833056" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:10:15 +0000 (0:00:01.139) 0:00:24.517 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:10:15 +0000 (0:00:00.024) 0:00:24.541 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 12 January 2024 20:10:15 +0000 (0:00:00.023) 0:00:24.565 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:24 Friday 12 January 2024 20:10:16 +0000 (0:00:00.338) 0:00:24.903 ******** ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.010329", "end": "2024-01-12 20:10:16.373716", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-12 20:10:16.363387" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003288", "end": "2024-01-12 20:10:16.494671", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-12 20:10:16.491383" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004096", "end": "2024-01-12 20:10:16.625890", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-12 20:10:16.621794" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:33 Friday 12 January 2024 20:10:16 +0000 (0:00:00.402) 0:00:25.306 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021051", "end": "2024-01-12 20:10:16.783106", "rc": 0, "start": "2024-01-12 20:10:16.762055" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:41 Friday 12 January 2024 20:10:16 +0000 (0:00:00.170) 0:00:25.476 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:48 Friday 12 January 2024 20:10:16 +0000 (0:00:00.099) 0:00:25.576 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 12 January 2024 20:10:16 +0000 (0:00:00.039) 0:00:25.616 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:61 Friday 12 January 2024 20:10:16 +0000 (0:00:00.025) 0:00:25.641 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:67 Friday 12 January 2024 20:10:17 +0000 (0:00:00.023) 0:00:25.665 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:10:17 +0000 (0:00:00.021) 0:00:25.687 ******** included: /WORKDIR/git-route_typeifdmts5q/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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:10:17 +0000 (0:00:00.042) 0:00:25.729 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:10:17 +0000 (0:00:00.028) 0:00:25.757 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:10:17 +0000 (0:00:00.022) 0:00:25.779 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:10:17 +0000 (0:00:00.021) 0:00:25.801 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:10:17 +0000 (0:00:00.681) 0:00:26.483 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:10:18 +0000 (0:00:00.947) 0:00:27.431 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:10:18 +0000 (0:00:00.023) 0:00:27.454 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:10:18 +0000 (0:00:00.023) 0:00:27.478 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:10:18 +0000 (0:00:00.022) 0:00:27.500 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:10:18 +0000 (0:00:00.046) 0:00:27.546 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:10:18 +0000 (0:00:00.023) 0:00:27.570 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:10:18 +0000 (0:00:00.021) 0:00:27.592 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:10:18 +0000 (0:00:00.025) 0:00:27.618 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:10:18 +0000 (0:00:00.023) 0:00:27.641 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:10:19 +0000 (0:00:00.023) 0:00:27.665 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:10:19 +0000 (0:00:00.229) 0:00:27.895 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2548i6zvkjho/tmpo22rllvg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:10:19 +0000 (0:00:00.308) 0:00:28.203 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:10:25 +0000 (0:00:06.417) 0:00:34.621 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:10:25 +0000 (0:00:00.026) 0:00:34.648 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:10:26 +0000 (0:00:00.031) 0:00:34.680 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:10:26 +0000 (0:00:00.027) 0:00:34.708 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:10:26 +0000 (0:00:00.034) 0:00:34.743 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:110 Friday 12 January 2024 20:10:26 +0000 (0:00:00.137) 0:00:34.880 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:10:26 +0000 (0:00:00.100) 0:00:34.980 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:10:26 +0000 (0:00:00.037) 0:00:35.017 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090219.7692258, "block_size": 4096, "blocks": 0, "ctime": 1705090216.373243, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17724, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1705090216.373243, "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-route_typeifdmts5q/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:10:26 +0000 (0:00:00.162) 0:00:35.179 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:112 Friday 12 January 2024 20:10:26 +0000 (0:00:00.037) 0:00:35.217 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 20:10:26 +0000 (0:00:00.078) 0:00:35.295 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:10:26 +0000 (0:00:00.037) 0:00:35.332 ******** 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-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:10:26 +0000 (0:00:00.023) 0:00:35.356 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090219.7822256, "block_size": 4096, "blocks": 8, "ctime": 1705090219.7702258, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25401, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705090219.7702258, "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-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:10:26 +0000 (0:00:00.134) 0:00:35.490 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:10:26 +0000 (0:00:00.035) 0:00:35.525 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022095", "end": "2024-01-12 20:10:27.004355", "rc": 1, "start": "2024-01-12 20:10:26.982260" } 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-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:10:27 +0000 (0:00:00.154) 0:00:35.680 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:10:27 +0000 (0:00:00.024) 0:00:35.705 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003416", "end": "2024-01-12 20:10:27.167708", "rc": 0, "start": "2024-01-12 20:10:27.164292" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:10:27 +0000 (0:00:00.141) 0:00:35.846 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:10:27 +0000 (0:00:00.070) 0:00:35.916 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003310", "end": "2024-01-12 20:10:27.386562", "rc": 0, "start": "2024-01-12 20:10:27.383252" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:10:27 +0000 (0:00:00.153) 0:00:36.070 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 20:10:27 +0000 (0:00:00.027) 0:00:36.098 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 20:10:27 +0000 (0:00:00.027) 0:00:36.125 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 20:10:27 +0000 (0:00:00.033) 0:00:36.159 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:116 Friday 12 January 2024 20:10:27 +0000 (0:00:00.024) 0:00:36.183 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003347", "end": "2024-01-12 20:10:27.642973", "rc": 0, "start": "2024-01-12 20:10:27.639626" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.206 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-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:120 Friday 12 January 2024 20:10:27 +0000 (0:00:00.136) 0:00:36.320 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:126 Friday 12 January 2024 20:10:27 +0000 (0:00:00.032) 0:00:36.352 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003518", "end": "2024-01-12 20:10:27.822607", "rc": 0, "start": "2024-01-12 20:10:27.819089" } 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-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:130 Friday 12 January 2024 20:10:27 +0000 (0:00:00.146) 0:00:36.498 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:137 Friday 12 January 2024 20:10:27 +0000 (0:00:00.021) 0:00:36.520 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 20:10:27 +0000 (0:00:00.023) 0:00:36.543 ******** included: /WORKDIR/git-route_typeifdmts5q/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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 20:10:27 +0000 (0:00:00.038) 0:00:36.581 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 20:10:27 +0000 (0:00:00.028) 0:00:36.610 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 20:10:27 +0000 (0:00:00.023) 0:00:36.633 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 20:10:28 +0000 (0:00:00.028) 0:00:36.661 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 20:10:28 +0000 (0:00:00.677) 0:00:37.338 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 20:10:29 +0000 (0:00:00.916) 0:00:38.255 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 20:10:29 +0000 (0:00:00.025) 0:00:38.280 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 20:10:29 +0000 (0:00:00.022) 0:00:38.303 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 20:10:29 +0000 (0:00:00.028) 0:00:38.331 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 20:10:29 +0000 (0:00:00.047) 0:00:38.378 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 20:10:29 +0000 (0:00:00.024) 0:00:38.402 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 20:10:29 +0000 (0:00:00.023) 0:00:38.425 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 20:10:29 +0000 (0:00:00.028) 0:00:38.454 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 20:10:29 +0000 (0:00:00.023) 0:00:38.478 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 20:10:29 +0000 (0:00:00.022) 0:00:38.501 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 20:10:30 +0000 (0:00:00.318) 0:00:38.819 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2548i6zvkjho/tmpi7r_2asp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 20:10:30 +0000 (0:00:00.279) 0:00:39.098 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 20:10:30 +0000 (0:00:00.349) 0:00:39.448 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 20:10:30 +0000 (0:00:00.025) 0:00:39.474 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 20:10:30 +0000 (0:00:00.030) 0:00:39.505 ******** 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-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 20:10:30 +0000 (0:00:00.024) 0:00:39.529 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 20:10:30 +0000 (0:00:00.034) 0:00:39.564 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tests_auto_gateway.yml:149 Friday 12 January 2024 20:10:31 +0000 (0:00:00.191) 0:00:39.756 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 12 January 2024 20:10:31 +0000 (0:00:00.107) 0:00:39.864 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 12 January 2024 20:10:31 +0000 (0:00:00.042) 0:00:39.906 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 12 January 2024 20:10:31 +0000 (0:00:00.035) 0:00:39.941 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:10:31 +0000 (0:00:00.040) 0:00:39.981 ******** included: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:10:31 +0000 (0:00:00.122) 0:00:40.104 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004568", "end": "2024-01-12 20:10:32.567312", "rc": 0, "start": "2024-01-12 20:10:31.562744" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:10:32 +0000 (0:00:01.148) 0:00:41.253 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:10:32 +0000 (0:00:00.024) 0:00:41.277 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 12 January 2024 20:10:32 +0000 (0:00:00.022) 0:00:41.299 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:24 Friday 12 January 2024 20:10:32 +0000 (0:00:00.334) 0:00:41.633 ******** 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-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:33 Friday 12 January 2024 20:10:33 +0000 (0:00:00.035) 0:00:41.668 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:41 Friday 12 January 2024 20:10:33 +0000 (0:00:00.023) 0:00:41.692 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010525", "end": "2024-01-12 20:10:33.161055", "rc": 0, "start": "2024-01-12 20:10:33.150530" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:48 Friday 12 January 2024 20:10:33 +0000 (0:00:00.154) 0:00:41.847 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 12 January 2024 20:10:33 +0000 (0:00:00.024) 0:00:41.871 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:61 Friday 12 January 2024 20:10:33 +0000 (0:00:00.024) 0:00:41.896 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:67 Friday 12 January 2024 20:10:33 +0000 (0:00:00.023) 0:00:41.919 ******** 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 Friday 12 January 2024 20:10:33 +0000 (0:00:00.018) 0:00:41.938 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.61s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 6.42s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.78s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which services are running ----------- 1.07s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install yum-utils package ----------------------------------------------- 0.87s /WORKDIR/git-route_typeifdmts5q/tests/tasks/enable_epel.yml:24 ---------------- Gathering Facts --------------------------------------------------------- 0.84s /WORKDIR/git-route_typeifdmts5q/tests/tests_auto_gateway_initscripts.yml:5 ---- linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 0.70s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 0.68s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.68s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable network service --------------------- 0.64s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.51s /WORKDIR/git-route_typeifdmts5q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Install iproute --------------------------------------------------------- 0.46s /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:16 Create veth interface veth0 --------------------------------------------- 0.46s /WORKDIR/git-route_typeifdmts5q/tests/playbooks/tasks/manage_test_interface.yml:24 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---