# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-bond_options_rewritextxg1fa_/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /WORKDIR/git-bond_options_rewritextxg1fa_/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_rewritextxg1fa_/tests/tests_auto_gateway_initscripts.yml:5 Tuesday 13 February 2024 14:03:40 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/tests_auto_gateway_initscripts.yml:8 Tuesday 13 February 2024 14:03:41 +0000 (0:00:00.986) 0:00:00.998 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/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_rewritextxg1fa_/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 14:03:41 +0000 (0:00:00.013) 0:00:01.012 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/tasks/el_repo_setup.yml:17 Tuesday 13 February 2024 14:03:41 +0000 (0:00:00.458) 0:00:01.470 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/tasks/el_repo_setup.yml:22 Tuesday 13 February 2024 14:03:42 +0000 (0:00:00.253) 0:00:01.724 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/tasks/el_repo_setup.yml:26 Tuesday 13 February 2024 14:03:42 +0000 (0:00:00.020) 0:00:01.745 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/tasks/el_repo_setup.yml:51 Tuesday 13 February 2024 14:03:42 +0000 (0:00:00.011) 0:00:01.757 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 14:03:42 +0000 (0:00:00.034) 0:00:01.791 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 14:03:42 +0000 (0:00:00.340) 0:00:02.132 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 14:03:42 +0000 (0:00:00.015) 0:00:02.148 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 14:03:42 +0000 (0:00:00.018) 0:00:02.166 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.241656", "end": "2024-02-13 14:03:43.024732", "rc": 0, "start": "2024-02-13 14:03:42.783076" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.429) 0:00:02.595 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/tests_auto_gateway_initscripts.yml:10 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.037) 0:00:02.633 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.026) 0:00:02.659 ****** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.642) 0:00:03.302 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.045) 0:00:03.347 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:43 +0000 (0:00:00.020) 0:00:03.368 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003374", "end": "2024-02-13 14:03:44.001336", "rc": 0, "start": "2024-02-13 14:03:43.997962" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:44 +0000 (0:00:00.212) 0:00:03.580 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:44 +0000 (0:00:00.041) 0:00:03.621 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 13 February 2024 14:03:44 +0000 (0:00:00.021) 0:00:03.643 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 14:03:44 +0000 (0:00:00.038) 0:00:03.682 ****** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 14:03:44 +0000 (0:00:00.018) 0:00:03.700 ****** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 14:03:44 +0000 (0:00:00.025) 0:00:03.725 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:03:44 +0000 (0:00:00.035) 0:00:03.760 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:03:44 +0000 (0:00:00.021) 0:00:03.782 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003417", "end": "2024-02-13 14:03:44.413113", "rc": 0, "start": "2024-02-13 14:03:44.409696" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:03:44 +0000 (0:00:00.215) 0:00:03.997 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:03:44 +0000 (0:00:00.040) 0:00:04.038 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 14:03:44 +0000 (0:00:00.043) 0:00:04.082 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 14:03:47 +0000 (0:00:02.822) 0:00:06.904 ****** 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.018004", "end": "2024-02-13 14:03:47.553744", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-13 14:03:47.535740" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003658", "end": "2024-02-13 14:03:47.775830", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-13 14:03:47.772172" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004204", "end": "2024-02-13 14:03:47.990164", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-13 14:03:47.985960" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 14:03:48 +0000 (0:00:00.658) 0:00:07.563 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.048151", "end": "2024-02-13 14:03:48.258483", "rc": 0, "start": "2024-02-13 14:03:48.210332" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 14:03:48 +0000 (0:00:00.271) 0:00:07.834 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 14:03:48 +0000 (0:00:00.022) 0:00:07.857 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 14:03:48 +0000 (0:00:00.019) 0:00:07.877 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 14:03:48 +0000 (0:00:00.051) 0:00:07.929 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 14:03:48 +0000 (0:00:00.040) 0:00:07.969 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 13 February 2024 14:03:48 +0000 (0:00:00.023) 0:00:07.993 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 14:03:48 +0000 (0:00:00.089) 0:00:08.082 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:03:48 +0000 (0:00:00.035) 0:00:08.118 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833027.5461435, "block_size": 4096, "blocks": 0, "ctime": 1707833027.5461435, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21657, "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": 1707833027.5461435, "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_rewritextxg1fa_/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 14:03:48 +0000 (0:00:00.214) 0:00:08.332 ****** 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_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 13 February 2024 14:03:48 +0000 (0:00:00.025) 0:00:08.357 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 14:03:48 +0000 (0:00:00.024) 0:00:08.382 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:03:48 +0000 (0:00:00.030) 0:00:08.413 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 14:03:48 +0000 (0:00:00.029) 0:00:08.442 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 14:03:48 +0000 (0:00:00.029) 0:00:08.472 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 14:03:48 +0000 (0:00:00.018) 0:00:08.491 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 14:03:50 +0000 (0:00:01.564) 0:00:10.055 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 14:03:52 +0000 (0:00:01.624) 0:00:11.679 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 14:03:52 +0000 (0:00:00.123) 0:00:11.803 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 14:03:52 +0000 (0:00:00.044) 0:00:11.847 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 14:03:52 +0000 (0:00:00.034) 0:00:11.881 ****** changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 14:03:56 +0000 (0:00:04.081) 0:00:15.963 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 14:03:56 +0000 (0:00:00.038) 0:00:16.001 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 14:03:56 +0000 (0:00:00.068) 0:00:16.070 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 14:03:56 +0000 (0:00:00.257) 0:00:16.327 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 14:03:56 +0000 (0:00:00.174) 0:00:16.502 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 14:03:56 +0000 (0:00:00.042) 0:00:16.545 ****** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 14:03:58 +0000 (0:00:01.378) 0:00:17.923 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23063w7i_y90/tmphkw_21pk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 14:03:58 +0000 (0:00:00.408) 0:00:18.332 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 14:04:05 +0000 (0:00:06.755) 0:00:25.087 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 14:04:05 +0000 (0:00:00.055) 0:00:25.143 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 14:04:05 +0000 (0:00:00.055) 0:00:25.198 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 14:04:05 +0000 (0:00:00.050) 0:00:25.249 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 14:04:05 +0000 (0:00:00.039) 0:00:25.288 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 13 February 2024 14:04:06 +0000 (0:00:00.386) 0:00:25.674 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 14:04:06 +0000 (0:00:00.072) 0:00:25.747 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:04:06 +0000 (0:00:00.070) 0:00:25.818 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833027.5461435, "block_size": 4096, "blocks": 0, "ctime": 1707833027.5461435, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21657, "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": 1707833027.5461435, "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_rewritextxg1fa_/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 14:04:06 +0000 (0:00:00.236) 0:00:26.054 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 13 February 2024 14:04:06 +0000 (0:00:00.055) 0:00:26.110 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 14:04:06 +0000 (0:00:00.053) 0:00:26.164 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/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_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 14:04:06 +0000 (0:00:00.057) 0:00:26.221 ****** 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_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 14:04:06 +0000 (0:00:00.059) 0:00:26.281 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833039.228264, "block_size": 4096, "blocks": 8, "ctime": 1707833039.2072647, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707833039.2072647, "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_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 14:04:06 +0000 (0:00:00.265) 0:00:26.546 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 14:04:07 +0000 (0:00:00.044) 0:00:26.591 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021330", "end": "2024-02-13 14:04:07.248011", "rc": 1, "start": "2024-02-13 14:04:07.226681" } 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_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 14:04:07 +0000 (0:00:00.275) 0:00:26.866 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 14:04:07 +0000 (0:00:00.074) 0:00:26.941 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003163", "end": "2024-02-13 14:04:07.593711", "rc": 0, "start": "2024-02-13 14:04:07.590548" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 14:04:07 +0000 (0:00:00.268) 0:00:27.210 ****** 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_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 14:04:07 +0000 (0:00:00.111) 0:00:27.321 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003286", "end": "2024-02-13 14:04:08.033875", "rc": 0, "start": "2024-02-13 14:04:08.030589" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 14:04:08 +0000 (0:00:00.305) 0:00:27.626 ****** 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_rewritextxg1fa_/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 14:04:08 +0000 (0:00:00.037) 0:00:27.663 ****** 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_rewritextxg1fa_/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 14:04:08 +0000 (0:00:00.035) 0:00:27.699 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 14:04:08 +0000 (0:00:00.044) 0:00:27.743 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 13 February 2024 14:04:08 +0000 (0:00:00.068) 0:00:27.812 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003784", "end": "2024-02-13 14:04:08.530515", "rc": 0, "start": "2024-02-13 14:04:08.526731" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.65 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.65 metric 100 169.254.0.0/16 dev veth0 scope link metric 1004 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 13 February 2024 14:04:08 +0000 (0:00:00.308) 0:00:28.121 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 13 February 2024 14:04:08 +0000 (0:00:00.150) 0:00:28.271 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003901", "end": "2024-02-13 14:04:08.946105", "rc": 0, "start": "2024-02-13 14:04:08.942204" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 13 February 2024 14:04:09 +0000 (0:00:00.282) 0:00:28.554 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 13 February 2024 14:04:09 +0000 (0:00:00.059) 0:00:28.613 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 14:04:09 +0000 (0:00:00.066) 0:00:28.680 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:04:09 +0000 (0:00:00.083) 0:00:28.763 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 14:04:09 +0000 (0:00:00.067) 0:00:28.830 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 14:04:09 +0000 (0:00:00.035) 0:00:28.866 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 14:04:09 +0000 (0:00:00.061) 0:00:28.927 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 14:04:11 +0000 (0:00:01.627) 0:00:30.555 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 14:04:12 +0000 (0:00:01.431) 0:00:31.986 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 14:04:12 +0000 (0:00:00.065) 0:00:32.052 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 14:04:12 +0000 (0:00:00.058) 0:00:32.111 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 14:04:12 +0000 (0:00:00.048) 0:00:32.159 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 14:04:12 +0000 (0:00:00.056) 0:00:32.216 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 14:04:12 +0000 (0:00:00.045) 0:00:32.262 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 14:04:12 +0000 (0:00:00.165) 0:00:32.427 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 14:04:12 +0000 (0:00:00.091) 0:00:32.518 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 14:04:13 +0000 (0:00:00.105) 0:00:32.624 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 14:04:13 +0000 (0:00:00.035) 0:00:32.659 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 14:04:13 +0000 (0:00:00.424) 0:00:33.083 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23063w7i_y90/tmp4m0e_b0b" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 14:04:13 +0000 (0:00:00.313) 0:00:33.397 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 14:04:14 +0000 (0:00:00.446) 0:00:33.843 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 14:04:14 +0000 (0:00:00.039) 0:00:33.883 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 14:04:14 +0000 (0:00:00.048) 0:00:33.931 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 14:04:14 +0000 (0:00:00.084) 0:00:34.015 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 14:04:14 +0000 (0:00:00.043) 0:00:34.059 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 13 February 2024 14:04:14 +0000 (0:00:00.235) 0:00:34.295 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 14:04:14 +0000 (0:00:00.151) 0:00:34.447 ****** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 14:04:14 +0000 (0:00:00.068) 0:00:34.515 ****** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 14:04:15 +0000 (0:00:00.038) 0:00:34.554 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:04:15 +0000 (0:00:00.075) 0:00:34.629 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:04:15 +0000 (0:00:00.047) 0:00:34.676 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003434", "end": "2024-02-13 14:04:15.331118", "rc": 0, "start": "2024-02-13 14:04:15.327684" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:04:15 +0000 (0:00:00.239) 0:00:34.916 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:04:15 +0000 (0:00:00.035) 0:00:34.952 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 14:04:15 +0000 (0:00:00.035) 0:00:34.987 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 14:04:18 +0000 (0:00:02.661) 0:00:37.649 ****** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 14:04:18 +0000 (0:00:00.087) 0:00:37.736 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 14:04:18 +0000 (0:00:00.078) 0:00:37.815 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011937", "end": "2024-02-13 14:04:18.474825", "rc": 0, "start": "2024-02-13 14:04:18.462888" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 14:04:18 +0000 (0:00:00.263) 0:00:38.078 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 14:04:18 +0000 (0:00:00.034) 0:00:38.112 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 14:04:18 +0000 (0:00:00.038) 0:00:38.150 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 14:04:18 +0000 (0:00:00.032) 0:00:38.182 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 13 February 2024 14:04:18 +0000 (0:00:00.039) 0:00:38.222 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 13 February 2024 14:04:18 +0000 (0:00:00.035) 0:00:38.257 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 14:04:18 +0000 (0:00:00.077) 0:00:38.334 ****** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 14:04:18 +0000 (0:00:00.114) 0:00:38.449 ****** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 14:04:18 +0000 (0:00:00.039) 0:00:38.488 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:04:18 +0000 (0:00:00.044) 0:00:38.532 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:04:19 +0000 (0:00:00.053) 0:00:38.586 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003442", "end": "2024-02-13 14:04:19.219816", "rc": 0, "start": "2024-02-13 14:04:19.216374" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:04:19 +0000 (0:00:00.237) 0:00:38.824 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:04:19 +0000 (0:00:00.065) 0:00:38.890 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 14:04:19 +0000 (0:00:00.056) 0:00:38.947 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 14:04:22 +0000 (0:00:02.614) 0:00:41.561 ****** 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.011310", "end": "2024-02-13 14:04:22.229406", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-13 14:04:22.218096" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003888", "end": "2024-02-13 14:04:22.453763", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-13 14:04:22.449875" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004339", "end": "2024-02-13 14:04:22.716609", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-13 14:04:22.712270" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 14:04:22 +0000 (0:00:00.744) 0:00:42.305 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022034", "end": "2024-02-13 14:04:22.958996", "rc": 0, "start": "2024-02-13 14:04:22.936962" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.251) 0:00:42.557 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.070) 0:00:42.627 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.055) 0:00:42.683 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.117) 0:00:42.801 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.035) 0:00:42.836 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.075) 0:00:42.912 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.153) 0:00:43.066 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.041) 0:00:43.107 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.035) 0:00:43.143 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 14:04:23 +0000 (0:00:00.088) 0:00:43.231 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 14:04:25 +0000 (0:00:01.619) 0:00:44.851 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 14:04:26 +0000 (0:00:01.405) 0:00:46.256 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 14:04:26 +0000 (0:00:00.036) 0:00:46.292 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 14:04:26 +0000 (0:00:00.034) 0:00:46.326 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 14:04:26 +0000 (0:00:00.044) 0:00:46.371 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 14:04:26 +0000 (0:00:00.072) 0:00:46.444 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 14:04:26 +0000 (0:00:00.037) 0:00:46.481 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 14:04:26 +0000 (0:00:00.052) 0:00:46.533 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.092) 0:00:46.626 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.051) 0:00:46.677 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.039) 0:00:46.716 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.425) 0:00:47.142 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23063w7i_y90/tmpexoh_ls3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 14:04:27 +0000 (0:00:00.402) 0:00:47.545 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 14:04:34 +0000 (0:00:06.535) 0:00:54.080 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.045) 0:00:54.125 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.074) 0:00:54.200 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.046) 0:00:54.246 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 14:04:34 +0000 (0:00:00.069) 0:00:54.316 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 13 February 2024 14:04:35 +0000 (0:00:00.244) 0:00:54.560 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 14:04:35 +0000 (0:00:00.066) 0:00:54.627 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 14:04:35 +0000 (0:00:00.042) 0:00:54.669 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833062.2216425, "block_size": 4096, "blocks": 0, "ctime": 1707833062.2216425, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22243, "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": 1707833062.2216425, "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_rewritextxg1fa_/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 14:04:35 +0000 (0:00:00.221) 0:00:54.890 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 13 February 2024 14:04:35 +0000 (0:00:00.035) 0:00:54.926 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 14:04:35 +0000 (0:00:00.073) 0:00:55.000 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/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_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 14:04:35 +0000 (0:00:00.096) 0:00:55.097 ****** 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_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 14:04:35 +0000 (0:00:00.033) 0:00:55.130 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707833068.2853298, "block_size": 4096, "blocks": 8, "ctime": 1707833068.2653303, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707833068.2653303, "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_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 14:04:35 +0000 (0:00:00.228) 0:00:55.359 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 14:04:35 +0000 (0:00:00.042) 0:00:55.401 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021286", "end": "2024-02-13 14:04:36.126892", "rc": 1, "start": "2024-02-13 14:04:36.105606" } 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_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 14:04:36 +0000 (0:00:00.305) 0:00:55.707 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 14:04:36 +0000 (0:00:00.029) 0:00:55.737 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003291", "end": "2024-02-13 14:04:36.380107", "rc": 0, "start": "2024-02-13 14:04:36.376816" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 14:04:36 +0000 (0:00:00.227) 0:00:55.965 ****** 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_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 14:04:36 +0000 (0:00:00.051) 0:00:56.016 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003380", "end": "2024-02-13 14:04:36.682297", "rc": 0, "start": "2024-02-13 14:04:36.678917" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 14:04:36 +0000 (0:00:00.262) 0:00:56.279 ****** 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_rewritextxg1fa_/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 14:04:36 +0000 (0:00:00.067) 0:00:56.346 ****** 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_rewritextxg1fa_/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 14:04:36 +0000 (0:00:00.079) 0:00:56.426 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 14:04:36 +0000 (0:00:00.070) 0:00:56.497 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.055) 0:00:56.553 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003762", "end": "2024-02-13 14:04:37.201980", "rc": 0, "start": "2024-02-13 14:04:37.198218" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.65 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.65 metric 100 169.254.0.0/16 dev veth0 scope link metric 1006 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.251) 0:00:56.804 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.065) 0:00:56.869 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003805", "end": "2024-02-13 14:04:37.533771", "rc": 0, "start": "2024-02-13 14:04:37.529966" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.253) 0:00:57.123 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.108) 0:00:57.231 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 14:04:37 +0000 (0:00:00.076) 0:00:57.308 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 14:04:38 +0000 (0:00:00.305) 0:00:57.613 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 14:04:38 +0000 (0:00:00.186) 0:00:57.800 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 14:04:38 +0000 (0:00:00.074) 0:00:57.874 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 14:04:38 +0000 (0:00:00.045) 0:00:57.920 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 14:04:39 +0000 (0:00:01.590) 0:00:59.510 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 14:04:41 +0000 (0:00:01.417) 0:01:00.928 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.078) 0:01:01.006 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.132) 0:01:01.139 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.120) 0:01:01.259 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.096) 0:01:01.356 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 14:04:41 +0000 (0:00:00.123) 0:01:01.480 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.078) 0:01:01.558 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.080) 0:01:01.639 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.081) 0:01:01.720 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.035) 0:01:01.755 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 14:04:42 +0000 (0:00:00.529) 0:01:02.285 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23063w7i_y90/tmpadpp57d2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 14:04:43 +0000 (0:00:00.459) 0:01:02.745 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 14:04:43 +0000 (0:00:00.577) 0:01:03.322 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 14:04:43 +0000 (0:00:00.091) 0:01:03.413 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 14:04:43 +0000 (0:00:00.061) 0:01:03.474 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.084) 0:01:03.559 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.093) 0:01:03.652 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.305) 0:01:03.958 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.120) 0:01:04.078 ****** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.053) 0:01:04.132 ****** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.032) 0:01:04.164 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.135) 0:01:04.300 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 14:04:44 +0000 (0:00:00.061) 0:01:04.362 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003263", "end": "2024-02-13 14:04:45.003860", "rc": 0, "start": "2024-02-13 14:04:45.000597" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 14:04:45 +0000 (0:00:00.284) 0:01:04.646 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 14:04:45 +0000 (0:00:00.048) 0:01:04.695 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 14:04:45 +0000 (0:00:00.049) 0:01:04.744 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 14:04:47 +0000 (0:00:02.562) 0:01:07.306 ****** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 14:04:47 +0000 (0:00:00.065) 0:01:07.372 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 14:04:47 +0000 (0:00:00.041) 0:01:07.413 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010240", "end": "2024-02-13 14:04:48.129296", "rc": 0, "start": "2024-02-13 14:04:48.119056" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.305) 0:01:07.718 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.032) 0:01:07.751 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.049) 0:01:07.800 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.056) 0:01:07.857 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tests_auto_gateway.yml:153 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.136) 0:01:07.994 ****** included: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 14:04:48 +0000 (0:00:00.228) 0:01:08.222 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip 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\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.264188", "end": "2024-02-13 14:04:49.190825", "rc": 0, "start": "2024-02-13 14:04:48.926637" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:99:c5:e4:0d:3d brd ff:ff:ff:ff:ff:ff inet 10.31.9.65/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2811sec preferred_lft 2811sec inet6 fe80::1099:c5ff:fee4:d3d/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.65 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.65 metric 100 RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 10892 0 --:--:-- --:--:-- --:--:-- 11296 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1405 0 --:--:-- --:--:-- --:--:-- 1405 PLAY RECAP ********************************************************************* sut : ok=140 changed=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Tuesday 13 February 2024 14:04:49 +0000 (0:00:00.686) 0:01:08.908 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.76s /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.54s /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Install packages -------------------- 4.08s /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install iproute --------------------------------------------------------- 2.82s /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.66s /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.61s /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.56s /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 1.38s /WORKDIR/git-bond_options_rewritextxg1fa_/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Gathering Facts --------------------------------------------------------- 0.99s /WORKDIR/git-bond_options_rewritextxg1fa_/tests/tests_auto_gateway_initscripts.yml:5 Create veth interface veth0 --------------------------------------------- 0.74s /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:27 Verify DNS and ping still work ------------------------------------------ 0.69s /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/check_network_dns.yml:6 Create veth interface veth0 --------------------------------------------- 0.66s /WORKDIR/git-bond_options_rewritextxg1fa_/tests/playbooks/tasks/manage_test_interface.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---