# 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_rewritepl2tn22t/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_rewritepl2tn22t/tests/tests_auto_gateway_initscripts.yml:5 Friday 02 February 2024 18:43:06 +0000 (0:00:00.017) 0:00:00.017 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tests_auto_gateway_initscripts.yml:8 Friday 02 February 2024 18:43:06 +0000 (0:00:00.630) 0:00:00.648 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/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_rewritepl2tn22t/tests/tasks/el_repo_setup.yml:3 Friday 02 February 2024 18:43:06 +0000 (0:00:00.013) 0:00:00.662 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/el_repo_setup.yml:19 Friday 02 February 2024 18:43:07 +0000 (0:00:00.333) 0:00:00.995 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/el_repo_setup.yml:24 Friday 02 February 2024 18:43:07 +0000 (0:00:00.271) 0:00:01.267 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/el_repo_setup.yml:28 Friday 02 February 2024 18:43:07 +0000 (0:00:00.024) 0:00:01.292 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/el_repo_setup.yml:53 Friday 02 February 2024 18:43:07 +0000 (0:00:00.021) 0:00:01.313 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/enable_epel.yml:8 Friday 02 February 2024 18:43:07 +0000 (0:00:00.045) 0:00:01.358 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.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_rewritepl2tn22t/tests/tasks/enable_epel.yml:24 Friday 02 February 2024 18:43:07 +0000 (0:00:00.259) 0:00:01.618 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/enable_epel.yml:30 Friday 02 February 2024 18:43:07 +0000 (0:00:00.013) 0:00:01.631 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/enable_epel.yml:35 Friday 02 February 2024 18:43:07 +0000 (0:00:00.013) 0:00:01.645 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.243863", "end": "2024-02-02 18:43:08.391580", "rc": 0, "start": "2024-02-02 18:43:08.147717" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tasks/enable_epel.yml:40 Friday 02 February 2024 18:43:08 +0000 (0:00:00.434) 0:00:02.079 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/tests_auto_gateway_initscripts.yml:10 Friday 02 February 2024 18:43:08 +0000 (0:00:00.013) 0:00:02.092 ******* 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_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:3 Friday 02 February 2024 18:43:08 +0000 (0:00:00.016) 0:00:02.109 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:9 Friday 02 February 2024 18:43:08 +0000 (0:00:00.485) 0:00:02.594 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 18:43:08 +0000 (0:00:00.031) 0:00:02.626 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 18:43:08 +0000 (0:00:00.017) 0:00:02.644 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003017", "end": "2024-02-02 18:43:09.147137", "rc": 0, "start": "2024-02-02 18:43:09.144120" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 18:43:09 +0000 (0:00:00.187) 0:00:02.831 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 18:43:09 +0000 (0:00:00.015) 0:00:02.846 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:11 Friday 02 February 2024 18:43:09 +0000 (0:00:00.013) 0:00:02.860 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 02 February 2024 18:43:09 +0000 (0:00:00.038) 0:00:02.898 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 02 February 2024 18:43:09 +0000 (0:00:00.015) 0:00:02.913 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 02 February 2024 18:43:09 +0000 (0:00:00.014) 0:00:02.928 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 18:43:09 +0000 (0:00:00.019) 0:00:02.947 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 18:43:09 +0000 (0:00:00.018) 0:00:02.965 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003628", "end": "2024-02-02 18:43:09.472180", "rc": 0, "start": "2024-02-02 18:43:09.468552" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 18:43:09 +0000 (0:00:00.191) 0:00:03.156 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 18:43:09 +0000 (0:00:00.014) 0:00:03.171 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 02 February 2024 18:43:09 +0000 (0:00:00.013) 0:00:03.185 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 02 February 2024 18:43:12 +0000 (0:00:02.833) 0:00:06.018 ******* 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.020017", "end": "2024-02-02 18:43:12.544170", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-02 18:43:12.524153" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003782", "end": "2024-02-02 18:43:12.761844", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-02 18:43:12.758062" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004033", "end": "2024-02-02 18:43:12.943652", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-02 18:43:12.939619" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 02 February 2024 18:43:12 +0000 (0:00:00.611) 0:00:06.630 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.125825", "end": "2024-02-02 18:43:13.260521", "rc": 0, "start": "2024-02-02 18:43:13.134696" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 02 February 2024 18:43:13 +0000 (0:00:00.317) 0:00:06.947 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 02 February 2024 18:43:13 +0000 (0:00:00.014) 0:00:06.962 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 02 February 2024 18:43:13 +0000 (0:00:00.015) 0:00:06.978 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 02 February 2024 18:43:13 +0000 (0:00:00.014) 0:00:06.992 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 02 February 2024 18:43:13 +0000 (0:00:00.014) 0:00:07.007 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:15 Friday 02 February 2024 18:43:13 +0000 (0:00:00.014) 0:00:07.021 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml:3 Friday 02 February 2024 18:43:13 +0000 (0:00:00.062) 0:00:07.084 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 18:43:13 +0000 (0:00:00.018) 0:00:07.103 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706899392.5342255, "block_size": 4096, "blocks": 0, "ctime": 1706899392.5342255, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21627, "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": 1706899392.5342255, "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_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml:5 Friday 02 February 2024 18:43:13 +0000 (0:00:00.196) 0:00:07.299 ******* 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_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:17 Friday 02 February 2024 18:43:13 +0000 (0:00:00.020) 0:00:07.320 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 02 February 2024 18:43:13 +0000 (0:00:00.017) 0:00:07.337 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 02 February 2024 18:43:13 +0000 (0:00:00.098) 0:00:07.436 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 02 February 2024 18:43:13 +0000 (0:00:00.018) 0:00:07.454 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 02 February 2024 18:43:13 +0000 (0:00:00.017) 0:00:07.471 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 02 February 2024 18:43:13 +0000 (0:00:00.014) 0:00:07.485 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 02 February 2024 18:43:15 +0000 (0:00:01.492) 0:00:08.978 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 02 February 2024 18:43:16 +0000 (0:00:01.484) 0:00:10.462 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 02 February 2024 18:43:16 +0000 (0:00:00.029) 0:00:10.491 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 02 February 2024 18:43:16 +0000 (0:00:00.028) 0:00:10.519 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 02 February 2024 18:43:16 +0000 (0:00:00.028) 0:00:10.548 ******* changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 02 February 2024 18:43:51 +0000 (0:00:34.181) 0:00:44.729 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 02 February 2024 18:43:51 +0000 (0:00:00.027) 0:00:44.757 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 02 February 2024 18:43:51 +0000 (0:00:00.053) 0:00:44.811 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 02 February 2024 18:43:51 +0000 (0:00:00.036) 0:00:44.848 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 02 February 2024 18:43:51 +0000 (0:00:00.027) 0:00:44.875 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 02 February 2024 18:43:51 +0000 (0:00:00.026) 0:00:44.901 ******* changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 02 February 2024 18:43:52 +0000 (0:00:00.806) 0:00:45.708 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1912h3wt_fee/tmpn0rxgz4n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 02 February 2024 18:43:52 +0000 (0:00:00.305) 0:00:46.013 ******* 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='b"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='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 02 February 2024 18:43:59 +0000 (0:00:06.814) 0:00:52.828 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 02 February 2024 18:43:59 +0000 (0:00:00.029) 0:00:52.857 ******* 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='b\"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='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 02 February 2024 18:43:59 +0000 (0:00:00.032) 0:00:52.890 ******* 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='b\"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='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b\"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='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 02 February 2024 18:43:59 +0000 (0:00:00.031) 0:00:52.922 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 02 February 2024 18:43:59 +0000 (0:00:00.029) 0:00:52.952 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:42 Friday 02 February 2024 18:43:59 +0000 (0:00:00.291) 0:00:53.244 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml:3 Friday 02 February 2024 18:43:59 +0000 (0:00:00.086) 0:00:53.330 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 18:43:59 +0000 (0:00:00.046) 0:00:53.377 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706899392.5342255, "block_size": 4096, "blocks": 0, "ctime": 1706899392.5342255, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21627, "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": 1706899392.5342255, "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_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml:5 Friday 02 February 2024 18:43:59 +0000 (0:00:00.208) 0:00:53.586 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:44 Friday 02 February 2024 18:43:59 +0000 (0:00:00.032) 0:00:53.618 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 02 February 2024 18:44:00 +0000 (0:00:00.065) 0:00:53.684 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 02 February 2024 18:44:00 +0000 (0:00:00.050) 0:00:53.734 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 02 February 2024 18:44:00 +0000 (0:00:00.031) 0:00:53.765 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706899432.7636547, "block_size": 4096, "blocks": 8, "ctime": 1706899432.7436552, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706899432.7436552, "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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 02 February 2024 18:44:00 +0000 (0:00:00.205) 0:00:53.971 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 02 February 2024 18:44:00 +0000 (0:00:00.035) 0:00:54.006 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021073", "end": "2024-02-02 18:44:00.531495", "rc": 1, "start": "2024-02-02 18:44:00.510422" } 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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 02 February 2024 18:44:00 +0000 (0:00:00.251) 0:00:54.257 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 02 February 2024 18:44:00 +0000 (0:00:00.030) 0:00:54.288 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002966", "end": "2024-02-02 18:44:00.799717", "rc": 0, "start": "2024-02-02 18:44:00.796751" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 02 February 2024 18:44:00 +0000 (0:00:00.211) 0:00:54.500 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 02 February 2024 18:44:00 +0000 (0:00:00.034) 0:00:54.535 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003144", "end": "2024-02-02 18:44:01.044811", "rc": 0, "start": "2024-02-02 18:44:01.041667" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 02 February 2024 18:44:01 +0000 (0:00:00.218) 0:00:54.753 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 02 February 2024 18:44:01 +0000 (0:00:00.036) 0:00:54.790 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 02 February 2024 18:44:01 +0000 (0:00:00.035) 0:00:54.825 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 02 February 2024 18:44:01 +0000 (0:00:00.032) 0:00:54.858 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:48 Friday 02 February 2024 18:44:01 +0000 (0:00:00.029) 0:00:54.887 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003868", "end": "2024-02-02 18:44:01.395940", "rc": 0, "start": "2024-02-02 18:44:01.392072" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.202 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.202 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_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:52 Friday 02 February 2024 18:44:01 +0000 (0:00:00.206) 0:00:55.094 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:58 Friday 02 February 2024 18:44:01 +0000 (0:00:00.031) 0:00:55.125 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003900", "end": "2024-02-02 18:44:01.635328", "rc": 0, "start": "2024-02-02 18:44:01.631428" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:62 Friday 02 February 2024 18:44:01 +0000 (0:00:00.207) 0:00:55.333 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:69 Friday 02 February 2024 18:44:01 +0000 (0:00:00.027) 0:00:55.361 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 02 February 2024 18:44:01 +0000 (0:00:00.026) 0:00:55.388 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 02 February 2024 18:44:01 +0000 (0:00:00.092) 0:00:55.480 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 02 February 2024 18:44:01 +0000 (0:00:00.035) 0:00:55.516 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 02 February 2024 18:44:01 +0000 (0:00:00.028) 0:00:55.545 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 02 February 2024 18:44:01 +0000 (0:00:00.029) 0:00:55.574 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 02 February 2024 18:44:03 +0000 (0:00:01.526) 0:00:57.100 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 02 February 2024 18:44:04 +0000 (0:00:01.300) 0:00:58.401 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 02 February 2024 18:44:04 +0000 (0:00:00.029) 0:00:58.431 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 02 February 2024 18:44:04 +0000 (0:00:00.026) 0:00:58.458 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 02 February 2024 18:44:04 +0000 (0:00:00.027) 0:00:58.485 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 02 February 2024 18:44:04 +0000 (0:00:00.061) 0:00:58.547 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 02 February 2024 18:44:04 +0000 (0:00:00.029) 0:00:58.576 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 02 February 2024 18:44:04 +0000 (0:00:00.027) 0:00:58.603 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 02 February 2024 18:44:04 +0000 (0:00:00.033) 0:00:58.637 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 02 February 2024 18:44:04 +0000 (0:00:00.027) 0:00:58.665 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 02 February 2024 18:44:05 +0000 (0:00:00.027) 0:00:58.692 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 02 February 2024 18:44:05 +0000 (0:00:00.356) 0:00:59.049 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1912h3wt_fee/tmpxipstow_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 02 February 2024 18:44:05 +0000 (0:00:00.335) 0:00:59.385 ******* 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='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 02 February 2024 18:44:06 +0000 (0:00:00.456) 0:00:59.842 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 02 February 2024 18:44:06 +0000 (0:00:00.029) 0:00:59.871 ******* 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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 02 February 2024 18:44:06 +0000 (0:00:00.034) 0:00:59.905 ******* 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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 02 February 2024 18:44:06 +0000 (0:00:00.030) 0:00:59.936 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 02 February 2024 18:44:06 +0000 (0:00:00.027) 0:00:59.963 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:81 Friday 02 February 2024 18:44:06 +0000 (0:00:00.210) 0:01:00.173 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 02 February 2024 18:44:06 +0000 (0:00:00.069) 0:01:00.243 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 02 February 2024 18:44:06 +0000 (0:00:00.027) 0:01:00.271 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 02 February 2024 18:44:06 +0000 (0:00:00.028) 0:01:00.299 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 18:44:06 +0000 (0:00:00.046) 0:01:00.345 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 18:44:06 +0000 (0:00:00.082) 0:01:00.428 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003329", "end": "2024-02-02 18:44:06.938188", "rc": 0, "start": "2024-02-02 18:44:06.934859" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 18:44:06 +0000 (0:00:00.208) 0:01:00.637 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 18:44:07 +0000 (0:00:00.029) 0:01:00.667 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 02 February 2024 18:44:07 +0000 (0:00:00.029) 0:01:00.696 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 02 February 2024 18:44:09 +0000 (0:00:02.545) 0:01:03.241 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 02 February 2024 18:44:09 +0000 (0:00:00.042) 0:01:03.283 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 02 February 2024 18:44:09 +0000 (0:00:00.028) 0:01:03.312 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014586", "end": "2024-02-02 18:44:09.834752", "rc": 0, "start": "2024-02-02 18:44:09.820166" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 02 February 2024 18:44:09 +0000 (0:00:00.224) 0:01:03.537 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 02 February 2024 18:44:09 +0000 (0:00:00.030) 0:01:03.567 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 02 February 2024 18:44:09 +0000 (0:00:00.031) 0:01:03.599 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 02 February 2024 18:44:09 +0000 (0:00:00.029) 0:01:03.628 ******* 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_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:85 Friday 02 February 2024 18:44:09 +0000 (0:00:00.030) 0:01:03.659 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:89 Friday 02 February 2024 18:44:10 +0000 (0:00:00.028) 0:01:03.687 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 02 February 2024 18:44:10 +0000 (0:00:00.072) 0:01:03.760 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 02 February 2024 18:44:10 +0000 (0:00:00.028) 0:01:03.788 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 02 February 2024 18:44:10 +0000 (0:00:00.028) 0:01:03.816 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 18:44:10 +0000 (0:00:00.046) 0:01:03.862 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 18:44:10 +0000 (0:00:00.046) 0:01:03.908 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003170", "end": "2024-02-02 18:44:10.415014", "rc": 0, "start": "2024-02-02 18:44:10.411844" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 18:44:10 +0000 (0:00:00.238) 0:01:04.147 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 18:44:10 +0000 (0:00:00.041) 0:01:04.189 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 02 February 2024 18:44:10 +0000 (0:00:00.040) 0:01:04.229 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 02 February 2024 18:44:13 +0000 (0:00:02.579) 0:01:06.809 ******* 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.006451", "end": "2024-02-02 18:44:13.329087", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-02 18:44:13.322636" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003773", "end": "2024-02-02 18:44:13.552797", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-02 18:44:13.549024" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004557", "end": "2024-02-02 18:44:13.738853", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-02 18:44:13.734296" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 02 February 2024 18:44:13 +0000 (0:00:00.631) 0:01:07.440 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022928", "end": "2024-02-02 18:44:13.968077", "rc": 0, "start": "2024-02-02 18:44:13.945149" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 02 February 2024 18:44:14 +0000 (0:00:00.229) 0:01:07.670 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 02 February 2024 18:44:14 +0000 (0:00:00.060) 0:01:07.730 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 02 February 2024 18:44:14 +0000 (0:00:00.029) 0:01:07.759 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 02 February 2024 18:44:14 +0000 (0:00:00.029) 0:01:07.789 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 02 February 2024 18:44:14 +0000 (0:00:00.030) 0:01:07.819 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 02 February 2024 18:44:14 +0000 (0:00:00.026) 0:01:07.846 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 02 February 2024 18:44:14 +0000 (0:00:00.050) 0:01:07.897 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 02 February 2024 18:44:14 +0000 (0:00:00.032) 0:01:07.929 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 02 February 2024 18:44:14 +0000 (0:00:00.034) 0:01:07.964 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 02 February 2024 18:44:14 +0000 (0:00:00.029) 0:01:07.994 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 02 February 2024 18:44:15 +0000 (0:00:01.525) 0:01:09.519 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 02 February 2024 18:44:17 +0000 (0:00:01.385) 0:01:10.905 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 02 February 2024 18:44:17 +0000 (0:00:00.042) 0:01:10.947 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 02 February 2024 18:44:17 +0000 (0:00:00.032) 0:01:10.980 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 02 February 2024 18:44:17 +0000 (0:00:00.033) 0:01:11.013 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 02 February 2024 18:44:17 +0000 (0:00:00.070) 0:01:11.084 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 02 February 2024 18:44:17 +0000 (0:00:00.031) 0:01:11.115 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 02 February 2024 18:44:17 +0000 (0:00:00.032) 0:01:11.148 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 02 February 2024 18:44:17 +0000 (0:00:00.035) 0:01:11.183 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 02 February 2024 18:44:17 +0000 (0:00:00.028) 0:01:11.212 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 02 February 2024 18:44:17 +0000 (0:00:00.060) 0:01:11.272 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 02 February 2024 18:44:17 +0000 (0:00:00.360) 0:01:11.633 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1912h3wt_fee/tmpzla7hkdj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 02 February 2024 18:44:18 +0000 (0:00:00.312) 0:01:11.946 ******* 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='b"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='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 02 February 2024 18:44:24 +0000 (0:00:06.531) 0:01:18.477 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 02 February 2024 18:44:24 +0000 (0:00:00.039) 0:01:18.517 ******* 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='b\"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='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 02 February 2024 18:44:24 +0000 (0:00:00.031) 0:01:18.548 ******* 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='b\"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='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b\"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='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 02 February 2024 18:44:24 +0000 (0:00:00.031) 0:01:18.579 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 02 February 2024 18:44:24 +0000 (0:00:00.036) 0:01:18.616 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:110 Friday 02 February 2024 18:44:25 +0000 (0:00:00.238) 0:01:18.855 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml:3 Friday 02 February 2024 18:44:25 +0000 (0:00:00.079) 0:01:18.934 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 02 February 2024 18:44:25 +0000 (0:00:00.057) 0:01:18.991 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706899453.3260348, "block_size": 4096, "blocks": 0, "ctime": 1706899453.3260348, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22213, "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": 1706899453.3260348, "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_rewritepl2tn22t/tests/playbooks/tasks/assert_device_present.yml:5 Friday 02 February 2024 18:44:25 +0000 (0:00:00.211) 0:01:19.203 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:112 Friday 02 February 2024 18:44:25 +0000 (0:00:00.031) 0:01:19.234 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 02 February 2024 18:44:25 +0000 (0:00:00.077) 0:01:19.312 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 02 February 2024 18:44:25 +0000 (0:00:00.048) 0:01:19.361 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 02 February 2024 18:44:25 +0000 (0:00:00.029) 0:01:19.391 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706899458.5738058, "block_size": 4096, "blocks": 8, "ctime": 1706899458.5538065, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706899458.5538065, "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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 02 February 2024 18:44:25 +0000 (0:00:00.202) 0:01:19.594 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 02 February 2024 18:44:26 +0000 (0:00:00.077) 0:01:19.671 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021243", "end": "2024-02-02 18:44:26.198900", "rc": 1, "start": "2024-02-02 18:44:26.177657" } 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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 02 February 2024 18:44:26 +0000 (0:00:00.227) 0:01:19.898 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 02 February 2024 18:44:26 +0000 (0:00:00.036) 0:01:19.935 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003039", "end": "2024-02-02 18:44:26.447933", "rc": 0, "start": "2024-02-02 18:44:26.444894" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 02 February 2024 18:44:26 +0000 (0:00:00.223) 0:01:20.158 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 02 February 2024 18:44:26 +0000 (0:00:00.037) 0:01:20.196 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003118", "end": "2024-02-02 18:44:26.707895", "rc": 0, "start": "2024-02-02 18:44:26.704777" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 02 February 2024 18:44:26 +0000 (0:00:00.212) 0:01:20.408 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 02 February 2024 18:44:26 +0000 (0:00:00.038) 0:01:20.447 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 02 February 2024 18:44:26 +0000 (0:00:00.034) 0:01:20.482 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 02 February 2024 18:44:26 +0000 (0:00:00.032) 0:01:20.515 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:116 Friday 02 February 2024 18:44:26 +0000 (0:00:00.031) 0:01:20.546 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003634", "end": "2024-02-02 18:44:27.054319", "rc": 0, "start": "2024-02-02 18:44:27.050685" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.202 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.202 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_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:120 Friday 02 February 2024 18:44:27 +0000 (0:00:00.207) 0:01:20.753 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:126 Friday 02 February 2024 18:44:27 +0000 (0:00:00.031) 0:01:20.785 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003824", "end": "2024-02-02 18:44:27.293489", "rc": 0, "start": "2024-02-02 18:44:27.289665" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:130 Friday 02 February 2024 18:44:27 +0000 (0:00:00.218) 0:01:21.003 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:137 Friday 02 February 2024 18:44:27 +0000 (0:00:00.091) 0:01:21.095 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 02 February 2024 18:44:27 +0000 (0:00:00.039) 0:01:21.135 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 02 February 2024 18:44:27 +0000 (0:00:00.065) 0:01:21.200 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 02 February 2024 18:44:27 +0000 (0:00:00.047) 0:01:21.248 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 02 February 2024 18:44:27 +0000 (0:00:00.034) 0:01:21.282 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 02 February 2024 18:44:27 +0000 (0:00:00.031) 0:01:21.314 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 02 February 2024 18:44:29 +0000 (0:00:01.529) 0:01:22.844 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 02 February 2024 18:44:30 +0000 (0:00:01.363) 0:01:24.208 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 02 February 2024 18:44:30 +0000 (0:00:00.034) 0:01:24.242 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 02 February 2024 18:44:30 +0000 (0:00:00.030) 0:01:24.272 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 02 February 2024 18:44:30 +0000 (0:00:00.044) 0:01:24.316 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 02 February 2024 18:44:30 +0000 (0:00:00.066) 0:01:24.383 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 02 February 2024 18:44:30 +0000 (0:00:00.035) 0:01:24.418 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 02 February 2024 18:44:30 +0000 (0:00:00.042) 0:01:24.461 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 02 February 2024 18:44:30 +0000 (0:00:00.038) 0:01:24.499 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 02 February 2024 18:44:30 +0000 (0:00:00.034) 0:01:24.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 02 February 2024 18:44:30 +0000 (0:00:00.030) 0:01:24.564 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 02 February 2024 18:44:31 +0000 (0:00:00.411) 0:01:24.976 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1912h3wt_fee/tmpsmojhlfx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 02 February 2024 18:44:31 +0000 (0:00:00.321) 0:01:25.298 ******* 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='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 02 February 2024 18:44:32 +0000 (0:00:00.469) 0:01:25.768 ******* 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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 02 February 2024 18:44:32 +0000 (0:00:00.031) 0:01:25.799 ******* 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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 02 February 2024 18:44:32 +0000 (0:00:00.033) 0:01:25.833 ******* 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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[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_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 02 February 2024 18:44:32 +0000 (0:00:00.034) 0:01:25.867 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 02 February 2024 18:44:32 +0000 (0:00:00.030) 0:01:25.897 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tests_auto_gateway.yml:149 Friday 02 February 2024 18:44:32 +0000 (0:00:00.199) 0:01:26.097 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 02 February 2024 18:44:32 +0000 (0:00:00.073) 0:01:26.170 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 02 February 2024 18:44:32 +0000 (0:00:00.029) 0:01:26.199 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 02 February 2024 18:44:32 +0000 (0:00:00.029) 0:01:26.229 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:3 Friday 02 February 2024 18:44:32 +0000 (0:00:00.100) 0:01:26.329 ******* included: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 02 February 2024 18:44:32 +0000 (0:00:00.053) 0:01:26.383 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003373", "end": "2024-02-02 18:44:32.891013", "rc": 0, "start": "2024-02-02 18:44:32.887640" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 02 February 2024 18:44:32 +0000 (0:00:00.207) 0:01:26.590 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/show_interfaces.yml:5 Friday 02 February 2024 18:44:32 +0000 (0:00:00.030) 0:01:26.620 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 02 February 2024 18:44:32 +0000 (0:00:00.031) 0:01:26.651 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 02 February 2024 18:44:35 +0000 (0:00:02.610) 0:01:29.262 ******* 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_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 02 February 2024 18:44:35 +0000 (0:00:00.045) 0:01:29.307 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 02 February 2024 18:44:35 +0000 (0:00:00.083) 0:01:29.391 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012513", "end": "2024-02-02 18:44:35.915782", "rc": 0, "start": "2024-02-02 18:44:35.903269" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 02 February 2024 18:44:35 +0000 (0:00:00.240) 0:01:29.631 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 02 February 2024 18:44:36 +0000 (0:00:00.041) 0:01:29.672 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 02 February 2024 18:44:36 +0000 (0:00:00.047) 0:01:29.720 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 02 February 2024 18:44:36 +0000 (0:00:00.041) 0:01:29.761 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=138 changed=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Friday 02 February 2024 18:44:36 +0000 (0:00:00.023) 0:01:29.785 ******* =============================================================================== linux-system-roles.network : Install packages -------------------------- 34.18s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 6.81s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 6.53s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Install iproute --------------------------------------------------------- 2.83s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.61s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.58s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.55s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.48s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.39s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.36s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.30s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.93s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 0.81s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Enable network service --------------------- 0.77s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.66s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Create veth interface veth0 --------------------------------------------- 0.63s /WORKDIR/git-bond_options_rewritepl2tn22t/tests/playbooks/tasks/manage_test_interface.yml:28 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---