# 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_rewritevqsovjkk/.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_rewritevqsovjkk/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_rewritevqsovjkk/tests/tests_auto_gateway_initscripts.yml:5 Wednesday 14 February 2024 17:07:26 +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_rewritevqsovjkk/tests/tests_auto_gateway_initscripts.yml:8 Wednesday 14 February 2024 17:07:28 +0000 (0:00:01.989) 0:00:02.002 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/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_rewritevqsovjkk/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:07:28 +0000 (0:00:00.012) 0:00:02.014 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/el_repo_setup.yml:17 Wednesday 14 February 2024 17:07:29 +0000 (0:00:00.417) 0:00:02.431 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/el_repo_setup.yml:22 Wednesday 14 February 2024 17:07:29 +0000 (0:00:00.270) 0:00:02.702 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/el_repo_setup.yml:26 Wednesday 14 February 2024 17:07:29 +0000 (0:00:00.014) 0:00:02.717 **** 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_rewritevqsovjkk/tests/tasks/el_repo_setup.yml:51 Wednesday 14 February 2024 17:07:29 +0000 (0:00:00.008) 0:00:02.726 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:07:29 +0000 (0:00:00.022) 0:00:02.748 **** 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_rewritevqsovjkk/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:07:29 +0000 (0:00:00.275) 0:00:03.024 **** 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_rewritevqsovjkk/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:07:29 +0000 (0:00:00.010) 0:00:03.034 **** 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_rewritevqsovjkk/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:07:29 +0000 (0:00:00.009) 0:00:03.044 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.288346", "end": "2024-02-14 17:07:30.316608", "rc": 0, "start": "2024-02-14 17:07:30.028262" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:07:30 +0000 (0:00:00.500) 0:00:03.545 **** 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_rewritevqsovjkk/tests/tests_auto_gateway_initscripts.yml:10 Wednesday 14 February 2024 17:07:30 +0000 (0:00:00.011) 0:00:03.556 **** 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_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 14 February 2024 17:07:30 +0000 (0:00:00.017) 0:00:03.574 **** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 14 February 2024 17:07:31 +0000 (0:00:00.687) 0:00:04.262 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:07:31 +0000 (0:00:00.039) 0:00:04.301 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:07:31 +0000 (0:00:00.030) 0:00:04.332 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003877", "end": "2024-02-14 17:07:31.374867", "rc": 0, "start": "2024-02-14 17:07:31.370990" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:07:31 +0000 (0:00:00.279) 0:00:04.611 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:07:31 +0000 (0:00:00.036) 0:00:04.648 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 14 February 2024 17:07:31 +0000 (0:00:00.051) 0:00:04.700 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:07:31 +0000 (0:00:00.055) 0:00:04.755 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:07:31 +0000 (0:00:00.019) 0:00:04.775 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:07:31 +0000 (0:00:00.020) 0:00:04.795 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:07:31 +0000 (0:00:00.032) 0:00:04.828 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:07:31 +0000 (0:00:00.023) 0:00:04.852 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003924", "end": "2024-02-14 17:07:31.855068", "rc": 0, "start": "2024-02-14 17:07:31.851144" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:07:31 +0000 (0:00:00.236) 0:00:05.088 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:07:31 +0000 (0:00:00.027) 0:00:05.116 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:07:31 +0000 (0:00:00.034) 0:00:05.151 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:07:35 +0000 (0:00:03.378) 0:00:08.529 **** 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.022625", "end": "2024-02-14 17:07:35.545713", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 17:07:35.523088" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004712", "end": "2024-02-14 17:07:35.794670", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 17:07:35.789958" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005216", "end": "2024-02-14 17:07:36.002018", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 17:07:35.996802" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:07:36 +0000 (0:00:00.710) 0:00:09.240 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.065324", "end": "2024-02-14 17:07:36.299592", "rc": 0, "start": "2024-02-14 17:07:36.234268" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:07:36 +0000 (0:00:00.295) 0:00:09.535 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:07:36 +0000 (0:00:00.052) 0:00:09.587 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:07:36 +0000 (0:00:00.055) 0:00:09.643 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:07:36 +0000 (0:00:00.099) 0:00:09.742 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:07:36 +0000 (0:00:00.041) 0:00:09.784 **** 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_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 14 February 2024 17:07:36 +0000 (0:00:00.038) 0:00:09.823 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:07:36 +0000 (0:00:00.046) 0:00:09.869 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:07:36 +0000 (0:00:00.044) 0:00:09.913 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930455.5348992, "block_size": 4096, "blocks": 0, "ctime": 1707930455.5348992, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21748, "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": 1707930455.5348992, "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_rewritevqsovjkk/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:07:36 +0000 (0:00:00.248) 0:00:10.161 **** 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_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 14 February 2024 17:07:37 +0000 (0:00:00.059) 0:00:10.221 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:07:37 +0000 (0:00:00.049) 0:00:10.270 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/.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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:07:37 +0000 (0:00:00.071) 0:00:10.342 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:07:37 +0000 (0:00:00.062) 0:00:10.405 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:07:37 +0000 (0:00:00.021) 0:00:10.426 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:07:37 +0000 (0:00:00.025) 0:00:10.451 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:07:39 +0000 (0:00:01.824) 0:00:12.276 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:07:40 +0000 (0:00:01.621) 0:00:13.898 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:07:40 +0000 (0:00:00.032) 0:00:13.931 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:07:40 +0000 (0:00:00.030) 0:00:13.962 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:07:40 +0000 (0:00:00.032) 0:00:13.995 **** changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.18-1.el8.x86_64", "Installed: network-scripts-team-1.31-4.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:07:45 +0000 (0:00:04.336) 0:00:18.331 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:07:45 +0000 (0:00:00.038) 0:00:18.369 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:07:45 +0000 (0:00:00.035) 0:00:18.404 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:07:45 +0000 (0:00:00.127) 0:00:18.532 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:07:45 +0000 (0:00:00.035) 0:00:18.568 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:07:45 +0000 (0:00:00.038) 0:00:18.606 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:07:46 +0000 (0:00:00.979) 0:00:19.586 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2288ppcf5jiq/tmpyp28xypc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:07:46 +0000 (0:00:00.350) 0:00:19.936 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:07:53 +0000 (0:00:06.737) 0:00:26.674 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:07:53 +0000 (0:00:00.034) 0:00:26.708 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:07:53 +0000 (0:00:00.042) 0:00:26.751 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:07:53 +0000 (0:00:00.040) 0:00:26.791 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:07:53 +0000 (0:00:00.034) 0:00:26.826 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 14 February 2024 17:07:53 +0000 (0:00:00.354) 0:00:27.181 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:07:54 +0000 (0:00:00.052) 0:00:27.233 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:07:54 +0000 (0:00:00.040) 0:00:27.274 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930455.5348992, "block_size": 4096, "blocks": 0, "ctime": 1707930455.5348992, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21748, "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": 1707930455.5348992, "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_rewritevqsovjkk/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:07:54 +0000 (0:00:00.232) 0:00:27.506 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 14 February 2024 17:07:54 +0000 (0:00:00.064) 0:00:27.570 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:07:54 +0000 (0:00:00.069) 0:00:27.640 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/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_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:07:54 +0000 (0:00:00.053) 0:00:27.694 **** 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_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:07:54 +0000 (0:00:00.053) 0:00:27.747 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930467.1883044, "block_size": 4096, "blocks": 8, "ctime": 1707930467.1643052, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707930467.1643052, "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_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:07:54 +0000 (0:00:00.266) 0:00:28.014 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:07:54 +0000 (0:00:00.029) 0:00:28.044 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023572", "end": "2024-02-14 17:07:55.060207", "rc": 1, "start": "2024-02-14 17:07:55.036635" } 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_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:07:55 +0000 (0:00:00.253) 0:00:28.297 **** 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_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:07:55 +0000 (0:00:00.029) 0:00:28.327 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.004143", "end": "2024-02-14 17:07:55.324399", "rc": 0, "start": "2024-02-14 17:07:55.320256" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:07:55 +0000 (0:00:00.239) 0:00:28.566 **** 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_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:07:55 +0000 (0:00:00.032) 0:00:28.599 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.004054", "end": "2024-02-14 17:07:55.600084", "rc": 0, "start": "2024-02-14 17:07:55.596030" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:07:55 +0000 (0:00:00.243) 0:00:28.843 **** 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_rewritevqsovjkk/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:07:55 +0000 (0:00:00.035) 0:00:28.878 **** 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_rewritevqsovjkk/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:07:55 +0000 (0:00:00.031) 0:00:28.910 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:07:55 +0000 (0:00:00.031) 0:00:28.941 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 14 February 2024 17:07:55 +0000 (0:00:00.030) 0:00:28.971 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.005168", "end": "2024-02-14 17:07:55.970353", "rc": 0, "start": "2024-02-14 17:07:55.965185" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.61 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.61 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_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 14 February 2024 17:07:56 +0000 (0:00:00.239) 0:00:29.211 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 14 February 2024 17:07:56 +0000 (0:00:00.068) 0:00:29.279 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004619", "end": "2024-02-14 17:07:56.278042", "rc": 0, "start": "2024-02-14 17:07:56.273423" } 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_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 14 February 2024 17:07:56 +0000 (0:00:00.241) 0:00:29.520 **** 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_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 14 February 2024 17:07:56 +0000 (0:00:00.039) 0:00:29.560 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:07:56 +0000 (0:00:00.056) 0:00:29.617 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/.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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:07:56 +0000 (0:00:00.053) 0:00:29.671 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:07:56 +0000 (0:00:00.068) 0:00:29.740 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:07:56 +0000 (0:00:00.044) 0:00:29.785 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:07:56 +0000 (0:00:00.040) 0:00:29.825 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:07:58 +0000 (0:00:01.866) 0:00:31.692 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:07:59 +0000 (0:00:01.430) 0:00:33.122 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:07:59 +0000 (0:00:00.032) 0:00:33.154 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:07:59 +0000 (0:00:00.034) 0:00:33.189 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:08:00 +0000 (0:00:00.033) 0:00:33.223 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:08:00 +0000 (0:00:00.059) 0:00:33.283 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:08:00 +0000 (0:00:00.037) 0:00:33.320 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:08:00 +0000 (0:00:00.096) 0:00:33.417 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:08:00 +0000 (0:00:00.040) 0:00:33.458 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:08:00 +0000 (0:00:00.035) 0:00:33.493 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:08:00 +0000 (0:00:00.034) 0:00:33.527 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:08:00 +0000 (0:00:00.428) 0:00:33.955 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2288ppcf5jiq/tmpe1hood_o" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:08:01 +0000 (0:00:00.343) 0:00:34.299 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:08:01 +0000 (0:00:00.518) 0:00:34.818 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:08:01 +0000 (0:00:00.034) 0:00:34.852 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:08:01 +0000 (0:00:00.045) 0:00:34.898 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:08:01 +0000 (0:00:00.037) 0:00:34.936 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:08:01 +0000 (0:00:00.061) 0:00:34.998 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 14 February 2024 17:08:02 +0000 (0:00:00.258) 0:00:35.257 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:08:02 +0000 (0:00:00.074) 0:00:35.332 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:08:02 +0000 (0:00:00.035) 0:00:35.367 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:08:02 +0000 (0:00:00.031) 0:00:35.398 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:08:02 +0000 (0:00:00.090) 0:00:35.489 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:08:02 +0000 (0:00:00.044) 0:00:35.534 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004166", "end": "2024-02-14 17:08:02.540348", "rc": 0, "start": "2024-02-14 17:08:02.536182" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:08:02 +0000 (0:00:00.251) 0:00:35.786 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:08:02 +0000 (0:00:00.031) 0:00:35.818 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:08:02 +0000 (0:00:00.044) 0:00:35.863 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:08:05 +0000 (0:00:02.888) 0:00:38.751 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:08:05 +0000 (0:00:00.042) 0:00:38.794 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:08:05 +0000 (0:00:00.031) 0:00:38.825 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014527", "end": "2024-02-14 17:08:05.850830", "rc": 0, "start": "2024-02-14 17:08:05.836303" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:08:05 +0000 (0:00:00.267) 0:00:39.092 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:08:05 +0000 (0:00:00.031) 0:00:39.124 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:08:05 +0000 (0:00:00.033) 0:00:39.157 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:08:05 +0000 (0:00:00.032) 0:00:39.189 **** 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_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 14 February 2024 17:08:06 +0000 (0:00:00.031) 0:00:39.220 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 14 February 2024 17:08:06 +0000 (0:00:00.030) 0:00:39.251 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:08:06 +0000 (0:00:00.057) 0:00:39.308 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:08:06 +0000 (0:00:00.065) 0:00:39.374 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:08:06 +0000 (0:00:00.029) 0:00:39.403 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:08:06 +0000 (0:00:00.041) 0:00:39.445 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:08:06 +0000 (0:00:00.040) 0:00:39.485 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004109", "end": "2024-02-14 17:08:06.482165", "rc": 0, "start": "2024-02-14 17:08:06.478056" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:08:06 +0000 (0:00:00.238) 0:00:39.723 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:08:06 +0000 (0:00:00.033) 0:00:39.757 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:08:06 +0000 (0:00:00.031) 0:00:39.789 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:08:09 +0000 (0:00:02.745) 0:00:42.534 **** 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.007491", "end": "2024-02-14 17:08:09.539617", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 17:08:09.532126" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004991", "end": "2024-02-14 17:08:09.808609", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 17:08:09.803618" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005299", "end": "2024-02-14 17:08:10.020006", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 17:08:10.014707" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:08:10 +0000 (0:00:00.727) 0:00:43.262 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024103", "end": "2024-02-14 17:08:10.275963", "rc": 0, "start": "2024-02-14 17:08:10.251860" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:08:10 +0000 (0:00:00.254) 0:00:43.516 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:08:10 +0000 (0:00:00.030) 0:00:43.546 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:08:10 +0000 (0:00:00.032) 0:00:43.579 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:08:10 +0000 (0:00:00.032) 0:00:43.611 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:08:10 +0000 (0:00:00.032) 0:00:43.644 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:08:10 +0000 (0:00:00.031) 0:00:43.676 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/.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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:08:10 +0000 (0:00:00.130) 0:00:43.806 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:08:10 +0000 (0:00:00.053) 0:00:43.859 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:08:10 +0000 (0:00:00.044) 0:00:43.904 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:08:10 +0000 (0:00:00.032) 0:00:43.936 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:08:12 +0000 (0:00:01.914) 0:00:45.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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:08:14 +0000 (0:00:01.438) 0:00:47.290 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:08:14 +0000 (0:00:00.040) 0:00:47.331 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:08:14 +0000 (0:00:00.039) 0:00:47.371 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:08:14 +0000 (0:00:00.034) 0:00:47.405 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:08:14 +0000 (0:00:00.064) 0:00:47.470 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:08:14 +0000 (0:00:00.031) 0:00:47.502 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:08:14 +0000 (0:00:00.033) 0:00:47.535 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:08:14 +0000 (0:00:00.036) 0:00:47.572 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:08:14 +0000 (0:00:00.032) 0:00:47.604 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:08:14 +0000 (0:00:00.031) 0:00:47.635 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:08:14 +0000 (0:00:00.425) 0:00:48.061 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2288ppcf5jiq/tmpjqed937m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:08:15 +0000 (0:00:00.472) 0:00:48.534 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:08:21 +0000 (0:00:06.619) 0:00:55.153 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:08:21 +0000 (0:00:00.035) 0:00:55.188 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:08:22 +0000 (0:00:00.034) 0:00:55.222 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:08:22 +0000 (0:00:00.034) 0:00:55.257 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:08:22 +0000 (0:00:00.047) 0:00:55.305 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 14 February 2024 17:08:22 +0000 (0:00:00.247) 0:00:55.552 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:08:22 +0000 (0:00:00.065) 0:00:55.618 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:08:22 +0000 (0:00:00.053) 0:00:55.672 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930489.5366879, "block_size": 4096, "blocks": 0, "ctime": 1707930489.5366879, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22334, "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": 1707930489.5366879, "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_rewritevqsovjkk/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:08:22 +0000 (0:00:00.229) 0:00:55.901 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 14 February 2024 17:08:22 +0000 (0:00:00.056) 0:00:55.958 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:08:22 +0000 (0:00:00.076) 0:00:56.034 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/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_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:08:22 +0000 (0:00:00.112) 0:00:56.147 **** 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_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:08:22 +0000 (0:00:00.031) 0:00:56.178 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930495.6963315, "block_size": 4096, "blocks": 8, "ctime": 1707930495.6723323, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707930495.6723323, "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_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:08:23 +0000 (0:00:00.258) 0:00:56.437 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:08:23 +0000 (0:00:00.033) 0:00:56.471 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023485", "end": "2024-02-14 17:08:23.491314", "rc": 1, "start": "2024-02-14 17:08:23.467829" } 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_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:08:23 +0000 (0:00:00.265) 0:00:56.736 **** 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_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:08:23 +0000 (0:00:00.036) 0:00:56.773 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003938", "end": "2024-02-14 17:08:23.769569", "rc": 0, "start": "2024-02-14 17:08:23.765631" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:08:23 +0000 (0:00:00.240) 0:00:57.013 **** 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_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:08:23 +0000 (0:00:00.036) 0:00:57.050 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.004038", "end": "2024-02-14 17:08:24.046105", "rc": 0, "start": "2024-02-14 17:08:24.042067" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:08:24 +0000 (0:00:00.236) 0:00:57.286 **** 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_rewritevqsovjkk/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:08:24 +0000 (0:00:00.034) 0:00:57.321 **** 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_rewritevqsovjkk/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:08:24 +0000 (0:00:00.033) 0:00:57.354 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:08:24 +0000 (0:00:00.036) 0:00:57.390 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 14 February 2024 17:08:24 +0000 (0:00:00.038) 0:00:57.429 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004506", "end": "2024-02-14 17:08:24.426707", "rc": 0, "start": "2024-02-14 17:08:24.422201" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.61 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.61 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_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 14 February 2024 17:08:24 +0000 (0:00:00.254) 0:00:57.684 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 14 February 2024 17:08:24 +0000 (0:00:00.038) 0:00:57.722 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004692", "end": "2024-02-14 17:08:24.720311", "rc": 0, "start": "2024-02-14 17:08:24.715619" } 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_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 14 February 2024 17:08:24 +0000 (0:00:00.241) 0:00:57.964 **** 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_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 14 February 2024 17:08:24 +0000 (0:00:00.032) 0:00:57.997 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:08:24 +0000 (0:00:00.067) 0:00:58.065 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/.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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:08:25 +0000 (0:00:00.159) 0:00:58.224 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:08:25 +0000 (0:00:00.041) 0:00:58.265 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:08:25 +0000 (0:00:00.034) 0:00:58.300 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:08:25 +0000 (0:00:00.037) 0:00:58.337 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:08:26 +0000 (0:00:01.819) 0:01:00.157 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:08:28 +0000 (0:00:01.449) 0:01:01.607 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:08:28 +0000 (0:00:00.040) 0:01:01.647 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:08:28 +0000 (0:00:00.062) 0:01:01.710 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:08:28 +0000 (0:00:00.039) 0:01:01.750 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:08:28 +0000 (0:00:00.056) 0:01:01.807 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:08:28 +0000 (0:00:00.035) 0:01:01.842 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:08:28 +0000 (0:00:00.033) 0:01:01.875 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:08:28 +0000 (0:00:00.037) 0:01:01.913 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:08:28 +0000 (0:00:00.033) 0:01:01.947 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:08:28 +0000 (0:00:00.030) 0:01:01.978 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:08:29 +0000 (0:00:00.504) 0:01:02.483 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2288ppcf5jiq/tmp_95c_8bu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:08:29 +0000 (0:00:00.356) 0:01:02.840 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:08:30 +0000 (0:00:00.490) 0:01:03.331 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:08:30 +0000 (0:00:00.036) 0:01:03.367 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:08:30 +0000 (0:00:00.043) 0:01:03.410 **** 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_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:08:30 +0000 (0:00:00.036) 0:01:03.447 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:08:30 +0000 (0:00:00.036) 0:01:03.483 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 14 February 2024 17:08:30 +0000 (0:00:00.252) 0:01:03.735 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:08:30 +0000 (0:00:00.062) 0:01:03.798 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:08:30 +0000 (0:00:00.030) 0:01:03.828 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:08:30 +0000 (0:00:00.032) 0:01:03.860 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:08:30 +0000 (0:00:00.047) 0:01:03.908 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:08:30 +0000 (0:00:00.054) 0:01:03.963 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003941", "end": "2024-02-14 17:08:30.951589", "rc": 0, "start": "2024-02-14 17:08:30.947648" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:08:31 +0000 (0:00:00.270) 0:01:04.233 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:08:31 +0000 (0:00:00.031) 0:01:04.265 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:08:31 +0000 (0:00:00.037) 0:01:04.303 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:08:33 +0000 (0:00:02.718) 0:01:07.022 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:08:33 +0000 (0:00:00.063) 0:01:07.085 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:08:33 +0000 (0:00:00.048) 0:01:07.133 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013320", "end": "2024-02-14 17:08:34.146330", "rc": 0, "start": "2024-02-14 17:08:34.133010" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:08:34 +0000 (0:00:00.259) 0:01:07.393 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:08:34 +0000 (0:00:00.035) 0:01:07.428 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:08:34 +0000 (0:00:00.032) 0:01:07.460 **** 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_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:08:34 +0000 (0:00:00.035) 0:01:07.496 **** 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_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:153 Wednesday 14 February 2024 17:08:34 +0000 (0:00:00.037) 0:01:07.534 **** included: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 17:08:34 +0000 (0:00:00.080) 0:01:07.615 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.011333", "end": "2024-02-14 17:08:34.634148", "rc": 0, "start": "2024-02-14 17:08:34.622815" } 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 0e:ab:b0:60:ef:7b brd ff:ff:ff:ff:ff:ff inet 10.31.42.61/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2793sec preferred_lft 2793sec inet6 fe80::cab:b0ff:fe60:ef7b/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.61 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.61 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium 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 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 17:08:34 +0000 (0:00:00.262) 0:01:07.877 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\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.384168", "end": "2024-02-14 17:08:35.275964", "rc": 0, "start": "2024-02-14 17:08:34.891796" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2620:52:3:1:dead:beef:cafe:fed6 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 3505 0 --:--:-- --:--:-- --:--:-- 3505 % 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 1248 0 --:--:-- --:--:-- --:--:-- 1248 PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Wednesday 14 February 2024 17:08:35 +0000 (0:00:00.669) 0:01:08.546 **** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.74s /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.62s /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Install packages -------------------- 4.34s /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install iproute --------------------------------------------------------- 3.38s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.89s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.75s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.72s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.99s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/tests_auto_gateway_initscripts.yml:5 fedora.linux_system_roles.network : Check which services are running ---- 1.91s /WORKDIR/git-bond_options_rewritevqsovjkk/.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.87s /WORKDIR/git-bond_options_rewritevqsovjkk/.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.82s /WORKDIR/git-bond_options_rewritevqsovjkk/.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.82s /WORKDIR/git-bond_options_rewritevqsovjkk/.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_rewritevqsovjkk/.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.45s /WORKDIR/git-bond_options_rewritevqsovjkk/.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.44s /WORKDIR/git-bond_options_rewritevqsovjkk/.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.43s /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 0.98s /WORKDIR/git-bond_options_rewritevqsovjkk/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Create veth interface veth0 --------------------------------------------- 0.73s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 0.71s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-bond_options_rewritevqsovjkk/tests/playbooks/tests_auto_gateway.yml:3 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---