# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /WORKDIR/git-bond_options_rewritex848oddu/tests/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/tests_auto_gateway_initscripts.yml:5 Monday 12 February 2024 22:57:20 +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_rewritex848oddu/tests/tests_auto_gateway_initscripts.yml:8 Monday 12 February 2024 22:57:21 +0000 (0:00:00.577) 0:00:00.590 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/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_rewritex848oddu/tests/tasks/el_repo_setup.yml:3 Monday 12 February 2024 22:57:21 +0000 (0:00:00.011) 0:00:00.601 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/tasks/el_repo_setup.yml:19 Monday 12 February 2024 22:57:21 +0000 (0:00:00.230) 0:00:00.832 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/tasks/el_repo_setup.yml:24 Monday 12 February 2024 22:57:21 +0000 (0:00:00.192) 0:00:01.025 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/tasks/el_repo_setup.yml:28 Monday 12 February 2024 22:57:21 +0000 (0:00:00.020) 0:00:01.045 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/tasks/el_repo_setup.yml:53 Monday 12 February 2024 22:57:22 +0000 (0:00:00.018) 0:00:01.064 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/tasks/enable_epel.yml:8 Monday 12 February 2024 22:57:22 +0000 (0:00:00.059) 0:00:01.123 ******* 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_rewritex848oddu/tests/tasks/enable_epel.yml:24 Monday 12 February 2024 22:57:22 +0000 (0:00:00.273) 0:00:01.397 ******* 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_rewritex848oddu/tests/tasks/enable_epel.yml:30 Monday 12 February 2024 22:57:22 +0000 (0:00:00.445) 0:00:01.843 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.189915", "end": "2024-02-12 22:57:23.079438", "rc": 0, "start": "2024-02-12 22:57:22.889523" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = 1 enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/tasks/enable_epel.yml:35 Monday 12 February 2024 22:57:23 +0000 (0:00:00.309) 0:00:02.153 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/tasks/enable_epel.yml:40 Monday 12 February 2024 22:57:23 +0000 (0:00:00.011) 0:00:02.165 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/tests_auto_gateway_initscripts.yml:10 Monday 12 February 2024 22:57:23 +0000 (0:00:00.009) 0:00:02.175 ******* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:3 Monday 12 February 2024 22:57:23 +0000 (0:00:00.019) 0:00:02.194 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:9 Monday 12 February 2024 22:57:23 +0000 (0:00:00.381) 0:00:02.575 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 22:57:23 +0000 (0:00:00.023) 0:00:02.599 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 22:57:23 +0000 (0:00:00.013) 0:00:02.613 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003366", "end": "2024-02-12 22:57:23.661652", "rc": 0, "start": "2024-02-12 22:57:23.658286" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 22:57:23 +0000 (0:00:00.121) 0:00:02.734 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 22:57:23 +0000 (0:00:00.012) 0:00:02.747 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:11 Monday 12 February 2024 22:57:23 +0000 (0:00:00.010) 0:00:02.757 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 12 February 2024 22:57:23 +0000 (0:00:00.028) 0:00:02.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 12 February 2024 22:57:23 +0000 (0:00:00.010) 0:00:02.797 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 12 February 2024 22:57:23 +0000 (0:00:00.009) 0:00:02.806 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 22:57:23 +0000 (0:00:00.013) 0:00:02.820 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 22:57:23 +0000 (0:00:00.013) 0:00:02.834 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003301", "end": "2024-02-12 22:57:23.882816", "rc": 0, "start": "2024-02-12 22:57:23.879515" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 22:57:23 +0000 (0:00:00.120) 0:00:02.954 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 22:57:23 +0000 (0:00:00.013) 0:00:02.968 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 12 February 2024 22:57:23 +0000 (0:00:00.010) 0:00:02.978 ******* 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_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 12 February 2024 22:57:24 +0000 (0:00:00.374) 0:00:03.353 ******* 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.171565", "end": "2024-02-12 22:57:24.578760", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-12 22:57:24.407195" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.005978", "end": "2024-02-12 22:57:24.709847", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-12 22:57:24.703869" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.006500", "end": "2024-02-12 22:57:24.829932", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-12 22:57:24.823432" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 12 February 2024 22:57:24 +0000 (0:00:00.553) 0:00:03.906 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.026151", "end": "2024-02-12 22:57:24.981671", "rc": 0, "start": "2024-02-12 22:57:24.955520" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 12 February 2024 22:57:25 +0000 (0:00:00.149) 0:00:04.056 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 12 February 2024 22:57:25 +0000 (0:00:00.011) 0:00:04.067 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 12 February 2024 22:57:25 +0000 (0:00:00.011) 0:00:04.079 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 12 February 2024 22:57:25 +0000 (0:00:00.010) 0:00:04.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 12 February 2024 22:57:25 +0000 (0:00:00.011) 0:00:04.101 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:15 Monday 12 February 2024 22:57:25 +0000 (0:00:00.010) 0:00:04.112 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/assert_device_present.yml:3 Monday 12 February 2024 22:57:25 +0000 (0:00:00.025) 0:00:04.137 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 22:57:25 +0000 (0:00:00.031) 0:00:04.169 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707778644.5830917, "block_size": 4096, "blocks": 0, "ctime": 1707778644.5830917, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17551, "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": 1707778644.5830917, "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_rewritex848oddu/tests/playbooks/tasks/assert_device_present.yml:5 Monday 12 February 2024 22:57:25 +0000 (0:00:00.124) 0:00:04.293 ******* 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_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:17 Monday 12 February 2024 22:57:25 +0000 (0:00:00.013) 0:00:04.306 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 12 February 2024 22:57:25 +0000 (0:00:00.010) 0:00:04.317 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 12 February 2024 22:57:25 +0000 (0:00:00.067) 0:00:04.384 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 12 February 2024 22:57:25 +0000 (0:00:00.012) 0:00:04.396 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 12 February 2024 22:57:25 +0000 (0:00:00.010) 0:00:04.407 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 12 February 2024 22:57:25 +0000 (0:00:00.009) 0:00:04.417 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 12 February 2024 22:57:26 +0000 (0:00:00.780) 0:00:05.197 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 12 February 2024 22:57:26 +0000 (0:00:00.764) 0:00:05.962 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 12 February 2024 22:57:26 +0000 (0:00:00.021) 0:00:05.983 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 12 February 2024 22:57:26 +0000 (0:00:00.020) 0:00:06.004 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 12 February 2024 22:57:26 +0000 (0:00:00.020) 0:00:06.024 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 12 February 2024 22:57:27 +0000 (0:00:00.042) 0:00:06.067 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 12 February 2024 22:57:27 +0000 (0:00:00.021) 0:00:06.089 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 12 February 2024 22:57:27 +0000 (0:00:00.021) 0:00:06.110 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 12 February 2024 22:57:27 +0000 (0:00:00.044) 0:00:06.155 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 12 February 2024 22:57:27 +0000 (0:00:00.021) 0:00:06.176 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 12 February 2024 22:57:27 +0000 (0:00:00.020) 0:00:06.197 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 12 February 2024 22:57:27 +0000 (0:00:00.363) 0:00:06.561 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2290u4_gd0aa/tmpgvjxgqcn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 12 February 2024 22:57:27 +0000 (0:00:00.203) 0:00:06.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": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state ', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 12 February 2024 22:57:34 +0000 (0:00:06.498) 0:00:13.263 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 12 February 2024 22:57:34 +0000 (0:00:00.022) 0:00:13.285 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 12 February 2024 22:57:34 +0000 (0:00:00.021) 0:00:13.306 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 12 February 2024 22:57:34 +0000 (0:00:00.022) 0:00:13.329 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 12 February 2024 22:57:34 +0000 (0:00:00.019) 0:00:13.348 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:42 Monday 12 February 2024 22:57:34 +0000 (0:00:00.207) 0:00:13.556 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/assert_device_present.yml:3 Monday 12 February 2024 22:57:34 +0000 (0:00:00.047) 0:00:13.603 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 22:57:34 +0000 (0:00:00.034) 0:00:13.638 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707778645.2180812, "block_size": 4096, "blocks": 0, "ctime": 1707778644.5830917, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17551, "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": 1707778644.5830917, "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_rewritex848oddu/tests/playbooks/tasks/assert_device_present.yml:5 Monday 12 February 2024 22:57:34 +0000 (0:00:00.131) 0:00:13.769 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:44 Monday 12 February 2024 22:57:34 +0000 (0:00:00.023) 0:00:13.792 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 12 February 2024 22:57:34 +0000 (0:00:00.073) 0:00:13.866 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/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_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 12 February 2024 22:57:34 +0000 (0:00:00.035) 0:00:13.902 ******* 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_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 12 February 2024 22:57:34 +0000 (0:00:00.021) 0:00:13.923 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707778648.0240352, "block_size": 4096, "blocks": 8, "ctime": 1707778648.0120354, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416145, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707778648.0120354, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 12 February 2024 22:57:35 +0000 (0:00:00.132) 0:00:14.056 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 12 February 2024 22:57:35 +0000 (0:00:00.023) 0:00:14.079 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022166", "end": "2024-02-12 22:57:35.150892", "rc": 1, "start": "2024-02-12 22:57:35.128726" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 12 February 2024 22:57:35 +0000 (0:00:00.155) 0:00:14.235 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 12 February 2024 22:57:35 +0000 (0:00:00.036) 0:00:14.271 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003404", "end": "2024-02-12 22:57:35.336569", "rc": 0, "start": "2024-02-12 22:57:35.333165" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 12 February 2024 22:57:35 +0000 (0:00:00.171) 0:00:14.443 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 12 February 2024 22:57:35 +0000 (0:00:00.027) 0:00:14.470 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003259", "end": "2024-02-12 22:57:35.538452", "rc": 0, "start": "2024-02-12 22:57:35.535193" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 12 February 2024 22:57:35 +0000 (0:00:00.159) 0:00:14.630 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 12 February 2024 22:57:35 +0000 (0:00:00.030) 0:00:14.661 ******* 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_rewritex848oddu/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 12 February 2024 22:57:35 +0000 (0:00:00.027) 0:00:14.688 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 12 February 2024 22:57:35 +0000 (0:00:00.027) 0:00:14.716 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:48 Monday 12 February 2024 22:57:35 +0000 (0:00:00.023) 0:00:14.740 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003226", "end": "2024-02-12 22:57:35.790555", "rc": 0, "start": "2024-02-12 22:57:35.787329" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.44 metric 100 169.254.0.0/16 dev veth0 scope link metric 1004 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:52 Monday 12 February 2024 22:57:35 +0000 (0:00:00.134) 0:00:14.874 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:58 Monday 12 February 2024 22:57:35 +0000 (0:00:00.023) 0:00:14.897 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003397", "end": "2024-02-12 22:57:35.945936", "rc": 0, "start": "2024-02-12 22:57:35.942539" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:62 Monday 12 February 2024 22:57:35 +0000 (0:00:00.133) 0:00:15.031 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:69 Monday 12 February 2024 22:57:36 +0000 (0:00:00.025) 0:00:15.057 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 12 February 2024 22:57:36 +0000 (0:00:00.027) 0:00:15.085 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 12 February 2024 22:57:36 +0000 (0:00:00.042) 0:00:15.128 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 12 February 2024 22:57:36 +0000 (0:00:00.026) 0:00:15.154 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 12 February 2024 22:57:36 +0000 (0:00:00.030) 0:00:15.185 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 12 February 2024 22:57:36 +0000 (0:00:00.030) 0:00:15.215 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 12 February 2024 22:57:36 +0000 (0:00:00.732) 0:00:15.948 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 12 February 2024 22:57:37 +0000 (0:00:00.667) 0:00:16.616 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 12 February 2024 22:57:37 +0000 (0:00:00.022) 0:00:16.639 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 12 February 2024 22:57:37 +0000 (0:00:00.020) 0:00:16.659 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 12 February 2024 22:57:37 +0000 (0:00:00.020) 0:00:16.680 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 12 February 2024 22:57:37 +0000 (0:00:00.042) 0:00:16.722 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 12 February 2024 22:57:37 +0000 (0:00:00.020) 0:00:16.743 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 12 February 2024 22:57:37 +0000 (0:00:00.020) 0:00:16.764 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 12 February 2024 22:57:37 +0000 (0:00:00.023) 0:00:16.787 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 12 February 2024 22:57:37 +0000 (0:00:00.020) 0:00:16.807 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 12 February 2024 22:57:37 +0000 (0:00:00.020) 0:00:16.828 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 12 February 2024 22:57:37 +0000 (0:00:00.224) 0:00:17.053 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2290u4_gd0aa/tmp3cu3ll01" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 12 February 2024 22:57:38 +0000 (0:00:00.314) 0:00:17.367 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 12 February 2024 22:57:38 +0000 (0:00:00.328) 0:00:17.696 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 12 February 2024 22:57:38 +0000 (0:00:00.022) 0:00:17.718 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 12 February 2024 22:57:38 +0000 (0:00:00.023) 0:00:17.742 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 12 February 2024 22:57:38 +0000 (0:00:00.061) 0:00:17.804 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 12 February 2024 22:57:38 +0000 (0:00:00.022) 0:00:17.826 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:81 Monday 12 February 2024 22:57:38 +0000 (0:00:00.130) 0:00:17.957 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 12 February 2024 22:57:38 +0000 (0:00:00.056) 0:00:18.013 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 12 February 2024 22:57:38 +0000 (0:00:00.023) 0:00:18.036 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 12 February 2024 22:57:39 +0000 (0:00:00.021) 0:00:18.057 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 22:57:39 +0000 (0:00:00.050) 0:00:18.107 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 22:57:39 +0000 (0:00:00.038) 0:00:18.146 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003287", "end": "2024-02-12 22:57:39.198047", "rc": 0, "start": "2024-02-12 22:57:39.194760" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 22:57:39 +0000 (0:00:00.164) 0:00:18.311 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 22:57:39 +0000 (0:00:00.040) 0:00:18.352 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 12 February 2024 22:57:39 +0000 (0:00:00.032) 0:00:18.384 ******* 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_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 12 February 2024 22:57:39 +0000 (0:00:00.332) 0:00:18.716 ******* 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_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 12 February 2024 22:57:39 +0000 (0:00:00.032) 0:00:18.749 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 12 February 2024 22:57:39 +0000 (0:00:00.056) 0:00:18.806 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009259", "end": "2024-02-12 22:57:39.863653", "rc": 0, "start": "2024-02-12 22:57:39.854394" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 12 February 2024 22:57:39 +0000 (0:00:00.142) 0:00:18.948 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 12 February 2024 22:57:39 +0000 (0:00:00.026) 0:00:18.975 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 12 February 2024 22:57:39 +0000 (0:00:00.026) 0:00:19.001 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 12 February 2024 22:57:39 +0000 (0:00:00.033) 0:00:19.035 ******* 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_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:85 Monday 12 February 2024 22:57:40 +0000 (0:00:00.037) 0:00:19.072 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:89 Monday 12 February 2024 22:57:40 +0000 (0:00:00.056) 0:00:19.129 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 12 February 2024 22:57:40 +0000 (0:00:00.071) 0:00:19.200 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 12 February 2024 22:57:40 +0000 (0:00:00.030) 0:00:19.231 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 12 February 2024 22:57:40 +0000 (0:00:00.034) 0:00:19.266 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 22:57:40 +0000 (0:00:00.065) 0:00:19.332 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 22:57:40 +0000 (0:00:00.047) 0:00:19.379 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004639", "end": "2024-02-12 22:57:41.477120", "rc": 0, "start": "2024-02-12 22:57:40.472481" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 22:57:41 +0000 (0:00:01.185) 0:00:20.564 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 22:57:41 +0000 (0:00:00.026) 0:00:20.591 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 12 February 2024 22:57:41 +0000 (0:00:00.031) 0:00:20.623 ******* 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_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 12 February 2024 22:57:41 +0000 (0:00:00.340) 0:00:20.963 ******* 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.008362", "end": "2024-02-12 22:57:42.022976", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-12 22:57:42.014614" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.005698", "end": "2024-02-12 22:57:42.147864", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-12 22:57:42.142166" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.006724", "end": "2024-02-12 22:57:42.267425", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-12 22:57:42.260701" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 12 February 2024 22:57:42 +0000 (0:00:00.389) 0:00:21.353 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.019900", "end": "2024-02-12 22:57:42.429253", "rc": 0, "start": "2024-02-12 22:57:42.409353" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 12 February 2024 22:57:42 +0000 (0:00:00.166) 0:00:21.520 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 12 February 2024 22:57:42 +0000 (0:00:00.022) 0:00:21.543 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 12 February 2024 22:57:42 +0000 (0:00:00.021) 0:00:21.564 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 12 February 2024 22:57:42 +0000 (0:00:00.021) 0:00:21.586 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 12 February 2024 22:57:42 +0000 (0:00:00.021) 0:00:21.608 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 12 February 2024 22:57:42 +0000 (0:00:00.021) 0:00:21.630 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 12 February 2024 22:57:42 +0000 (0:00:00.036) 0:00:21.666 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 12 February 2024 22:57:42 +0000 (0:00:00.059) 0:00:21.725 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 12 February 2024 22:57:42 +0000 (0:00:00.021) 0:00:21.746 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 12 February 2024 22:57:42 +0000 (0:00:00.021) 0:00:21.767 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 12 February 2024 22:57:43 +0000 (0:00:00.723) 0:00:22.491 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 12 February 2024 22:57:44 +0000 (0:00:00.628) 0:00:23.120 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 12 February 2024 22:57:44 +0000 (0:00:00.022) 0:00:23.142 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 12 February 2024 22:57:44 +0000 (0:00:00.020) 0:00:23.163 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 12 February 2024 22:57:44 +0000 (0:00:00.020) 0:00:23.183 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 12 February 2024 22:57:44 +0000 (0:00:00.041) 0:00:23.225 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 12 February 2024 22:57:44 +0000 (0:00:00.021) 0:00:23.246 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 12 February 2024 22:57:44 +0000 (0:00:00.020) 0:00:23.267 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 12 February 2024 22:57:44 +0000 (0:00:00.061) 0:00:23.328 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 12 February 2024 22:57:44 +0000 (0:00:00.021) 0:00:23.350 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 12 February 2024 22:57:44 +0000 (0:00:00.020) 0:00:23.371 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 12 February 2024 22:57:44 +0000 (0:00:00.224) 0:00:23.595 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2290u4_gd0aa/tmpyp5ds01d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 12 February 2024 22:57:44 +0000 (0:00:00.205) 0:00:23.801 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state ', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 12 February 2024 22:57:50 +0000 (0:00:05.404) 0:00:29.205 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 12 February 2024 22:57:50 +0000 (0:00:00.026) 0:00:29.232 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 12 February 2024 22:57:50 +0000 (0:00:00.023) 0:00:29.256 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state", "', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 12 February 2024 22:57:50 +0000 (0:00:00.069) 0:00:29.325 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 12 February 2024 22:57:50 +0000 (0:00:00.026) 0:00:29.352 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:110 Monday 12 February 2024 22:57:50 +0000 (0:00:00.134) 0:00:29.486 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/assert_device_present.yml:3 Monday 12 February 2024 22:57:50 +0000 (0:00:00.051) 0:00:29.537 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 22:57:50 +0000 (0:00:00.036) 0:00:29.574 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707778664.9367568, "block_size": 4096, "blocks": 0, "ctime": 1707778662.0218048, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17555, "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": 1707778662.0218048, "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_rewritex848oddu/tests/playbooks/tasks/assert_device_present.yml:5 Monday 12 February 2024 22:57:50 +0000 (0:00:00.138) 0:00:29.712 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:112 Monday 12 February 2024 22:57:50 +0000 (0:00:00.023) 0:00:29.736 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 12 February 2024 22:57:50 +0000 (0:00:00.050) 0:00:29.786 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/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_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 12 February 2024 22:57:50 +0000 (0:00:00.045) 0:00:29.832 ******* 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_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 12 February 2024 22:57:50 +0000 (0:00:00.025) 0:00:29.858 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707778664.9507565, "block_size": 4096, "blocks": 8, "ctime": 1707778664.938757, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416145, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707778664.938757, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 12 February 2024 22:57:50 +0000 (0:00:00.151) 0:00:30.009 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 12 February 2024 22:57:50 +0000 (0:00:00.028) 0:00:30.038 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021514", "end": "2024-02-12 22:57:51.128143", "rc": 1, "start": "2024-02-12 22:57:51.106629" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 12 February 2024 22:57:51 +0000 (0:00:00.203) 0:00:30.242 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 12 February 2024 22:57:51 +0000 (0:00:00.023) 0:00:30.265 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003339", "end": "2024-02-12 22:57:51.317259", "rc": 0, "start": "2024-02-12 22:57:51.313920" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 12 February 2024 22:57:51 +0000 (0:00:00.136) 0:00:30.402 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 12 February 2024 22:57:51 +0000 (0:00:00.026) 0:00:30.429 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003566", "end": "2024-02-12 22:57:51.483399", "rc": 0, "start": "2024-02-12 22:57:51.479833" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 12 February 2024 22:57:51 +0000 (0:00:00.139) 0:00:30.568 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 12 February 2024 22:57:51 +0000 (0:00:00.027) 0:00:30.596 ******* 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_rewritex848oddu/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 12 February 2024 22:57:51 +0000 (0:00:00.024) 0:00:30.620 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 12 February 2024 22:57:51 +0000 (0:00:00.023) 0:00:30.643 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:116 Monday 12 February 2024 22:57:51 +0000 (0:00:00.021) 0:00:30.665 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003317", "end": "2024-02-12 22:57:51.718711", "rc": 0, "start": "2024-02-12 22:57:51.715394" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.44 metric 100 169.254.0.0/16 dev veth0 scope link metric 1006 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:120 Monday 12 February 2024 22:57:51 +0000 (0:00:00.136) 0:00:30.801 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:126 Monday 12 February 2024 22:57:51 +0000 (0:00:00.026) 0:00:30.828 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003456", "end": "2024-02-12 22:57:51.882092", "rc": 0, "start": "2024-02-12 22:57:51.878636" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:130 Monday 12 February 2024 22:57:51 +0000 (0:00:00.138) 0:00:30.966 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:137 Monday 12 February 2024 22:57:51 +0000 (0:00:00.022) 0:00:30.989 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 12 February 2024 22:57:51 +0000 (0:00:00.022) 0:00:31.012 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 12 February 2024 22:57:51 +0000 (0:00:00.036) 0:00:31.049 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 12 February 2024 22:57:52 +0000 (0:00:00.067) 0:00:31.116 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 12 February 2024 22:57:52 +0000 (0:00:00.021) 0:00:31.138 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 12 February 2024 22:57:52 +0000 (0:00:00.021) 0:00:31.159 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 12 February 2024 22:57:52 +0000 (0:00:00.725) 0:00:31.884 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 12 February 2024 22:57:53 +0000 (0:00:00.629) 0:00:32.514 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 12 February 2024 22:57:53 +0000 (0:00:00.024) 0:00:32.538 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 12 February 2024 22:57:53 +0000 (0:00:00.020) 0:00:32.558 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 12 February 2024 22:57:53 +0000 (0:00:00.021) 0:00:32.579 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 12 February 2024 22:57:53 +0000 (0:00:00.042) 0:00:32.622 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 12 February 2024 22:57:53 +0000 (0:00:00.022) 0:00:32.645 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 12 February 2024 22:57:53 +0000 (0:00:00.072) 0:00:32.717 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 12 February 2024 22:57:53 +0000 (0:00:00.026) 0:00:32.744 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 12 February 2024 22:57:53 +0000 (0:00:00.024) 0:00:32.768 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 12 February 2024 22:57:53 +0000 (0:00:00.021) 0:00:32.790 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 12 February 2024 22:57:53 +0000 (0:00:00.235) 0:00:33.025 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2290u4_gd0aa/tmppgveukrt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 12 February 2024 22:57:54 +0000 (0:00:00.287) 0:00:33.313 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 12 February 2024 22:57:54 +0000 (0:00:00.340) 0:00:33.653 ******* 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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 12 February 2024 22:57:54 +0000 (0:00:00.020) 0:00:33.674 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 12 February 2024 22:57:54 +0000 (0:00:00.022) 0:00:33.696 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 12 February 2024 22:57:54 +0000 (0:00:00.021) 0:00:33.718 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 12 February 2024 22:57:54 +0000 (0:00:00.021) 0:00:33.739 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:149 Monday 12 February 2024 22:57:54 +0000 (0:00:00.141) 0:00:33.881 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 12 February 2024 22:57:54 +0000 (0:00:00.062) 0:00:33.944 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 12 February 2024 22:57:54 +0000 (0:00:00.031) 0:00:33.976 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 12 February 2024 22:57:55 +0000 (0:00:00.088) 0:00:34.064 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 22:57:55 +0000 (0:00:00.041) 0:00:34.106 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 22:57:55 +0000 (0:00:00.041) 0:00:34.147 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004528", "end": "2024-02-12 22:57:56.199757", "rc": 0, "start": "2024-02-12 22:57:55.195229" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 22:57:56 +0000 (0:00:01.136) 0:00:35.284 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 22:57:56 +0000 (0:00:00.023) 0:00:35.308 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 12 February 2024 22:57:56 +0000 (0:00:00.022) 0:00:35.330 ******* 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_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:28 Monday 12 February 2024 22:57:56 +0000 (0:00:00.328) 0:00:35.659 ******* 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_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:37 Monday 12 February 2024 22:57:56 +0000 (0:00:00.034) 0:00:35.694 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 12 February 2024 22:57:56 +0000 (0:00:00.022) 0:00:35.716 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009135", "end": "2024-02-12 22:57:56.773729", "rc": 0, "start": "2024-02-12 22:57:56.764594" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:52 Monday 12 February 2024 22:57:56 +0000 (0:00:00.139) 0:00:35.856 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:58 Monday 12 February 2024 22:57:56 +0000 (0:00:00.072) 0:00:35.929 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 12 February 2024 22:57:56 +0000 (0:00:00.024) 0:00:35.954 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:71 Monday 12 February 2024 22:57:56 +0000 (0:00:00.025) 0:00:35.979 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:153 Monday 12 February 2024 22:57:56 +0000 (0:00:00.022) 0:00:36.001 ******* included: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/check_network_dns.yml:6 Monday 12 February 2024 22:57:57 +0000 (0:00:00.055) 0:00:36.057 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=139 changed=4 unreachable=0 failed=0 skipped=90 rescued=0 ignored=2 Monday 12 February 2024 22:57:57 +0000 (0:00:00.014) 0:00:36.072 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.50s /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 5.40s /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gather current interface info ------------------------------------------- 1.19s /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.76s /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.73s /WORKDIR/git-bond_options_rewritex848oddu/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_rewritex848oddu/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_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 0.67s /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.67s /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.63s /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.63s /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.60s /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gathering Facts --------------------------------------------------------- 0.58s /WORKDIR/git-bond_options_rewritex848oddu/tests/tests_auto_gateway_initscripts.yml:5 Create veth interface veth0 --------------------------------------------- 0.55s /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Enable network service --------------------- 0.46s /WORKDIR/git-bond_options_rewritex848oddu/tests/roles/linux-system-roles.network/tasks/main.yml:108 Install yum-utils package ----------------------------------------------- 0.45s /WORKDIR/git-bond_options_rewritex848oddu/tests/tasks/enable_epel.yml:24 ------ Create veth interface veth0 --------------------------------------------- 0.39s /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tasks/manage_test_interface.yml:28 Gathering Facts --------------------------------------------------------- 0.38s /WORKDIR/git-bond_options_rewritex848oddu/tests/playbooks/tests_auto_gateway.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---