# 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_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/tests_auto_gateway_initscripts.yml:5 Wednesday 14 February 2024 02:34:02 +0000 (0:00:00.011) 0:00:00.011 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tests_auto_gateway_initscripts.yml:8 Wednesday 14 February 2024 02:34:03 +0000 (0:00:00.839) 0:00:00.850 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 02:34:03 +0000 (0:00:00.013) 0:00:00.863 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 02:34:03 +0000 (0:00:00.308) 0:00:01.172 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 02:34:03 +0000 (0:00:00.179) 0:00:01.352 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 02:34:03 +0000 (0:00:00.021) 0:00:01.374 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 02:34:03 +0000 (0:00:00.017) 0:00:01.391 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 02:34:03 +0000 (0:00:00.031) 0:00:01.423 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 02:34:03 +0000 (0:00:00.010) 0:00:01.434 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 02:34:03 +0000 (0:00:00.010) 0:00:01.444 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 02:34:03 +0000 (0:00:00.011) 0:00:01.456 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 02:34:03 +0000 (0:00:00.010) 0:00:01.467 **** 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-1707878043.8952758-3140-153621043604236/source", "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tests_auto_gateway_initscripts.yml:10 Wednesday 14 February 2024 02:34:04 +0000 (0:00:00.474) 0:00:01.942 **** 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_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 14 February 2024 02:34:04 +0000 (0:00:00.015) 0:00:01.957 **** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 14 February 2024 02:34:04 +0000 (0:00:00.639) 0:00:02.596 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:34:05 +0000 (0:00:00.025) 0:00:02.622 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:34:05 +0000 (0:00:00.015) 0:00:02.637 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003490", "end": "2024-02-14 02:34:05.216791", "rc": 0, "start": "2024-02-14 02:34:05.213301" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:34:05 +0000 (0:00:00.199) 0:00:02.837 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:34:05 +0000 (0:00:00.013) 0:00:02.850 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 14 February 2024 02:34:05 +0000 (0:00:00.012) 0:00:02.862 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:34:05 +0000 (0:00:00.031) 0:00:02.894 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:34:05 +0000 (0:00:00.012) 0:00:02.906 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:34:05 +0000 (0:00:00.011) 0:00:02.917 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:34:05 +0000 (0:00:00.015) 0:00:02.933 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:34:05 +0000 (0:00:00.015) 0:00:02.948 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003414", "end": "2024-02-14 02:34:05.459470", "rc": 0, "start": "2024-02-14 02:34:05.456056" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:34:05 +0000 (0:00:00.130) 0:00:03.078 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:34:05 +0000 (0:00:00.013) 0:00:03.091 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:34:05 +0000 (0:00:00.011) 0:00:03.103 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 02:34:06 +0000 (0:00:00.542) 0:00:03.645 **** 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.146044", "end": "2024-02-14 02:34:06.306895", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 02:34:06.160851" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004257", "end": "2024-02-14 02:34:06.485642", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 02:34:06.481385" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003900", "end": "2024-02-14 02:34:06.630956", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 02:34:06.627056" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 02:34:06 +0000 (0:00:00.605) 0:00:04.251 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 02:34:06 +0000 (0:00:00.135) 0:00:04.386 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 02:34:06 +0000 (0:00:00.013) 0:00:04.400 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 02:34:06 +0000 (0:00:00.014) 0:00:04.414 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:34:06 +0000 (0:00:00.013) 0:00:04.428 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 02:34:06 +0000 (0:00:00.012) 0:00:04.440 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 14 February 2024 02:34:06 +0000 (0:00:00.017) 0:00:04.458 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:34:06 +0000 (0:00:00.029) 0:00:04.487 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:34:06 +0000 (0:00:00.017) 0:00:04.504 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878046.451014, "block_size": 4096, "blocks": 0, "ctime": 1707878046.430014, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6497, "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": 1707878046.430014, "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_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:34:07 +0000 (0:00:00.129) 0:00:04.634 **** 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_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 14 February 2024 02:34:07 +0000 (0:00:00.014) 0:00:04.649 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:34:07 +0000 (0:00:00.012) 0:00:04.661 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:34:07 +0000 (0:00:00.070) 0:00:04.732 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:34:07 +0000 (0:00:00.016) 0:00:04.749 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:34:07 +0000 (0:00:00.012) 0:00:04.761 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:34:07 +0000 (0:00:00.012) 0:00:04.774 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:34:08 +0000 (0:00:01.690) 0:00:06.464 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:34:09 +0000 (0:00:00.768) 0:00:07.232 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:34:09 +0000 (0:00:00.050) 0:00:07.283 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:34:09 +0000 (0:00:00.022) 0:00:07.305 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:34:09 +0000 (0:00:00.021) 0:00:07.326 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:34:09 +0000 (0:00:00.042) 0:00:07.369 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:34:09 +0000 (0:00:00.020) 0:00:07.389 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:34:09 +0000 (0:00:00.021) 0:00:07.411 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:34:09 +0000 (0:00:00.028) 0:00:07.439 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:34:09 +0000 (0:00:00.038) 0:00:07.478 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:34:09 +0000 (0:00:00.039) 0:00:07.517 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:34:10 +0000 (0:00:00.297) 0:00:07.815 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-3062taar_38x/tmpv48o2u4w" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:34:10 +0000 (0:00:00.204) 0:00:08.019 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:34:14 +0000 (0:00:04.492) 0:00:12.512 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:34:14 +0000 (0:00:00.020) 0:00:12.533 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:34:14 +0000 (0:00:00.022) 0:00:12.556 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:34:14 +0000 (0:00:00.023) 0:00:12.580 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:34:15 +0000 (0:00:00.020) 0:00:12.601 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 14 February 2024 02:34:15 +0000 (0:00:00.206) 0:00:12.807 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:34:15 +0000 (0:00:00.070) 0:00:12.878 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:34:15 +0000 (0:00:00.037) 0:00:12.915 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878046.451014, "block_size": 4096, "blocks": 0, "ctime": 1707878046.430014, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6497, "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": 1707878046.430014, "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_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:34:15 +0000 (0:00:00.137) 0:00:13.053 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 14 February 2024 02:34:15 +0000 (0:00:00.023) 0:00:13.076 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:34:15 +0000 (0:00:00.047) 0:00:13.124 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:34:15 +0000 (0:00:00.036) 0:00:13.160 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:34:15 +0000 (0:00:00.021) 0:00:13.182 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878050.757014, "block_size": 4096, "blocks": 8, "ctime": 1707878050.756014, "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": 1707878050.756014, "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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:34:15 +0000 (0:00:00.136) 0:00:13.318 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:34:15 +0000 (0:00:00.022) 0:00:13.340 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.005591", "end": "2024-02-14 02:34:15.855898", "rc": 1, "start": "2024-02-14 02:34:15.850307" } 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:34:15 +0000 (0:00:00.142) 0:00:13.483 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:34:15 +0000 (0:00:00.021) 0:00:13.505 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003371", "end": "2024-02-14 02:34:16.026542", "rc": 0, "start": "2024-02-14 02:34:16.023171" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:34:16 +0000 (0:00:00.150) 0:00:13.656 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:34:16 +0000 (0:00:00.056) 0:00:13.712 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003377", "end": "2024-02-14 02:34:16.228652", "rc": 0, "start": "2024-02-14 02:34:16.225275" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:34:16 +0000 (0:00:00.146) 0:00:13.859 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:34:16 +0000 (0:00:00.027) 0:00:13.886 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:34:16 +0000 (0:00:00.026) 0:00:13.913 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:34:16 +0000 (0:00:00.023) 0:00:13.936 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 14 February 2024 02:34:16 +0000 (0:00:00.022) 0:00:13.959 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003373", "end": "2024-02-14 02:34:16.473257", "rc": 0, "start": "2024-02-14 02:34:16.469884" } 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.43.197 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_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 14 February 2024 02:34:16 +0000 (0:00:00.142) 0:00:14.101 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 14 February 2024 02:34:16 +0000 (0:00:00.023) 0:00:14.125 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003388", "end": "2024-02-14 02:34:16.638552", "rc": 0, "start": "2024-02-14 02:34:16.635164" } 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_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 14 February 2024 02:34:16 +0000 (0:00:00.142) 0:00:14.267 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 14 February 2024 02:34:16 +0000 (0:00:00.021) 0:00:14.288 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:34:16 +0000 (0:00:00.021) 0:00:14.309 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:34:16 +0000 (0:00:00.037) 0:00:14.347 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:34:16 +0000 (0:00:00.026) 0:00:14.373 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:34:16 +0000 (0:00:00.021) 0:00:14.395 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:34:16 +0000 (0:00:00.021) 0:00:14.416 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:34:18 +0000 (0:00:01.567) 0:00:15.984 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:34:19 +0000 (0:00:00.634) 0:00:16.618 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:34:19 +0000 (0:00:00.029) 0:00:16.648 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:34:19 +0000 (0:00:00.032) 0:00:16.680 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:34:19 +0000 (0:00:00.022) 0:00:16.703 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:34:19 +0000 (0:00:00.063) 0:00:16.767 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:34:19 +0000 (0:00:00.057) 0:00:16.825 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:34:19 +0000 (0:00:00.043) 0:00:16.868 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:34:19 +0000 (0:00:00.036) 0:00:16.905 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:34:19 +0000 (0:00:00.022) 0:00:16.927 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:34:19 +0000 (0:00:00.034) 0:00:16.961 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:34:19 +0000 (0:00:00.239) 0:00:17.201 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-3062taar_38x/tmpscpex9r9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:34:19 +0000 (0:00:00.263) 0:00:17.464 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:34:20 +0000 (0:00:00.433) 0:00:17.897 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:34:20 +0000 (0:00:00.071) 0:00:17.968 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:34:20 +0000 (0:00:00.042) 0:00:18.011 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:34:20 +0000 (0:00:00.040) 0:00:18.051 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:34:20 +0000 (0:00:00.030) 0:00:18.082 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 14 February 2024 02:34:20 +0000 (0:00:00.202) 0:00:18.285 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:34:20 +0000 (0:00:00.054) 0:00:18.339 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:34:20 +0000 (0:00:00.022) 0:00:18.361 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:34:20 +0000 (0:00:00.081) 0:00:18.443 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:34:20 +0000 (0:00:00.034) 0:00:18.477 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:34:20 +0000 (0:00:00.058) 0:00:18.536 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003403", "end": "2024-02-14 02:34:21.058968", "rc": 0, "start": "2024-02-14 02:34:21.055565" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:34:21 +0000 (0:00:00.161) 0:00:18.697 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:34:21 +0000 (0:00:00.026) 0:00:18.723 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:34:21 +0000 (0:00:00.021) 0:00:18.745 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 02:34:21 +0000 (0:00:00.406) 0:00:19.152 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 02:34:21 +0000 (0:00:00.037) 0:00:19.190 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 02:34:21 +0000 (0:00:00.032) 0:00:19.223 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.047168", "end": "2024-02-14 02:34:21.783535", "rc": 0, "start": "2024-02-14 02:34:21.736367" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 02:34:21 +0000 (0:00:00.199) 0:00:19.422 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 02:34:21 +0000 (0:00:00.057) 0:00:19.479 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:34:21 +0000 (0:00:00.042) 0:00:19.522 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 02:34:21 +0000 (0:00:00.025) 0:00:19.548 **** 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_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 14 February 2024 02:34:22 +0000 (0:00:00.064) 0:00:19.612 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 14 February 2024 02:34:22 +0000 (0:00:00.028) 0:00:19.641 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:34:22 +0000 (0:00:00.066) 0:00:19.707 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:34:22 +0000 (0:00:00.039) 0:00:19.747 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:34:22 +0000 (0:00:00.034) 0:00:19.781 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:34:22 +0000 (0:00:00.039) 0:00:19.820 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:34:22 +0000 (0:00:00.034) 0:00:19.855 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003478", "end": "2024-02-14 02:34:22.383074", "rc": 0, "start": "2024-02-14 02:34:22.379596" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:34:22 +0000 (0:00:00.171) 0:00:20.027 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:34:22 +0000 (0:00:00.038) 0:00:20.065 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:34:22 +0000 (0:00:00.033) 0:00:20.098 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 02:34:22 +0000 (0:00:00.478) 0:00:20.577 **** 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.003769", "end": "2024-02-14 02:34:23.095571", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 02:34:23.091802" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003558", "end": "2024-02-14 02:34:23.263489", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 02:34:23.259931" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003728", "end": "2024-02-14 02:34:23.387318", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 02:34:23.383590" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 02:34:23 +0000 (0:00:00.441) 0:00:21.018 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 02:34:23 +0000 (0:00:00.143) 0:00:21.161 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 02:34:23 +0000 (0:00:00.026) 0:00:21.188 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 02:34:23 +0000 (0:00:00.024) 0:00:21.212 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:34:23 +0000 (0:00:00.022) 0:00:21.235 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 02:34:23 +0000 (0:00:00.023) 0:00:21.258 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:34:23 +0000 (0:00:00.023) 0:00:21.282 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:34:23 +0000 (0:00:00.037) 0:00:21.319 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:34:23 +0000 (0:00:00.025) 0:00:21.345 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:34:23 +0000 (0:00:00.021) 0:00:21.366 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:34:23 +0000 (0:00:00.020) 0:00:21.387 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:34:25 +0000 (0:00:01.506) 0:00:22.893 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:34:25 +0000 (0:00:00.639) 0:00:23.533 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:34:25 +0000 (0:00:00.026) 0:00:23.559 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:34:25 +0000 (0:00:00.027) 0:00:23.586 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:34:26 +0000 (0:00:00.021) 0:00:23.608 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:34:26 +0000 (0:00:00.051) 0:00:23.660 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:34:26 +0000 (0:00:00.022) 0:00:23.683 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:34:26 +0000 (0:00:00.023) 0:00:23.706 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:34:26 +0000 (0:00:00.028) 0:00:23.735 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:34:26 +0000 (0:00:00.034) 0:00:23.769 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:34:26 +0000 (0:00:00.024) 0:00:23.794 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:34:26 +0000 (0:00:00.202) 0:00:23.996 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-3062taar_38x/tmpak6f_tbq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:34:26 +0000 (0:00:00.261) 0:00:24.258 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:34:31 +0000 (0:00:04.377) 0:00:28.635 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:34:31 +0000 (0:00:00.042) 0:00:28.678 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:34:31 +0000 (0:00:00.025) 0:00:28.704 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:34:31 +0000 (0:00:00.034) 0:00:28.739 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:34:31 +0000 (0:00:00.022) 0:00:28.761 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 14 February 2024 02:34:31 +0000 (0:00:00.172) 0:00:28.934 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:34:31 +0000 (0:00:00.057) 0:00:28.991 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:34:31 +0000 (0:00:00.036) 0:00:29.028 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878063.127014, "block_size": 4096, "blocks": 0, "ctime": 1707878063.096014, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6497, "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": 1707878063.096014, "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_rewriteqed2xaqz/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:34:31 +0000 (0:00:00.141) 0:00:29.169 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 14 February 2024 02:34:31 +0000 (0:00:00.023) 0:00:29.192 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:34:31 +0000 (0:00:00.051) 0:00:29.244 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:34:31 +0000 (0:00:00.036) 0:00:29.280 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:34:31 +0000 (0:00:00.024) 0:00:29.305 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878066.900014, "block_size": 4096, "blocks": 8, "ctime": 1707878066.887014, "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": 1707878066.887014, "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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:34:31 +0000 (0:00:00.158) 0:00:29.464 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:34:31 +0000 (0:00:00.024) 0:00:29.488 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.005622", "end": "2024-02-14 02:34:32.005463", "rc": 1, "start": "2024-02-14 02:34:31.999841" } 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:34:32 +0000 (0:00:00.144) 0:00:29.632 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:34:32 +0000 (0:00:00.067) 0:00:29.700 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003401", "end": "2024-02-14 02:34:32.217290", "rc": 0, "start": "2024-02-14 02:34:32.213889" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:34:32 +0000 (0:00:00.150) 0:00:29.850 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:34:32 +0000 (0:00:00.032) 0:00:29.882 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003372", "end": "2024-02-14 02:34:32.405774", "rc": 0, "start": "2024-02-14 02:34:32.402402" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:34:32 +0000 (0:00:00.159) 0:00:30.042 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:34:32 +0000 (0:00:00.039) 0:00:30.082 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:34:32 +0000 (0:00:00.028) 0:00:30.111 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:34:32 +0000 (0:00:00.033) 0:00:30.144 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 14 February 2024 02:34:32 +0000 (0:00:00.030) 0:00:30.174 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003335", "end": "2024-02-14 02:34:32.693797", "rc": 0, "start": "2024-02-14 02:34:32.690462" } 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.43.197 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_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 14 February 2024 02:34:32 +0000 (0:00:00.149) 0:00:30.324 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 14 February 2024 02:34:32 +0000 (0:00:00.023) 0:00:30.348 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003671", "end": "2024-02-14 02:34:32.862977", "rc": 0, "start": "2024-02-14 02:34:32.859306" } 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_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 14 February 2024 02:34:32 +0000 (0:00:00.143) 0:00:30.491 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 14 February 2024 02:34:32 +0000 (0:00:00.021) 0:00:30.513 **** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:34:32 +0000 (0:00:00.021) 0:00:30.534 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:34:32 +0000 (0:00:00.037) 0:00:30.572 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:34:32 +0000 (0:00:00.025) 0:00:30.597 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:34:33 +0000 (0:00:00.063) 0:00:30.661 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:34:33 +0000 (0:00:00.022) 0:00:30.683 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:34:34 +0000 (0:00:01.727) 0:00:32.410 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:34:35 +0000 (0:00:00.611) 0:00:33.022 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:34:35 +0000 (0:00:00.025) 0:00:33.047 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:34:35 +0000 (0:00:00.023) 0:00:33.071 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:34:35 +0000 (0:00:00.023) 0:00:33.094 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:34:35 +0000 (0:00:00.052) 0:00:33.147 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:34:35 +0000 (0:00:00.075) 0:00:33.222 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:34:35 +0000 (0:00:00.032) 0:00:33.255 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:34:35 +0000 (0:00:00.039) 0:00:33.294 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:34:35 +0000 (0:00:00.023) 0:00:33.318 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:34:35 +0000 (0:00:00.030) 0:00:33.349 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:34:35 +0000 (0:00:00.222) 0:00:33.571 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-3062taar_38x/tmptz5cc45d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:34:36 +0000 (0:00:00.243) 0:00:33.815 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:34:36 +0000 (0:00:00.357) 0:00:34.172 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:34:36 +0000 (0:00:00.021) 0:00:34.194 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:34:36 +0000 (0:00:00.031) 0:00:34.226 **** 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_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:34:36 +0000 (0:00:00.022) 0:00:34.249 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:34:36 +0000 (0:00:00.022) 0:00:34.271 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 14 February 2024 02:34:36 +0000 (0:00:00.138) 0:00:34.410 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:34:36 +0000 (0:00:00.170) 0:00:34.581 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:34:37 +0000 (0:00:00.037) 0:00:34.618 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:34:37 +0000 (0:00:00.028) 0:00:34.647 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:34:37 +0000 (0:00:00.042) 0:00:34.689 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:34:37 +0000 (0:00:00.049) 0:00:34.738 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003268", "end": "2024-02-14 02:34:37.260981", "rc": 0, "start": "2024-02-14 02:34:37.257713" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:34:37 +0000 (0:00:00.165) 0:00:34.904 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:34:37 +0000 (0:00:00.026) 0:00:34.931 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:34:37 +0000 (0:00:00.033) 0:00:34.964 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 14 February 2024 02:34:37 +0000 (0:00:00.402) 0:00:35.367 **** 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_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 14 February 2024 02:34:37 +0000 (0:00:00.036) 0:00:35.403 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 14 February 2024 02:34:37 +0000 (0:00:00.039) 0:00:35.442 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.045599", "end": "2024-02-14 02:34:38.007450", "rc": 0, "start": "2024-02-14 02:34:37.961851" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 14 February 2024 02:34:38 +0000 (0:00:00.210) 0:00:35.653 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 14 February 2024 02:34:38 +0000 (0:00:00.022) 0:00:35.676 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:34:38 +0000 (0:00:00.029) 0:00:35.706 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 14 February 2024 02:34:38 +0000 (0:00:00.061) 0:00:35.767 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:153 Wednesday 14 February 2024 02:34:38 +0000 (0:00:00.022) 0:00:35.789 **** included: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 02:34:38 +0000 (0:00:00.086) 0:00:35.875 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :_\nfi\n", "delta": "0:00:00.006871", "end": "2024-02-14 02:34:38.398693", "rc": 0, "start": "2024-02-14 02:34:38.391822" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc pfifo_fast state UP qlen 1000 link/ether 0e:82:83:09:5c:37 brd ff:ff:ff:ff:ff:ff inet 10.31.43.197/22 brd 10.31.43.255 scope global eth0 inet6 fe80::c82:83ff:fe09:5c37/64 scope link valid_lft forever preferred_lft forever IP ROUTE 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.197 169.254.0.0/16 dev eth0 scope link metric 1002 default via 10.31.40.1 dev eth0 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 RESOLV ; Created by cloud-init on instance boot automatically, do not edit. ; ; generated by /sbin/dhclient-script search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 02:34:38 +0000 (0:00:00.164) 0:00:36.040 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=138 changed=5 unreachable=0 failed=0 skipped=92 rescued=0 ignored=4 Wednesday 14 February 2024 02:34:38 +0000 (0:00:00.025) 0:00:36.065 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 4.49s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 4.38s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.73s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.84s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tests_auto_gateway_initscripts.yml:5 linux-system-roles.network : Configure networking connection profiles --- 0.79s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.77s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.64s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.64s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tests_auto_gateway.yml:3 linux-system-roles.network : Check which packages are installed --------- 0.63s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.61s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Create veth interface veth0 --------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:28 Install iproute --------------------------------------------------------- 0.54s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.51s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:116 Install iproute --------------------------------------------------------- 0.48s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:16 Enable EPEL 6 ----------------------------------------------------------- 0.47s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/tasks/enable_epel.yml:40 ------ linux-system-roles.network : Enable network service --------------------- 0.46s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/roles/linux-system-roles.network/tasks/main.yml:108 Create veth interface veth0 --------------------------------------------- 0.44s /WORKDIR/git-bond_options_rewriteqed2xaqz/tests/playbooks/tasks/manage_test_interface.yml:28 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---