# 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_rewrite5p1p0b5b/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_rewrite5p1p0b5b/tests/tests_auto_gateway_initscripts.yml:5 Wednesday 14 February 2024 21:25:01 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tests_auto_gateway_initscripts.yml:8 Wednesday 14 February 2024 21:25:03 +0000 (0:00:02.007) 0:00:02.019 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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_rewrite5p1p0b5b/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 21:25:03 +0000 (0:00:00.015) 0:00:02.034 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 21:25:03 +0000 (0:00:00.235) 0:00:02.270 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 21:25:04 +0000 (0:00:00.172) 0:00:02.442 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 21:25:04 +0000 (0:00:00.022) 0:00:02.464 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 21:25:04 +0000 (0:00:00.018) 0:00:02.482 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 21:25:04 +0000 (0:00:00.034) 0:00:02.517 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 21:25:04 +0000 (0:00:00.011) 0:00:02.528 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 21:25:04 +0000 (0:00:00.010) 0:00:02.539 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 21:25:04 +0000 (0:00:00.010) 0:00:02.550 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 21:25:04 +0000 (0:00:00.010) 0:00:02.560 **** changed: [sut] => { "changed": true, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "md5sum": "12399e686d606599d8958688eeeed500", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "src": "/root/.ansible/tmp/ansible-tmp-1707945904.1468852-2547-228041163961979/source", "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tests_auto_gateway_initscripts.yml:10 Wednesday 14 February 2024 21:25:04 +0000 (0:00:00.529) 0:00:03.090 **** 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_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 14 February 2024 21:25:04 +0000 (0:00:00.013) 0:00:03.103 **** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 14 February 2024 21:25:05 +0000 (0:00:00.756) 0:00:03.860 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:05 +0000 (0:00:00.060) 0:00:03.921 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:05 +0000 (0:00:00.038) 0:00:03.959 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003286", "end": "2024-02-14 21:25:05.578877", "rc": 0, "start": "2024-02-14 21:25:05.575591" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:05 +0000 (0:00:00.199) 0:00:04.159 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:05 +0000 (0:00:00.013) 0:00:04.172 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 14 February 2024 21:25:05 +0000 (0:00:00.012) 0:00:04.185 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:25:05 +0000 (0:00:00.030) 0:00:04.216 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:25:05 +0000 (0:00:00.012) 0:00:04.228 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:25:05 +0000 (0:00:00.010) 0:00:04.239 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:05 +0000 (0:00:00.016) 0:00:04.256 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:05 +0000 (0:00:00.035) 0:00:04.292 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003217", "end": "2024-02-14 21:25:05.837237", "rc": 0, "start": "2024-02-14 21:25:05.834020" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:05 +0000 (0:00:00.125) 0:00:04.418 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:05 +0000 (0:00:00.013) 0:00:04.431 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:25:06 +0000 (0:00:00.012) 0:00:04.444 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 21:25:06 +0000 (0:00:00.515) 0:00:04.960 **** 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.204855", "end": "2024-02-14 21:25:06.713695", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 21:25:06.508840" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004379", "end": "2024-02-14 21:25:06.897293", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 21:25:06.892914" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003714", "end": "2024-02-14 21:25:07.026778", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 21:25:07.023064" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.648) 0:00:05.608 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli d set veth0 managed true", "rc": 2 } MSG: [Errno 2] No such file or directory ...ignoring TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.122) 0:00:05.731 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.013) 0:00:05.744 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.014) 0:00:05.759 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.013) 0:00:05.772 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.013) 0:00:05.785 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.011) 0:00:05.797 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.029) 0:00:05.826 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.017) 0:00:05.844 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707945906.8558807, "block_size": 4096, "blocks": 0, "ctime": 1707945906.8358707, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6447, "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": 1707945906.8358707, "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_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.117) 0:00:05.961 **** 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_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.014) 0:00:05.976 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.012) 0:00:05.989 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.070) 0:00:06.059 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.015) 0:00:06.074 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.014) 0:00:06.089 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:25:07 +0000 (0:00:00.013) 0:00:06.102 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:25:09 +0000 (0:00:01.650) 0:00:07.753 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:25:10 +0000 (0:00:00.859) 0:00:08.613 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:25:10 +0000 (0:00:00.023) 0:00:08.637 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:25:10 +0000 (0:00:00.038) 0:00:08.675 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:25:10 +0000 (0:00:00.024) 0:00:08.699 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:25:10 +0000 (0:00:00.044) 0:00:08.743 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:25:10 +0000 (0:00:00.025) 0:00:08.769 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:25:10 +0000 (0:00:00.022) 0:00:08.792 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:25:10 +0000 (0:00:00.025) 0:00:08.817 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:25:10 +0000 (0:00:00.025) 0:00:08.843 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:25:10 +0000 (0:00:00.021) 0:00:08.864 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:25:10 +0000 (0:00:00.366) 0:00:09.230 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-22764nuz8w11/tmpk4m9c69l" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:25:11 +0000 (0:00:00.231) 0:00:09.461 **** 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='Determining if ip address 203.0.113.2 is already in use for device veth0... ', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:25:15 +0000 (0:00:04.511) 0:00:13.973 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.032) 0:00:14.006 **** 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='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.036) 0:00:14.042 **** 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='Determining if ip address 203.0.113.2 is already in use for device veth0...\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.038) 0:00:14.081 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.033) 0:00:14.115 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.202) 0:00:14.318 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.071) 0:00:14.389 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:25:15 +0000 (0:00:00.034) 0:00:14.424 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707945906.8558807, "block_size": 4096, "blocks": 0, "ctime": 1707945906.8358707, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6447, "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": 1707945906.8358707, "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_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.128) 0:00:14.553 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.023) 0:00:14.576 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.047) 0:00:14.624 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.037) 0:00:14.661 **** 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_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.021) 0:00:14.682 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707945911.2500768, "block_size": 4096, "blocks": 8, "ctime": 1707945911.2490764, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707945911.2490764, "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_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.125) 0:00:14.808 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.022) 0:00:14.831 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.005114", "end": "2024-02-14 21:25:16.379203", "rc": 1, "start": "2024-02-14 21:25:16.374089" } STDERR: /bin/sh: nmcli: command not found 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_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.130) 0:00:14.961 **** 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_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.022) 0:00:14.983 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003051", "end": "2024-02-14 21:25:16.532326", "rc": 0, "start": "2024-02-14 21:25:16.529275" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.133) 0:00:15.117 **** 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_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.056) 0:00:15.174 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003099", "end": "2024-02-14 21:25:16.729801", "rc": 0, "start": "2024-02-14 21:25:16.726702" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.144) 0:00:15.319 **** 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_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.026) 0:00:15.345 **** 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_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.026) 0:00:15.371 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.024) 0:00:15.396 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 14 February 2024 21:25:16 +0000 (0:00:00.022) 0:00:15.418 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003025", "end": "2024-02-14 21:25:16.967486", "rc": 0, "start": "2024-02-14 21:25:16.964461" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.148 169.254.0.0/16 dev eth0 scope link metric 1002 169.254.0.0/16 dev veth0 scope link metric 1004 default via 10.31.12.1 dev eth0 default via 203.0.113.1 dev veth0 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 14 February 2024 21:25:17 +0000 (0:00:00.131) 0:00:15.550 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 14 February 2024 21:25:17 +0000 (0:00:00.023) 0:00:15.574 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003077", "end": "2024-02-14 21:25:17.122106", "rc": 0, "start": "2024-02-14 21:25:17.119029" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 2001:db8::/64 dev veth0 proto kernel metric 256 mtu 1500 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 fe80::/64 dev veth0 proto kernel metric 256 mtu 1500 fe80::/64 dev peerveth0 proto kernel metric 256 mtu 1500 default via 2001:db8::1 dev veth0 metric 1 mtu 1500 TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 14 February 2024 21:25:17 +0000 (0:00:00.133) 0:00:15.707 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 14 February 2024 21:25:17 +0000 (0:00:00.033) 0:00:15.741 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:25:17 +0000 (0:00:00.022) 0:00:15.764 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:25:17 +0000 (0:00:00.045) 0:00:15.809 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:25:17 +0000 (0:00:00.035) 0:00:15.844 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:25:17 +0000 (0:00:00.023) 0:00:15.867 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:25:17 +0000 (0:00:00.026) 0:00:15.893 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:25:18 +0000 (0:00:01.466) 0:00:17.360 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.582) 0:00:17.942 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.024) 0:00:17.967 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.024) 0:00:17.991 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.021) 0:00:18.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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.043) 0:00:18.056 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.022) 0:00:18.079 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.021) 0:00:18.100 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.055) 0:00:18.155 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.021) 0:00:18.177 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.021) 0:00:18.199 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:25:19 +0000 (0:00:00.186) 0:00:18.385 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-22764nuz8w11/tmpqzkyh0y6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:25:20 +0000 (0:00:00.190) 0:00:18.575 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:25:20 +0000 (0:00:00.382) 0:00:18.957 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:25:20 +0000 (0:00:00.021) 0:00:18.979 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:25:20 +0000 (0:00:00.025) 0:00:19.004 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:25:20 +0000 (0:00:00.024) 0:00:19.028 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:25:20 +0000 (0:00:00.023) 0:00:19.052 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 14 February 2024 21:25:20 +0000 (0:00:00.133) 0:00:19.185 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:25:20 +0000 (0:00:00.051) 0:00:19.237 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:25:20 +0000 (0:00:00.021) 0:00:19.258 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:25:20 +0000 (0:00:00.058) 0:00:19.317 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:20 +0000 (0:00:00.035) 0:00:19.352 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:20 +0000 (0:00:00.035) 0:00:19.387 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003194", "end": "2024-02-14 21:25:20.936218", "rc": 0, "start": "2024-02-14 21:25:20.933024" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:21 +0000 (0:00:00.130) 0:00:19.518 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:21 +0000 (0:00:00.024) 0:00:19.543 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:25:21 +0000 (0:00:00.024) 0:00:19.567 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 21:25:21 +0000 (0:00:00.387) 0:00:19.955 **** 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_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 21:25:21 +0000 (0:00:00.042) 0:00:19.998 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 21:25:21 +0000 (0:00:00.024) 0:00:20.023 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.044735", "end": "2024-02-14 21:25:21.621587", "rc": 0, "start": "2024-02-14 21:25:21.576852" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 21:25:21 +0000 (0:00:00.194) 0:00:20.217 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 21:25:21 +0000 (0:00:00.024) 0:00:20.241 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:25:21 +0000 (0:00:00.028) 0:00:20.269 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 21:25:21 +0000 (0:00:00.023) 0:00:20.293 **** 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_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 14 February 2024 21:25:21 +0000 (0:00:00.021) 0:00:20.314 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 14 February 2024 21:25:21 +0000 (0:00:00.060) 0:00:20.375 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.066) 0:00:20.442 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.038) 0:00:20.481 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.023) 0:00:20.505 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.035) 0:00:20.541 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.035) 0:00:20.577 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003210", "end": "2024-02-14 21:25:22.127206", "rc": 0, "start": "2024-02-14 21:25:22.123996" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.130) 0:00:20.707 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.023) 0:00:20.730 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.024) 0:00:20.754 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 21:25:22 +0000 (0:00:00.392) 0:00:21.147 **** 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.003858", "end": "2024-02-14 21:25:22.711133", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 21:25:22.707275" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003301", "end": "2024-02-14 21:25:22.869346", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 21:25:22.866045" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003505", "end": "2024-02-14 21:25:22.988925", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 21:25:22.985420" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.464) 0:00:21.611 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli d set veth0 managed true", "rc": 2 } MSG: [Errno 2] No such file or directory ...ignoring TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.139) 0:00:21.750 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.022) 0:00:21.773 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.022) 0:00:21.796 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.022) 0:00:21.818 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.025) 0:00:21.843 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.021) 0:00:21.865 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.036) 0:00:21.901 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.025) 0:00:21.927 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.020) 0:00:21.948 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:25:23 +0000 (0:00:00.021) 0:00:21.969 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:25:25 +0000 (0:00:01.546) 0:00:23.516 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:25:25 +0000 (0:00:00.593) 0:00:24.109 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:25:25 +0000 (0:00:00.023) 0:00:24.133 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:25:25 +0000 (0:00:00.022) 0:00:24.156 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:25:25 +0000 (0:00:00.022) 0:00:24.179 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:25:25 +0000 (0:00:00.052) 0:00:24.231 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:25:25 +0000 (0:00:00.026) 0:00:24.258 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:25:25 +0000 (0:00:00.021) 0:00:24.280 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:25:25 +0000 (0:00:00.029) 0:00:24.309 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:25:25 +0000 (0:00:00.024) 0:00:24.334 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:25:25 +0000 (0:00:00.023) 0:00:24.358 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.197) 0:00:24.555 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-22764nuz8w11/tmptb3s_ct8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:25:26 +0000 (0:00:00.231) 0:00:24.786 **** 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='Determining if ip address 203.0.113.2 is already in use for device veth0... ', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:25:30 +0000 (0:00:04.396) 0:00:29.183 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:25:30 +0000 (0:00:00.029) 0:00:29.212 **** 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='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:25:30 +0000 (0:00:00.022) 0:00:29.235 **** 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='Determining if ip address 203.0.113.2 is already in use for device veth0...\n', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='Determining if ip address 203.0.113.2 is already in use for device veth0...", "', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:25:30 +0000 (0:00:00.024) 0:00:29.259 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:25:30 +0000 (0:00:00.029) 0:00:29.289 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 14 February 2024 21:25:30 +0000 (0:00:00.141) 0:00:29.430 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:25:31 +0000 (0:00:00.120) 0:00:29.550 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:25:31 +0000 (0:00:00.050) 0:00:29.601 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707945922.7418199, "block_size": 4096, "blocks": 0, "ctime": 1707945922.7178078, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6447, "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": 1707945922.7178078, "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_rewrite5p1p0b5b/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:25:31 +0000 (0:00:00.163) 0:00:29.764 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 14 February 2024 21:25:31 +0000 (0:00:00.056) 0:00:29.821 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 21:25:31 +0000 (0:00:00.060) 0:00:29.881 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:25:31 +0000 (0:00:00.058) 0:00:29.939 **** 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_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:25:31 +0000 (0:00:00.025) 0:00:29.965 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707945926.4726841, "block_size": 4096, "blocks": 8, "ctime": 1707945926.4596777, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707945926.4596777, "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_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:25:31 +0000 (0:00:00.233) 0:00:30.198 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:25:31 +0000 (0:00:00.027) 0:00:30.226 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.005267", "end": "2024-02-14 21:25:31.827051", "rc": 1, "start": "2024-02-14 21:25:31.821784" } STDERR: /bin/sh: nmcli: command not found 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_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:25:31 +0000 (0:00:00.185) 0:00:30.412 **** 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_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:25:31 +0000 (0:00:00.023) 0:00:30.436 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003150", "end": "2024-02-14 21:25:32.000406", "rc": 0, "start": "2024-02-14 21:25:31.997256" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:25:32 +0000 (0:00:00.181) 0:00:30.617 **** 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_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:25:32 +0000 (0:00:00.042) 0:00:30.660 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003200", "end": "2024-02-14 21:25:32.281972", "rc": 0, "start": "2024-02-14 21:25:32.278772" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:25:32 +0000 (0:00:00.201) 0:00:30.862 **** 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_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 21:25:32 +0000 (0:00:00.031) 0:00:30.894 **** 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_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 21:25:32 +0000 (0:00:00.025) 0:00:30.919 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 21:25:32 +0000 (0:00:00.026) 0:00:30.945 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 14 February 2024 21:25:32 +0000 (0:00:00.024) 0:00:30.970 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003198", "end": "2024-02-14 21:25:32.534143", "rc": 0, "start": "2024-02-14 21:25:32.530945" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.148 169.254.0.0/16 dev eth0 scope link metric 1002 169.254.0.0/16 dev veth0 scope link metric 1006 default via 10.31.12.1 dev eth0 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 14 February 2024 21:25:32 +0000 (0:00:00.157) 0:00:31.128 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 14 February 2024 21:25:32 +0000 (0:00:00.024) 0:00:31.152 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003143", "end": "2024-02-14 21:25:32.712453", "rc": 0, "start": "2024-02-14 21:25:32.709310" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 2001:db8::/64 dev veth0 proto kernel metric 256 mtu 1500 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 fe80::/64 dev veth0 proto kernel metric 256 mtu 1500 fe80::/64 dev peerveth0 proto kernel metric 256 mtu 1500 default via 2001:db8::1 dev veth0 metric 1 mtu 1500 TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 14 February 2024 21:25:32 +0000 (0:00:00.138) 0:00:31.291 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 14 February 2024 21:25:32 +0000 (0:00:00.021) 0:00:31.313 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:25:32 +0000 (0:00:00.021) 0:00:31.335 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:25:32 +0000 (0:00:00.037) 0:00:31.373 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:25:32 +0000 (0:00:00.026) 0:00:31.399 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:25:32 +0000 (0:00:00.021) 0:00:31.421 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:25:33 +0000 (0:00:00.021) 0:00:31.442 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:25:34 +0000 (0:00:01.526) 0:00:32.968 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:25:35 +0000 (0:00:00.637) 0:00:33.606 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:25:35 +0000 (0:00:00.026) 0:00:33.633 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:25:35 +0000 (0:00:00.027) 0:00:33.660 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:25:35 +0000 (0:00:00.021) 0:00:33.682 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:25:35 +0000 (0:00:00.046) 0:00:33.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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:25:35 +0000 (0:00:00.022) 0:00:33.752 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:25:35 +0000 (0:00:00.022) 0:00:33.774 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:25:35 +0000 (0:00:00.028) 0:00:33.802 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:25:35 +0000 (0:00:00.072) 0:00:33.874 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:25:35 +0000 (0:00:00.034) 0:00:33.909 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:25:35 +0000 (0:00:00.199) 0:00:34.108 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-22764nuz8w11/tmpz32pitso" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:25:35 +0000 (0:00:00.207) 0:00:34.316 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:25:36 +0000 (0:00:00.404) 0:00:34.721 **** 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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:25:36 +0000 (0:00:00.023) 0:00:34.744 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:25:36 +0000 (0:00:00.029) 0:00:34.773 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:25:36 +0000 (0:00:00.044) 0:00:34.817 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:25:36 +0000 (0:00:00.032) 0:00:34.850 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 14 February 2024 21:25:36 +0000 (0:00:00.155) 0:00:35.006 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 21:25:36 +0000 (0:00:00.054) 0:00:35.060 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 21:25:36 +0000 (0:00:00.035) 0:00:35.095 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 21:25:36 +0000 (0:00:00.033) 0:00:35.129 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:25:36 +0000 (0:00:00.121) 0:00:35.250 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:25:36 +0000 (0:00:00.085) 0:00:35.336 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003302", "end": "2024-02-14 21:25:36.932191", "rc": 0, "start": "2024-02-14 21:25:36.928889" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:25:37 +0000 (0:00:00.181) 0:00:35.517 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:25:37 +0000 (0:00:00.033) 0:00:35.551 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 21:25:37 +0000 (0:00:00.045) 0:00:35.596 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 21:25:37 +0000 (0:00:00.464) 0:00:36.060 **** 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_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 21:25:37 +0000 (0:00:00.050) 0:00:36.111 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 21:25:37 +0000 (0:00:00.032) 0:00:36.143 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.038987", "end": "2024-02-14 21:25:37.772201", "rc": 0, "start": "2024-02-14 21:25:37.733214" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 21:25:37 +0000 (0:00:00.220) 0:00:36.363 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 21:25:37 +0000 (0:00:00.023) 0:00:36.386 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 21:25:37 +0000 (0:00:00.024) 0:00:36.411 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 21:25:37 +0000 (0:00:00.022) 0:00:36.433 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:153 Wednesday 14 February 2024 21:25:38 +0000 (0:00:00.021) 0:00:36.454 **** included: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 21:25:38 +0000 (0:00:00.101) 0:00:36.555 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.006833", "end": "2024-02-14 21:25:38.124827", "rc": 0, "start": "2024-02-14 21:25:38.117994" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc pfifo_fast state UP qlen 1000 link/ether 0a:71:a4:f3:f4:c5 brd ff:ff:ff:ff:ff:ff inet 10.31.15.148/22 brd 10.31.15.255 scope global eth0 inet6 fe80::871:a4ff:fef3:f4c5/64 scope link valid_lft forever preferred_lft forever IP ROUTE 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.148 169.254.0.0/16 dev eth0 scope link metric 1002 default via 10.31.12.1 dev eth0 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 RESOLV ; Created by cloud-init on instance boot automatically, do not edit. ; ; generated by /sbin/dhclient-script search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 21:25:38 +0000 (0:00:00.153) 0:00:36.709 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=138 changed=5 unreachable=0 failed=0 skipped=92 rescued=0 ignored=4 Wednesday 14 February 2024 21:25:38 +0000 (0:00:00.026) 0:00:36.735 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.51s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 4.40s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 2.01s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tests_auto_gateway_initscripts.yml:5 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewrite5p1p0b5b/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_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.86s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.79s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Check which packages are installed --------- 0.64s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.59s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.58s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Enable EPEL 6 ----------------------------------------------------------- 0.53s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/tasks/enable_epel.yml:40 ------ Install iproute --------------------------------------------------------- 0.52s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:16 Create veth interface veth0 --------------------------------------------- 0.46s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:28 Install iproute --------------------------------------------------------- 0.46s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.40s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Install iproute --------------------------------------------------------- 0.39s /WORKDIR/git-bond_options_rewrite5p1p0b5b/tests/playbooks/tasks/manage_test_interface.yml:16 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---