# 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_nm.yml ******************************************** 2 plays in /WORKDIR/git-bond_options_rewritejycikpsa/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tests_auto_gateway_nm.yml:6 Wednesday 14 February 2024 17:11:52 +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-bond_options_rewritejycikpsa/tests/tests_auto_gateway_nm.yml:9 Wednesday 14 February 2024 17:11:52 +0000 (0:00:00.543) 0:00:00.555 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:11:52 +0000 (0:00:00.011) 0:00:00.567 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 17:11:53 +0000 (0:00:00.233) 0:00:00.800 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 17:11:53 +0000 (0:00:00.188) 0:00:00.988 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 17:11:53 +0000 (0:00:00.018) 0:00:01.007 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 17:11:53 +0000 (0:00:00.017) 0:00:01.024 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:11:53 +0000 (0:00:00.031) 0:00:01.055 **** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:11:53 +0000 (0:00:00.181) 0:00:01.237 **** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:11:54 +0000 (0:00:00.436) 0:00:01.673 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.179123", "end": "2024-02-14 17:11:54.344497", "rc": 0, "start": "2024-02-14 17:11:54.165374" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:11:54 +0000 (0:00:00.305) 0:00:01.979 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:11:54 +0000 (0:00:00.010) 0:00:01.990 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/tests_auto_gateway_nm.yml:11 Wednesday 14 February 2024 17:11:54 +0000 (0:00:00.009) 0:00:01.999 **** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 14 February 2024 17:11:54 +0000 (0:00:00.010) 0:00:02.009 **** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 14 February 2024 17:11:54 +0000 (0:00:00.365) 0:00:02.374 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:11:54 +0000 (0:00:00.022) 0:00:02.397 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:11:54 +0000 (0:00:00.012) 0:00:02.410 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003488", "end": "2024-02-14 17:11:54.921470", "rc": 0, "start": "2024-02-14 17:11:54.917982" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:11:54 +0000 (0:00:00.146) 0:00:02.556 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:11:54 +0000 (0:00:00.017) 0:00:02.573 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 14 February 2024 17:11:54 +0000 (0:00:00.016) 0:00:02.590 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.036) 0:00:02.626 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.010) 0:00:02.637 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.009) 0:00:02.647 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.013) 0:00:02.660 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.012) 0:00:02.672 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003562", "end": "2024-02-14 17:11:55.161218", "rc": 0, "start": "2024-02-14 17:11:55.157656" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.122) 0:00:02.795 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.010) 0:00:02.805 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.010) 0:00:02.816 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.373) 0:00:03.190 **** 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.013346", "end": "2024-02-14 17:11:55.693736", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 17:11:55.680390" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003834", "end": "2024-02-14 17:11:55.819275", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 17:11:55.815441" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004282", "end": "2024-02-14 17:11:55.937372", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 17:11:55.933090" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 17:11:55 +0000 (0:00:00.383) 0:00:03.573 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.046739", "end": "2024-02-14 17:11:56.105911", "rc": 0, "start": "2024-02-14 17:11:56.059172" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.176) 0:00:03.749 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.011) 0:00:03.761 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.016) 0:00:03.777 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.010) 0:00:03.788 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.010) 0:00:03.798 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.009) 0:00:03.807 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.025) 0:00:03.832 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.012) 0:00:03.845 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930715.691354, "block_size": 4096, "blocks": 0, "ctime": 1707930715.691354, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17693, "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": 1707930715.691354, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.123) 0:00:03.968 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.011) 0:00:03.980 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.009) 0:00:03.990 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.064) 0:00:04.054 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.013) 0:00:04.067 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.011) 0:00:04.079 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:11:56 +0000 (0:00:00.037) 0:00:04.116 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:11:57 +0000 (0:00:00.753) 0:00:04.870 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:11:58 +0000 (0:00:01.129) 0:00:05.999 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:11:58 +0000 (0:00:00.027) 0:00:06.026 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:11:58 +0000 (0:00:00.021) 0:00:06.048 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:11:58 +0000 (0:00:00.037) 0:00:06.085 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:11:58 +0000 (0:00:00.043) 0:00:06.129 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:11:58 +0000 (0:00:00.032) 0:00:06.161 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:11:58 +0000 (0:00:00.032) 0:00:06.194 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:11:58 +0000 (0:00:00.025) 0:00:06.219 **** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:11:58 +0000 (0:00:00.375) 0:00:06.594 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:11:58 +0000 (0:00:00.025) 0:00:06.620 **** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:11:59 +0000 (0:00:00.021) 0:00:06.641 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:11:59 +0000 (0:00:00.020) 0:00:06.662 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a447d4c1-7418-46e1-9df1-86210190563d [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a447d4c1-7418-46e1-9df1-86210190563d (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:11:59 +0000 (0:00:00.492) 0:00:07.155 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:11:59 +0000 (0:00:00.020) 0:00:07.176 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a447d4c1-7418-46e1-9df1-86210190563d", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a447d4c1-7418-46e1-9df1-86210190563d (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:11:59 +0000 (0:00:00.025) 0:00:07.201 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a447d4c1-7418-46e1-9df1-86210190563d\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a447d4c1-7418-46e1-9df1-86210190563d (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a447d4c1-7418-46e1-9df1-86210190563d", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a447d4c1-7418-46e1-9df1-86210190563d (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:11:59 +0000 (0:00:00.027) 0:00:07.229 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:11:59 +0000 (0:00:00.029) 0:00:07.259 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 14 February 2024 17:11:59 +0000 (0:00:00.221) 0:00:07.480 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:11:59 +0000 (0:00:00.045) 0:00:07.526 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:11:59 +0000 (0:00:00.034) 0:00:07.561 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930716.3313482, "block_size": 4096, "blocks": 0, "ctime": 1707930715.691354, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17693, "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": 1707930715.691354, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.197) 0:00:07.758 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.023) 0:00:07.782 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.047) 0:00:07.829 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.036) 0:00:07.866 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.035) 0:00:07.902 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930719.5373197, "block_size": 4096, "blocks": 8, "ctime": 1707930719.4213207, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25385, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707930719.4213207, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 403, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.133) 0:00:08.035 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.023) 0:00:08.059 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024606", "end": "2024-02-14 17:12:00.576035", "rc": 0, "start": "2024-02-14 17:12:00.551429" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.163) 0:00:08.222 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.023) 0:00:08.246 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.022) 0:00:08.269 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.022) 0:00:08.291 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.025) 0:00:08.317 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.027) 0:00:08.344 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.032) 0:00:08.377 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.042) 0:00:08.419 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 14 February 2024 17:12:00 +0000 (0:00:00.078) 0:00:08.498 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003864", "end": "2024-02-14 17:12:01.003511", "rc": 0, "start": "2024-02-14 17:12:00.999647" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.40 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.166) 0:00:08.664 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.030) 0:00:08.695 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003733", "end": "2024-02-14 17:12:01.185319", "rc": 0, "start": "2024-02-14 17:12:01.181586" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.134) 0:00:08.830 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.024) 0:00:08.854 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.021) 0:00:08.875 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.038) 0:00:08.914 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.025) 0:00:08.939 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.020) 0:00:08.959 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:12:01 +0000 (0:00:00.019) 0:00:08.978 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:12:02 +0000 (0:00:00.720) 0:00:09.699 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:12:03 +0000 (0:00:00.943) 0:00:10.643 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:12:03 +0000 (0:00:00.021) 0:00:10.664 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:12:03 +0000 (0:00:00.019) 0:00:10.683 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:12:03 +0000 (0:00:00.019) 0:00:10.703 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:12:03 +0000 (0:00:00.041) 0:00:10.745 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:12:03 +0000 (0:00:00.019) 0:00:10.765 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:12:03 +0000 (0:00:00.019) 0:00:10.784 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:12:03 +0000 (0:00:00.022) 0:00:10.807 **** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:12:03 +0000 (0:00:00.221) 0:00:11.029 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:12:03 +0000 (0:00:00.025) 0:00:11.054 **** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:12:03 +0000 (0:00:00.021) 0:00:11.076 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:12:03 +0000 (0:00:00.019) 0:00:11.096 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:12:03 +0000 (0:00:00.509) 0:00:11.606 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:12:04 +0000 (0:00:00.022) 0:00:11.628 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:12:04 +0000 (0:00:00.023) 0:00:11.651 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:12:04 +0000 (0:00:00.022) 0:00:11.674 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:12:04 +0000 (0:00:00.020) 0:00:11.694 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 14 February 2024 17:12:04 +0000 (0:00:00.141) 0:00:11.835 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:12:04 +0000 (0:00:00.058) 0:00:11.893 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:12:04 +0000 (0:00:00.023) 0:00:11.916 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:12:04 +0000 (0:00:00.023) 0:00:11.940 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:12:04 +0000 (0:00:00.036) 0:00:11.977 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:12:04 +0000 (0:00:00.034) 0:00:12.012 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003491", "end": "2024-02-14 17:12:04.502076", "rc": 0, "start": "2024-02-14 17:12:04.498585" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:12:04 +0000 (0:00:00.143) 0:00:12.156 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:12:04 +0000 (0:00:00.028) 0:00:12.184 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:12:04 +0000 (0:00:00.030) 0:00:12.214 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 17:12:04 +0000 (0:00:00.350) 0:00:12.565 **** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 17:12:04 +0000 (0:00:00.047) 0:00:12.613 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 17:12:05 +0000 (0:00:00.024) 0:00:12.638 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013178", "end": "2024-02-14 17:12:05.162333", "rc": 0, "start": "2024-02-14 17:12:05.149155" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 17:12:05 +0000 (0:00:00.177) 0:00:12.815 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 17:12:05 +0000 (0:00:00.024) 0:00:12.839 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:12:05 +0000 (0:00:00.022) 0:00:12.862 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 17:12:05 +0000 (0:00:00.020) 0:00:12.883 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 14 February 2024 17:12:05 +0000 (0:00:00.021) 0:00:12.904 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 14 February 2024 17:12:05 +0000 (0:00:00.020) 0:00:12.924 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:12:05 +0000 (0:00:00.050) 0:00:12.975 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:12:05 +0000 (0:00:00.021) 0:00:12.997 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:12:05 +0000 (0:00:00.021) 0:00:13.018 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:12:05 +0000 (0:00:00.034) 0:00:13.052 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:12:05 +0000 (0:00:00.069) 0:00:13.122 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004598", "end": "2024-02-14 17:12:06.613582", "rc": 0, "start": "2024-02-14 17:12:05.608984" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:12:06 +0000 (0:00:01.136) 0:00:14.259 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:12:06 +0000 (0:00:00.021) 0:00:14.280 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:12:06 +0000 (0:00:00.020) 0:00:14.301 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.341) 0:00:14.643 **** 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.011431", "end": "2024-02-14 17:12:07.144041", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 17:12:07.132610" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003361", "end": "2024-02-14 17:12:07.267586", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 17:12:07.264225" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003509", "end": "2024-02-14 17:12:07.386574", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 17:12:07.383065" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.391) 0:00:15.034 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.042650", "end": "2024-02-14 17:12:07.564332", "rc": 0, "start": "2024-02-14 17:12:07.521682" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.177) 0:00:15.212 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.022) 0:00:15.234 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.026) 0:00:15.261 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.049) 0:00:15.311 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.029) 0:00:15.340 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.137) 0:00:15.478 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.053) 0:00:15.531 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.042) 0:00:15.574 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:12:07 +0000 (0:00:00.038) 0:00:15.612 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:12:08 +0000 (0:00:00.030) 0:00:15.643 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:12:08 +0000 (0:00:00.700) 0:00:16.343 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:12:09 +0000 (0:00:00.920) 0:00:17.263 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:12:09 +0000 (0:00:00.021) 0:00:17.285 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:12:09 +0000 (0:00:00.052) 0:00:17.338 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:12:09 +0000 (0:00:00.020) 0:00:17.359 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:12:09 +0000 (0:00:00.041) 0:00:17.401 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:12:09 +0000 (0:00:00.020) 0:00:17.421 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:12:09 +0000 (0:00:00.019) 0:00:17.441 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:12:09 +0000 (0:00:00.025) 0:00:17.466 **** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:12:10 +0000 (0:00:00.227) 0:00:17.693 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:12:10 +0000 (0:00:00.029) 0:00:17.722 **** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:12:10 +0000 (0:00:00.020) 0:00:17.742 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:12:10 +0000 (0:00:00.021) 0:00:17.764 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, efa700a2-d206-4b71-8481-fdde9d6838bb [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, efa700a2-d206-4b71-8481-fdde9d6838bb (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:12:10 +0000 (0:00:00.351) 0:00:18.116 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:12:10 +0000 (0:00:00.019) 0:00:18.135 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, efa700a2-d206-4b71-8481-fdde9d6838bb", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, efa700a2-d206-4b71-8481-fdde9d6838bb (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:12:10 +0000 (0:00:00.022) 0:00:18.157 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, efa700a2-d206-4b71-8481-fdde9d6838bb\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, efa700a2-d206-4b71-8481-fdde9d6838bb (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, efa700a2-d206-4b71-8481-fdde9d6838bb", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, efa700a2-d206-4b71-8481-fdde9d6838bb (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:12:10 +0000 (0:00:00.021) 0:00:18.179 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:12:10 +0000 (0:00:00.019) 0:00:18.199 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 14 February 2024 17:12:10 +0000 (0:00:00.132) 0:00:18.331 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:12:10 +0000 (0:00:00.081) 0:00:18.412 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:12:10 +0000 (0:00:00.034) 0:00:18.447 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930730.358223, "block_size": 4096, "blocks": 0, "ctime": 1707930727.1432517, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17697, "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": 1707930727.1432517, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'veth0'] ************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:12:10 +0000 (0:00:00.162) 0:00:18.609 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.027) 0:00:18.637 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.052) 0:00:18.689 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.038) 0:00:18.727 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.027) 0:00:18.755 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930730.468222, "block_size": 4096, "blocks": 8, "ctime": 1707930730.4032226, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707930730.4032226, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 330, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.146) 0:00:18.901 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.022) 0:00:18.924 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024504", "end": "2024-02-14 17:12:11.434953", "rc": 0, "start": "2024-02-14 17:12:11.410449" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.168) 0:00:19.093 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.024) 0:00:19.117 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.058) 0:00:19.176 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.023) 0:00:19.199 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.021) 0:00:19.220 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.022) 0:00:19.243 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.022) 0:00:19.266 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.023) 0:00:19.289 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.020) 0:00:19.310 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003459", "end": "2024-02-14 17:12:11.800849", "rc": 0, "start": "2024-02-14 17:12:11.797390" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.40 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.135) 0:00:19.445 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.022) 0:00:19.468 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003830", "end": "2024-02-14 17:12:11.959308", "rc": 0, "start": "2024-02-14 17:12:11.955478" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 14 February 2024 17:12:11 +0000 (0:00:00.136) 0:00:19.604 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.022) 0:00:19.627 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.021) 0:00:19.648 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.036) 0:00:19.685 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.026) 0:00:19.711 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.021) 0:00:19.733 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.025) 0:00:19.759 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:12:12 +0000 (0:00:00.733) 0:00:20.492 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.924) 0:00:21.416 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.023) 0:00:21.440 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.021) 0:00:21.461 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.020) 0:00:21.482 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.041) 0:00:21.523 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.020) 0:00:21.544 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.020) 0:00:21.564 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:12:13 +0000 (0:00:00.024) 0:00:21.588 **** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.252) 0:00:21.841 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.025) 0:00:21.866 **** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.019) 0:00:21.886 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.019) 0:00:21.905 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.415) 0:00:22.321 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.020) 0:00:22.342 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.023) 0:00:22.365 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.022) 0:00:22.387 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.021) 0:00:22.409 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.129) 0:00:22.538 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.055) 0:00:22.594 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:12:14 +0000 (0:00:00.022) 0:00:22.617 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:12:15 +0000 (0:00:00.036) 0:00:22.653 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:12:15 +0000 (0:00:00.081) 0:00:22.735 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:12:15 +0000 (0:00:00.033) 0:00:22.769 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003470", "end": "2024-02-14 17:12:15.256469", "rc": 0, "start": "2024-02-14 17:12:15.252999" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:12:15 +0000 (0:00:00.132) 0:00:22.901 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:12:15 +0000 (0:00:00.021) 0:00:22.923 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:12:15 +0000 (0:00:00.021) 0:00:22.944 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 17:12:15 +0000 (0:00:00.337) 0:00:23.282 **** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 17:12:15 +0000 (0:00:00.030) 0:00:23.312 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 17:12:15 +0000 (0:00:00.020) 0:00:23.333 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012409", "end": "2024-02-14 17:12:15.832844", "rc": 0, "start": "2024-02-14 17:12:15.820435" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 17:12:15 +0000 (0:00:00.148) 0:00:23.481 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 17:12:15 +0000 (0:00:00.026) 0:00:23.507 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:12:15 +0000 (0:00:00.022) 0:00:23.530 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 17:12:15 +0000 (0:00:00.022) 0:00:23.552 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:153 Wednesday 14 February 2024 17:12:15 +0000 (0:00:00.022) 0:00:23.574 **** included: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 17:12:16 +0000 (0:00:00.125) 0:00:23.699 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007345", "end": "2024-02-14 17:12:16.192139", "rc": 0, "start": "2024-02-14 17:12:16.184794" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:3e:e2:5f:04:3d brd ff:ff:ff:ff:ff:ff inet 10.31.11.40/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3523sec preferred_lft 3523sec inet6 fe80::103e:e2ff:fe5f:43d/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.40 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 17:12:16 +0000 (0:00:00.138) 0:00:23.837 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.561599", "end": "2024-02-14 17:12:16.890475", "rc": 0, "start": "2024-02-14 17:12:16.328876" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 753 0 --:--:-- --:--:-- --:--:-- 754 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2160 0 --:--:-- --:--:-- --:--:-- 2171 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=133 changed=4 unreachable=0 failed=0 skipped=97 rescued=0 ignored=0 Wednesday 14 February 2024 17:12:16 +0000 (0:00:00.686) 0:00:24.524 **** =============================================================================== Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.13s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.92s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.73s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.72s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.70s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Verify DNS and ping still work ------------------------------------------ 0.69s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/check_network_dns.yml:24 Gathering Facts --------------------------------------------------------- 0.54s /WORKDIR/git-bond_options_rewritejycikpsa/tests/tests_auto_gateway_nm.yml:6 --- linux-system-roles.network : Configure networking connection profiles --- 0.49s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.47s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Install yum-utils package ----------------------------------------------- 0.44s /WORKDIR/git-bond_options_rewritejycikpsa/tests/tasks/enable_epel.yml:24 ------ Create veth interface veth0 --------------------------------------------- 0.39s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:28 Create veth interface veth0 --------------------------------------------- 0.38s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Enable and start NetworkManager ------------ 0.38s /WORKDIR/git-bond_options_rewritejycikpsa/tests/roles/linux-system-roles.network/tasks/main.yml:88 Install iproute --------------------------------------------------------- 0.37s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.37s /WORKDIR/git-bond_options_rewritejycikpsa/tests/playbooks/tests_auto_gateway.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---