# 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_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/tests_auto_gateway_initscripts.yml:5 Wednesday 31 January 2024 23:23:28 +0000 (0:00:00.018) 0:00:00.018 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tests_auto_gateway_initscripts.yml:8 Wednesday 31 January 2024 23:23:29 +0000 (0:00:00.887) 0:00:00.906 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/tasks/el_repo_setup.yml:3 Wednesday 31 January 2024 23:23:29 +0000 (0:00:00.023) 0:00:00.929 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/el_repo_setup.yml:19 Wednesday 31 January 2024 23:23:29 +0000 (0:00:00.244) 0:00:01.174 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/el_repo_setup.yml:24 Wednesday 31 January 2024 23:23:29 +0000 (0:00:00.195) 0:00:01.369 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/el_repo_setup.yml:28 Wednesday 31 January 2024 23:23:29 +0000 (0:00:00.030) 0:00:01.399 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/el_repo_setup.yml:53 Wednesday 31 January 2024 23:23:29 +0000 (0:00:00.026) 0:00:01.425 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:8 Wednesday 31 January 2024 23:23:29 +0000 (0:00:00.044) 0:00:01.470 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:24 Wednesday 31 January 2024 23:23:29 +0000 (0:00:00.017) 0:00:01.488 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:30 Wednesday 31 January 2024 23:23:29 +0000 (0:00:00.014) 0:00:01.502 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:35 Wednesday 31 January 2024 23:23:29 +0000 (0:00:00.017) 0:00:01.519 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:40 Wednesday 31 January 2024 23:23:29 +0000 (0:00:00.017) 0:00:01.536 ***** 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-1706743409.740116-3224-273328015744670/source", "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tests_auto_gateway_initscripts.yml:10 Wednesday 31 January 2024 23:23:30 +0000 (0:00:00.530) 0:00:02.067 ***** 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_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 31 January 2024 23:23:30 +0000 (0:00:00.016) 0:00:02.083 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 31 January 2024 23:23:30 +0000 (0:00:00.696) 0:00:02.780 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:23:30 +0000 (0:00:00.033) 0:00:02.814 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:23:31 +0000 (0:00:00.021) 0:00:02.835 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003005", "end": "2024-01-31 23:23:31.438789", "rc": 0, "start": "2024-01-31 23:23:31.435784" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:23:31 +0000 (0:00:00.210) 0:00:03.046 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:23:31 +0000 (0:00:00.018) 0:00:03.064 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 31 January 2024 23:23:31 +0000 (0:00:00.016) 0:00:03.081 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:23:31 +0000 (0:00:00.042) 0:00:03.124 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:23:31 +0000 (0:00:00.016) 0:00:03.140 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:23:31 +0000 (0:00:00.018) 0:00:03.159 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:23:31 +0000 (0:00:00.024) 0:00:03.183 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:23:31 +0000 (0:00:00.021) 0:00:03.204 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003032", "end": "2024-01-31 23:23:31.721476", "rc": 0, "start": "2024-01-31 23:23:31.718444" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:23:31 +0000 (0:00:00.124) 0:00:03.329 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:23:31 +0000 (0:00:00.019) 0:00:03.349 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:23:31 +0000 (0:00:00.017) 0:00:03.366 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 31 January 2024 23:23:32 +0000 (0:00:00.569) 0:00:03.935 ***** 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.201760", "end": "2024-01-31 23:23:32.662423", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-31 23:23:32.460663" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.007414", "end": "2024-01-31 23:23:32.823514", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-31 23:23:32.816100" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003103", "end": "2024-01-31 23:23:32.938796", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-31 23:23:32.935693" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 31 January 2024 23:23:32 +0000 (0:00:00.610) 0:00:04.546 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 31 January 2024 23:23:32 +0000 (0:00:00.125) 0:00:04.672 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 31 January 2024 23:23:32 +0000 (0:00:00.016) 0:00:04.688 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 31 January 2024 23:23:32 +0000 (0:00:00.016) 0:00:04.705 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:23:32 +0000 (0:00:00.015) 0:00:04.721 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 31 January 2024 23:23:32 +0000 (0:00:00.016) 0:00:04.738 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 31 January 2024 23:23:32 +0000 (0:00:00.014) 0:00:04.752 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:23:32 +0000 (0:00:00.039) 0:00:04.792 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:23:32 +0000 (0:00:00.020) 0:00:04.813 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743412.799542, "block_size": 4096, "blocks": 0, "ctime": 1706743412.7805514, "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": 1706743412.7805514, "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_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:23:33 +0000 (0:00:00.122) 0:00:04.935 ***** 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_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 31 January 2024 23:23:33 +0000 (0:00:00.016) 0:00:04.952 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:23:33 +0000 (0:00:00.015) 0:00:04.968 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:23:33 +0000 (0:00:00.090) 0:00:05.058 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:23:33 +0000 (0:00:00.016) 0:00:05.075 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:23:33 +0000 (0:00:00.015) 0:00:05.091 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:23:33 +0000 (0:00:00.017) 0:00:05.108 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:23:34 +0000 (0:00:01.644) 0:00:06.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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:23:35 +0000 (0:00:00.832) 0:00:07.586 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:23:35 +0000 (0:00:00.030) 0:00:07.616 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:23:35 +0000 (0:00:00.029) 0:00:07.646 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:23:35 +0000 (0:00:00.030) 0:00:07.677 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:23:35 +0000 (0:00:00.064) 0:00:07.741 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:23:35 +0000 (0:00:00.028) 0:00:07.770 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:23:35 +0000 (0:00:00.027) 0:00:07.797 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:23:36 +0000 (0:00:00.031) 0:00:07.829 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:23:36 +0000 (0:00:00.031) 0:00:07.860 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:23:36 +0000 (0:00:00.027) 0:00:07.888 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:23:36 +0000 (0:00:00.303) 0:00:08.192 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-315296m48c5j/tmpmvxvd29n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:23:36 +0000 (0:00:00.198) 0:00:08.390 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:23:41 +0000 (0:00:04.496) 0:00:12.886 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:23:41 +0000 (0:00:00.027) 0:00:12.913 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:23:41 +0000 (0:00:00.028) 0:00:12.942 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:23:41 +0000 (0:00:00.028) 0:00:12.971 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:23:41 +0000 (0:00:00.027) 0:00:12.999 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 31 January 2024 23:23:41 +0000 (0:00:00.222) 0:00:13.221 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:23:41 +0000 (0:00:00.102) 0:00:13.323 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:23:41 +0000 (0:00:00.049) 0:00:13.373 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743412.799542, "block_size": 4096, "blocks": 0, "ctime": 1706743412.7805514, "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": 1706743412.7805514, "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_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:23:42 +0000 (0:00:00.782) 0:00:14.155 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 31 January 2024 23:23:42 +0000 (0:00:00.028) 0:00:14.184 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:23:42 +0000 (0:00:00.064) 0:00:14.248 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:23:42 +0000 (0:00:00.047) 0:00:14.296 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:23:42 +0000 (0:00:00.026) 0:00:14.322 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743417.1583614, "block_size": 4096, "blocks": 8, "ctime": 1706743417.1463675, "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": 1706743417.1463675, "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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:23:42 +0000 (0:00:00.135) 0:00:14.457 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:23:42 +0000 (0:00:00.027) 0:00:14.484 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004775", "end": "2024-01-31 23:23:42.996196", "rc": 1, "start": "2024-01-31 23:23:42.991421" } 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:23:42 +0000 (0:00:00.133) 0:00:14.618 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:23:42 +0000 (0:00:00.026) 0:00:14.645 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002836", "end": "2024-01-31 23:23:43.159313", "rc": 0, "start": "2024-01-31 23:23:43.156477" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:23:42 +0000 (0:00:00.139) 0:00:14.785 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:23:42 +0000 (0:00:00.035) 0:00:14.820 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002860", "end": "2024-01-31 23:23:43.335138", "rc": 0, "start": "2024-01-31 23:23:43.332278" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:23:43 +0000 (0:00:00.138) 0:00:14.959 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:23:43 +0000 (0:00:00.037) 0:00:14.996 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:23:43 +0000 (0:00:00.032) 0:00:15.029 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:23:43 +0000 (0:00:00.031) 0:00:15.061 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 31 January 2024 23:23:43 +0000 (0:00:00.030) 0:00:15.091 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.002871", "end": "2024-01-31 23:23:43.601164", "rc": 0, "start": "2024-01-31 23:23:43.598293" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.151 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.40.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_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 31 January 2024 23:23:43 +0000 (0:00:00.134) 0:00:15.226 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 31 January 2024 23:23:43 +0000 (0:00:00.030) 0:00:15.257 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.002847", "end": "2024-01-31 23:23:43.767007", "rc": 0, "start": "2024-01-31 23:23:43.764160" } 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_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 31 January 2024 23:23:43 +0000 (0:00:00.135) 0:00:15.392 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 31 January 2024 23:23:43 +0000 (0:00:00.028) 0:00:15.420 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:23:43 +0000 (0:00:00.030) 0:00:15.451 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:23:43 +0000 (0:00:00.082) 0:00:15.533 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:23:43 +0000 (0:00:00.035) 0:00:15.569 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:23:43 +0000 (0:00:00.028) 0:00:15.598 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:23:43 +0000 (0:00:00.028) 0:00:15.626 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:23:45 +0000 (0:00:01.398) 0:00:17.025 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:23:45 +0000 (0:00:00.560) 0:00:17.585 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:23:45 +0000 (0:00:00.028) 0:00:17.613 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:23:45 +0000 (0:00:00.055) 0:00:17.669 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:23:45 +0000 (0:00:00.026) 0:00:17.696 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:23:45 +0000 (0:00:00.059) 0:00:17.756 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:23:45 +0000 (0:00:00.026) 0:00:17.782 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:23:45 +0000 (0:00:00.027) 0:00:17.810 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:23:46 +0000 (0:00:00.032) 0:00:17.842 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:23:46 +0000 (0:00:00.025) 0:00:17.867 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:23:46 +0000 (0:00:00.026) 0:00:17.894 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:23:46 +0000 (0:00:00.200) 0:00:18.094 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-315296m48c5j/tmp47vu_mvh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:23:46 +0000 (0:00:00.202) 0:00:18.297 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:23:46 +0000 (0:00:00.392) 0:00:18.690 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:23:46 +0000 (0:00:00.028) 0:00:18.718 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:23:46 +0000 (0:00:00.030) 0:00:18.749 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:23:46 +0000 (0:00:00.030) 0:00:18.779 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:23:46 +0000 (0:00:00.036) 0:00:18.815 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 31 January 2024 23:23:47 +0000 (0:00:00.168) 0:00:18.983 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:23:47 +0000 (0:00:00.067) 0:00:19.051 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:23:47 +0000 (0:00:00.028) 0:00:19.080 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:23:47 +0000 (0:00:00.028) 0:00:19.108 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:23:47 +0000 (0:00:00.046) 0:00:19.155 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:23:47 +0000 (0:00:00.044) 0:00:19.200 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003009", "end": "2024-01-31 23:23:47.708241", "rc": 0, "start": "2024-01-31 23:23:47.705232" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:23:47 +0000 (0:00:00.135) 0:00:19.335 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:23:47 +0000 (0:00:00.029) 0:00:19.365 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:23:47 +0000 (0:00:00.027) 0:00:19.392 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 31 January 2024 23:23:47 +0000 (0:00:00.371) 0:00:19.764 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 31 January 2024 23:23:47 +0000 (0:00:00.040) 0:00:19.805 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 31 January 2024 23:23:48 +0000 (0:00:00.027) 0:00:19.833 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.047470", "end": "2024-01-31 23:23:48.389102", "rc": 0, "start": "2024-01-31 23:23:48.341632" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 31 January 2024 23:23:48 +0000 (0:00:00.237) 0:00:20.070 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 31 January 2024 23:23:48 +0000 (0:00:00.032) 0:00:20.103 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:23:48 +0000 (0:00:00.029) 0:00:20.132 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 31 January 2024 23:23:48 +0000 (0:00:00.033) 0:00:20.166 ***** 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_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 31 January 2024 23:23:48 +0000 (0:00:00.029) 0:00:20.195 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 31 January 2024 23:23:48 +0000 (0:00:00.028) 0:00:20.224 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:23:48 +0000 (0:00:00.076) 0:00:20.300 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:23:48 +0000 (0:00:00.028) 0:00:20.328 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:23:48 +0000 (0:00:00.028) 0:00:20.356 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:23:48 +0000 (0:00:00.045) 0:00:20.402 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:23:48 +0000 (0:00:00.044) 0:00:20.447 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003097", "end": "2024-01-31 23:23:48.956349", "rc": 0, "start": "2024-01-31 23:23:48.953252" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:23:48 +0000 (0:00:00.135) 0:00:20.582 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:23:48 +0000 (0:00:00.028) 0:00:20.611 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:23:48 +0000 (0:00:00.060) 0:00:20.672 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 31 January 2024 23:23:49 +0000 (0:00:00.381) 0:00:21.053 ***** 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.003399", "end": "2024-01-31 23:23:49.568258", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-31 23:23:49.564859" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.002938", "end": "2024-01-31 23:23:49.711367", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-31 23:23:49.708429" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003126", "end": "2024-01-31 23:23:49.829069", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-31 23:23:49.825943" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 31 January 2024 23:23:49 +0000 (0:00:00.414) 0:00:21.468 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 31 January 2024 23:23:49 +0000 (0:00:00.147) 0:00:21.615 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 31 January 2024 23:23:49 +0000 (0:00:00.034) 0:00:21.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 31 January 2024 23:23:49 +0000 (0:00:00.032) 0:00:21.682 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:23:49 +0000 (0:00:00.030) 0:00:21.713 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 31 January 2024 23:23:49 +0000 (0:00:00.030) 0:00:21.744 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:23:49 +0000 (0:00:00.028) 0:00:21.773 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:23:49 +0000 (0:00:00.050) 0:00:21.823 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:23:50 +0000 (0:00:00.035) 0:00:21.859 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:23:50 +0000 (0:00:00.027) 0:00:21.887 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:23:50 +0000 (0:00:00.028) 0:00:21.915 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:23:51 +0000 (0:00:01.456) 0:00:23.372 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:23:52 +0000 (0:00:00.571) 0:00:23.944 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:23:52 +0000 (0:00:00.028) 0:00:23.972 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:23:52 +0000 (0:00:00.027) 0:00:24.000 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:23:52 +0000 (0:00:00.026) 0:00:24.027 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:23:52 +0000 (0:00:00.057) 0:00:24.084 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:23:52 +0000 (0:00:00.025) 0:00:24.110 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:23:52 +0000 (0:00:00.061) 0:00:24.172 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:23:52 +0000 (0:00:00.034) 0:00:24.206 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:23:52 +0000 (0:00:00.026) 0:00:24.232 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:23:52 +0000 (0:00:00.027) 0:00:24.260 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:23:52 +0000 (0:00:00.201) 0:00:24.461 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-315296m48c5j/tmp5fpwzsxc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:23:52 +0000 (0:00:00.202) 0:00:24.664 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:23:57 +0000 (0:00:04.367) 0:00:29.031 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:23:57 +0000 (0:00:00.056) 0:00:29.087 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:23:57 +0000 (0:00:00.029) 0:00:29.117 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:23:57 +0000 (0:00:00.029) 0:00:29.147 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:23:57 +0000 (0:00:00.027) 0:00:29.175 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 31 January 2024 23:23:57 +0000 (0:00:00.127) 0:00:29.303 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:23:57 +0000 (0:00:00.066) 0:00:29.369 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:23:57 +0000 (0:00:00.046) 0:00:29.415 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743429.5941405, "block_size": 4096, "blocks": 0, "ctime": 1706743429.5721514, "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": 1706743429.5721514, "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_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:23:57 +0000 (0:00:00.132) 0:00:29.548 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 31 January 2024 23:23:57 +0000 (0:00:00.032) 0:00:29.581 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:23:57 +0000 (0:00:00.068) 0:00:29.649 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:23:57 +0000 (0:00:00.044) 0:00:29.693 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:23:57 +0000 (0:00:00.077) 0:00:29.771 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743433.2932901, "block_size": 4096, "blocks": 8, "ctime": 1706743433.281296, "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": 1706743433.281296, "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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:23:58 +0000 (0:00:00.196) 0:00:29.967 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:23:58 +0000 (0:00:00.029) 0:00:29.996 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.004814", "end": "2024-01-31 23:23:58.503196", "rc": 1, "start": "2024-01-31 23:23:58.498382" } 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:23:58 +0000 (0:00:00.137) 0:00:30.134 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:23:58 +0000 (0:00:00.030) 0:00:30.165 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002914", "end": "2024-01-31 23:23:58.673113", "rc": 0, "start": "2024-01-31 23:23:58.670199" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:23:58 +0000 (0:00:00.142) 0:00:30.307 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:23:58 +0000 (0:00:00.035) 0:00:30.343 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002838", "end": "2024-01-31 23:23:58.849586", "rc": 0, "start": "2024-01-31 23:23:58.846748" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:23:58 +0000 (0:00:00.140) 0:00:30.483 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:23:58 +0000 (0:00:00.039) 0:00:30.523 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:23:58 +0000 (0:00:00.032) 0:00:30.555 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:23:58 +0000 (0:00:00.032) 0:00:30.588 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 31 January 2024 23:23:58 +0000 (0:00:00.033) 0:00:30.622 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.002883", "end": "2024-01-31 23:23:59.126832", "rc": 0, "start": "2024-01-31 23:23:59.123949" } STDOUT: 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.151 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.40.1 dev eth0 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 31 January 2024 23:23:58 +0000 (0:00:00.138) 0:00:30.761 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 31 January 2024 23:23:58 +0000 (0:00:00.032) 0:00:30.793 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.002862", "end": "2024-01-31 23:23:59.296010", "rc": 0, "start": "2024-01-31 23:23:59.293148" } 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_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 31 January 2024 23:23:59 +0000 (0:00:00.135) 0:00:30.929 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 31 January 2024 23:23:59 +0000 (0:00:00.075) 0:00:31.004 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:23:59 +0000 (0:00:00.027) 0:00:31.032 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:23:59 +0000 (0:00:00.050) 0:00:31.083 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:23:59 +0000 (0:00:00.034) 0:00:31.117 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:23:59 +0000 (0:00:00.027) 0:00:31.145 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:23:59 +0000 (0:00:00.028) 0:00:31.173 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:24:00 +0000 (0:00:01.414) 0:00:32.588 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:24:01 +0000 (0:00:00.624) 0:00:33.212 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:24:01 +0000 (0:00:00.030) 0:00:33.242 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:24:01 +0000 (0:00:00.032) 0:00:33.275 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:24:01 +0000 (0:00:00.028) 0:00:33.304 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:24:01 +0000 (0:00:00.060) 0:00:33.364 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:24:01 +0000 (0:00:00.028) 0:00:33.393 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:24:01 +0000 (0:00:00.029) 0:00:33.423 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:24:01 +0000 (0:00:00.034) 0:00:33.457 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:24:01 +0000 (0:00:00.033) 0:00:33.491 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:24:01 +0000 (0:00:00.028) 0:00:33.519 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:24:01 +0000 (0:00:00.209) 0:00:33.729 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-315296m48c5j/tmp7i0us810" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:24:02 +0000 (0:00:00.213) 0:00:33.943 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:24:02 +0000 (0:00:00.375) 0:00:34.319 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:24:02 +0000 (0:00:00.038) 0:00:34.357 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:24:02 +0000 (0:00:00.090) 0:00:34.448 ***** 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_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:24:02 +0000 (0:00:00.033) 0:00:34.481 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:24:02 +0000 (0:00:00.034) 0:00:34.516 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 31 January 2024 23:24:02 +0000 (0:00:00.138) 0:00:34.654 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:24:02 +0000 (0:00:00.082) 0:00:34.737 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:24:02 +0000 (0:00:00.035) 0:00:34.772 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:24:02 +0000 (0:00:00.030) 0:00:34.803 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:24:03 +0000 (0:00:00.050) 0:00:34.853 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:24:03 +0000 (0:00:00.049) 0:00:34.903 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002929", "end": "2024-01-31 23:24:03.410100", "rc": 0, "start": "2024-01-31 23:24:03.407171" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:24:03 +0000 (0:00:00.144) 0:00:35.047 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:24:03 +0000 (0:00:00.030) 0:00:35.078 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:24:03 +0000 (0:00:00.039) 0:00:35.118 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 31 January 2024 23:24:03 +0000 (0:00:00.386) 0:00:35.505 ***** 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_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 31 January 2024 23:24:03 +0000 (0:00:00.053) 0:00:35.558 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 31 January 2024 23:24:03 +0000 (0:00:00.034) 0:00:35.593 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.036425", "end": "2024-01-31 23:24:04.133289", "rc": 0, "start": "2024-01-31 23:24:04.096864" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 31 January 2024 23:24:03 +0000 (0:00:00.187) 0:00:35.781 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 31 January 2024 23:24:03 +0000 (0:00:00.041) 0:00:35.822 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:24:04 +0000 (0:00:00.043) 0:00:35.866 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 31 January 2024 23:24:04 +0000 (0:00:00.035) 0:00:35.901 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=136 changed=5 unreachable=0 failed=0 skipped=91 rescued=0 ignored=4 Wednesday 31 January 2024 23:24:04 +0000 (0:00:00.016) 0:00:35.917 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.50s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 4.37s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tests_auto_gateway_initscripts.yml:5 linux-system-roles.network : Check which packages are installed --------- 0.83s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Get stat for interface veth0 -------------------------------------------- 0.78s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml:3 linux-system-roles.network : Configure networking connection profiles --- 0.77s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_auto_gateway.yml:3 linux-system-roles.network : Check which packages are installed --------- 0.62s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Create veth interface veth0 --------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Check which packages are installed --------- 0.57s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.57s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which packages are installed --------- 0.56s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Enable EPEL 6 ----------------------------------------------------------- 0.53s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:40 ------ linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.42s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Create veth interface veth0 --------------------------------------------- 0.41s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Enable network service --------------------- 0.41s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---