# 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_rewritehu9360a7/.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_rewritehu9360a7/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_rewritehu9360a7/tests/tests_auto_gateway_initscripts.yml:5 Tuesday 30 January 2024 22:00:24 +0000 (0:00:00.015) 0:00:00.015 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tests_auto_gateway_initscripts.yml:8 Tuesday 30 January 2024 22:00:40 +0000 (0:00:16.319) 0:00:16.335 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/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_rewritehu9360a7/tests/tasks/el_repo_setup.yml:3 Tuesday 30 January 2024 22:00:40 +0000 (0:00:00.015) 0:00:16.351 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/el_repo_setup.yml:17 Tuesday 30 January 2024 22:00:56 +0000 (0:00:15.828) 0:00:32.179 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/el_repo_setup.yml:22 Tuesday 30 January 2024 22:00:56 +0000 (0:00:00.268) 0:00:32.448 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/el_repo_setup.yml:26 Tuesday 30 January 2024 22:00:56 +0000 (0:00:00.018) 0:00:32.466 ******* 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_rewritehu9360a7/tests/tasks/el_repo_setup.yml:51 Tuesday 30 January 2024 22:00:56 +0000 (0:00:00.011) 0:00:32.478 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/enable_epel.yml:8 Tuesday 30 January 2024 22:00:56 +0000 (0:00:00.029) 0:00:32.507 ******* 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_rewritehu9360a7/tests/tasks/enable_epel.yml:24 Tuesday 30 January 2024 22:00:57 +0000 (0:00:00.272) 0:00:32.779 ******* 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_rewritehu9360a7/tests/tasks/enable_epel.yml:30 Tuesday 30 January 2024 22:00:57 +0000 (0:00:00.011) 0:00:32.791 ******* 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_rewritehu9360a7/tests/tasks/enable_epel.yml:35 Tuesday 30 January 2024 22:00:57 +0000 (0:00:00.011) 0:00:32.802 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.246408", "end": "2024-01-30 22:00:57.644347", "rc": 0, "start": "2024-01-30 22:00:57.397939" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/enable_epel.yml:40 Tuesday 30 January 2024 22:00:57 +0000 (0:00:00.439) 0:00:33.242 ******* 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_rewritehu9360a7/tests/tests_auto_gateway_initscripts.yml:10 Tuesday 30 January 2024 22:00:57 +0000 (0:00:00.011) 0:00:33.253 ******* 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_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 30 January 2024 22:00:57 +0000 (0:00:00.021) 0:00:33.275 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 30 January 2024 22:01:16 +0000 (0:00:18.754) 0:00:52.029 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 22:01:16 +0000 (0:00:00.044) 0:00:52.074 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 22:01:16 +0000 (0:00:00.025) 0:00:52.100 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003548", "end": "2024-01-30 22:01:16.710247", "rc": 0, "start": "2024-01-30 22:01:16.706699" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 22:01:16 +0000 (0:00:00.207) 0:00:52.307 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 22:01:16 +0000 (0:00:00.024) 0:00:52.332 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 30 January 2024 22:01:16 +0000 (0:00:00.023) 0:00:52.355 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 30 January 2024 22:01:16 +0000 (0:00:00.046) 0:00:52.402 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 30 January 2024 22:01:16 +0000 (0:00:00.021) 0:00:52.424 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 30 January 2024 22:01:16 +0000 (0:00:00.021) 0:00:52.445 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 22:01:16 +0000 (0:00:00.026) 0:00:52.472 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 22:01:16 +0000 (0:00:00.025) 0:00:52.498 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003543", "end": "2024-01-30 22:01:17.164696", "rc": 0, "start": "2024-01-30 22:01:17.161153" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 22:01:17 +0000 (0:00:00.264) 0:00:52.762 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 22:01:17 +0000 (0:00:00.025) 0:00:52.787 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 30 January 2024 22:01:17 +0000 (0:00:00.025) 0:00:52.813 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 30 January 2024 22:01:21 +0000 (0:00:04.043) 0:00:56.857 ******* 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.015655", "end": "2024-01-30 22:01:21.486855", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-30 22:01:21.471200" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004135", "end": "2024-01-30 22:01:21.717550", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-30 22:01:21.713415" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004432", "end": "2024-01-30 22:01:21.907552", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-30 22:01:21.903120" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 30 January 2024 22:01:21 +0000 (0:00:00.651) 0:00:57.508 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.134084", "end": "2024-01-30 22:01:22.250970", "rc": 0, "start": "2024-01-30 22:01:22.116886" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 30 January 2024 22:01:22 +0000 (0:00:00.341) 0:00:57.850 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 30 January 2024 22:01:22 +0000 (0:00:00.022) 0:00:57.873 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 30 January 2024 22:01:22 +0000 (0:00:00.023) 0:00:57.897 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 30 January 2024 22:01:22 +0000 (0:00:00.023) 0:00:57.921 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 30 January 2024 22:01:22 +0000 (0:00:00.026) 0:00:57.947 ******* 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_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 30 January 2024 22:01:22 +0000 (0:00:00.027) 0:00:57.974 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 January 2024 22:01:22 +0000 (0:00:00.046) 0:00:58.021 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 22:01:22 +0000 (0:00:00.026) 0:00:58.047 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706652081.4817479, "block_size": 4096, "blocks": 0, "ctime": 1706652081.4817479, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21587, "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": 1706652081.4817479, "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_rewritehu9360a7/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 January 2024 22:01:22 +0000 (0:00:00.204) 0:00:58.251 ******* 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_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 30 January 2024 22:01:22 +0000 (0:00:00.027) 0:00:58.278 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 22:01:22 +0000 (0:00:00.024) 0:00:58.303 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/.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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 22:01:22 +0000 (0:00:00.035) 0:00:58.338 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 22:01:22 +0000 (0:00:00.026) 0:00:58.365 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 22:01:22 +0000 (0:00:00.025) 0:00:58.390 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 22:01:22 +0000 (0:00:00.027) 0:00:58.417 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 22:01:24 +0000 (0:00:01.630) 0:01:00.048 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 22:01:26 +0000 (0:00:01.585) 0:01:01.634 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 22:01:26 +0000 (0:00:00.038) 0:01:01.673 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 22:01:26 +0000 (0:00:00.039) 0:01:01.712 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 22:01:26 +0000 (0:00:00.040) 0:01:01.753 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 22:01:30 +0000 (0:00:04.203) 0:01:05.957 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 22:01:30 +0000 (0:00:00.038) 0:01:05.995 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 22:01:30 +0000 (0:00:00.040) 0:01:06.036 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 22:01:30 +0000 (0:00:00.103) 0:01:06.140 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 22:01:30 +0000 (0:00:00.042) 0:01:06.183 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 22:01:30 +0000 (0:00:00.036) 0:01:06.219 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 22:01:31 +0000 (0:00:00.927) 0:01:07.146 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2352uu7_k8cq/tmpqcun0jc4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 22:01:31 +0000 (0:00:00.324) 0:01:07.471 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 22:01:38 +0000 (0:00:06.799) 0:01:14.270 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 22:01:38 +0000 (0:00:00.041) 0:01:14.312 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 22:01:38 +0000 (0:00:00.040) 0:01:14.352 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 22:01:38 +0000 (0:00:00.043) 0:01:14.395 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 22:01:38 +0000 (0:00:00.042) 0:01:14.438 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 30 January 2024 22:01:39 +0000 (0:00:00.354) 0:01:14.793 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 January 2024 22:01:39 +0000 (0:00:00.076) 0:01:14.870 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 22:01:39 +0000 (0:00:00.053) 0:01:14.924 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706652081.4817479, "block_size": 4096, "blocks": 0, "ctime": 1706652081.4817479, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21587, "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": 1706652081.4817479, "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_rewritehu9360a7/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 January 2024 22:01:39 +0000 (0:00:00.228) 0:01:15.152 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 30 January 2024 22:01:39 +0000 (0:00:00.093) 0:01:15.246 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 30 January 2024 22:01:39 +0000 (0:00:00.075) 0:01:15.321 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/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_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 January 2024 22:01:39 +0000 (0:00:00.053) 0:01:15.375 ******* 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_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 January 2024 22:01:39 +0000 (0:00:00.037) 0:01:15.412 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706652092.332401, "block_size": 4096, "blocks": 8, "ctime": 1706652092.3314009, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706652092.3314009, "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_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 January 2024 22:01:40 +0000 (0:00:00.217) 0:01:15.630 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 January 2024 22:01:40 +0000 (0:00:00.039) 0:01:15.669 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021285", "end": "2024-01-30 22:01:40.297421", "rc": 1, "start": "2024-01-30 22:01:40.276136" } 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_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 January 2024 22:01:40 +0000 (0:00:00.237) 0:01:15.907 ******* 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_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 January 2024 22:01:40 +0000 (0:00:00.034) 0:01:15.941 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003463", "end": "2024-01-30 22:01:40.555308", "rc": 0, "start": "2024-01-30 22:01:40.551845" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 January 2024 22:01:40 +0000 (0:00:00.226) 0:01:16.168 ******* 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_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 January 2024 22:01:40 +0000 (0:00:00.043) 0:01:16.211 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003394", "end": "2024-01-30 22:01:40.828609", "rc": 0, "start": "2024-01-30 22:01:40.825215" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 January 2024 22:01:40 +0000 (0:00:00.228) 0:01:16.440 ******* 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_rewritehu9360a7/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 30 January 2024 22:01:40 +0000 (0:00:00.040) 0:01:16.481 ******* 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_rewritehu9360a7/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 30 January 2024 22:01:40 +0000 (0:00:00.039) 0:01:16.520 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 30 January 2024 22:01:40 +0000 (0:00:00.042) 0:01:16.562 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 30 January 2024 22:01:41 +0000 (0:00:00.037) 0:01:16.600 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003870", "end": "2024-01-30 22:01:41.212333", "rc": 0, "start": "2024-01-30 22:01:41.208463" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.103 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.103 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_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 30 January 2024 22:01:41 +0000 (0:00:00.222) 0:01:16.822 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 30 January 2024 22:01:41 +0000 (0:00:00.037) 0:01:16.860 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004050", "end": "2024-01-30 22:01:41.509059", "rc": 0, "start": "2024-01-30 22:01:41.505009" } 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_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 30 January 2024 22:01:41 +0000 (0:00:00.289) 0:01:17.150 ******* 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_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 30 January 2024 22:01:41 +0000 (0:00:00.036) 0:01:17.186 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 22:01:41 +0000 (0:00:00.039) 0:01:17.226 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/.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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 22:01:41 +0000 (0:00:00.064) 0:01:17.290 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 22:01:41 +0000 (0:00:00.045) 0:01:17.336 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 22:01:41 +0000 (0:00:00.038) 0:01:17.375 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 22:01:41 +0000 (0:00:00.038) 0:01:17.413 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 22:01:43 +0000 (0:00:01.593) 0:01:19.007 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 22:01:44 +0000 (0:00:01.357) 0:01:20.365 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 22:01:44 +0000 (0:00:00.043) 0:01:20.408 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 22:01:44 +0000 (0:00:00.038) 0:01:20.447 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 22:01:44 +0000 (0:00:00.041) 0:01:20.488 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 22:01:44 +0000 (0:00:00.082) 0:01:20.570 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 22:01:45 +0000 (0:00:00.048) 0:01:20.619 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 22:01:45 +0000 (0:00:00.079) 0:01:20.698 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 22:01:45 +0000 (0:00:00.045) 0:01:20.744 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 22:01:45 +0000 (0:00:00.049) 0:01:20.793 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 22:01:45 +0000 (0:00:00.037) 0:01:20.831 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 22:01:45 +0000 (0:00:00.403) 0:01:21.235 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2352uu7_k8cq/tmpnp6_mztc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 22:01:45 +0000 (0:00:00.329) 0:01:21.565 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 22:01:46 +0000 (0:00:00.460) 0:01:22.025 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 22:01:46 +0000 (0:00:00.041) 0:01:22.066 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 22:01:46 +0000 (0:00:00.040) 0:01:22.106 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 22:01:46 +0000 (0:00:00.048) 0:01:22.154 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 22:01:46 +0000 (0:00:00.038) 0:01:22.193 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 30 January 2024 22:01:46 +0000 (0:00:00.239) 0:01:22.433 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 30 January 2024 22:01:46 +0000 (0:00:00.081) 0:01:22.514 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 30 January 2024 22:01:46 +0000 (0:00:00.047) 0:01:22.562 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 30 January 2024 22:01:47 +0000 (0:00:00.037) 0:01:22.599 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 22:01:47 +0000 (0:00:00.089) 0:01:22.689 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 22:01:47 +0000 (0:00:00.052) 0:01:22.741 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003481", "end": "2024-01-30 22:01:47.350890", "rc": 0, "start": "2024-01-30 22:01:47.347409" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 22:01:47 +0000 (0:00:00.219) 0:01:22.961 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 22:01:47 +0000 (0:00:00.037) 0:01:22.998 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 30 January 2024 22:01:47 +0000 (0:00:00.038) 0:01:23.037 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 30 January 2024 22:01:50 +0000 (0:00:02.639) 0:01:25.677 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 30 January 2024 22:01:50 +0000 (0:00:00.052) 0:01:25.729 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 30 January 2024 22:01:50 +0000 (0:00:00.054) 0:01:25.783 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014573", "end": "2024-01-30 22:01:50.407908", "rc": 0, "start": "2024-01-30 22:01:50.393335" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 30 January 2024 22:01:50 +0000 (0:00:00.239) 0:01:26.022 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 30 January 2024 22:01:50 +0000 (0:00:00.036) 0:01:26.058 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 30 January 2024 22:01:50 +0000 (0:00:00.036) 0:01:26.095 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 30 January 2024 22:01:50 +0000 (0:00:00.035) 0:01:26.130 ******* 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_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 30 January 2024 22:01:50 +0000 (0:00:00.035) 0:01:26.165 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 30 January 2024 22:01:50 +0000 (0:00:00.041) 0:01:26.207 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 30 January 2024 22:01:50 +0000 (0:00:00.093) 0:01:26.300 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 30 January 2024 22:01:50 +0000 (0:00:00.043) 0:01:26.343 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 30 January 2024 22:01:50 +0000 (0:00:00.128) 0:01:26.472 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 22:01:50 +0000 (0:00:00.054) 0:01:26.526 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 22:01:51 +0000 (0:00:00.051) 0:01:26.578 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003479", "end": "2024-01-30 22:01:51.188262", "rc": 0, "start": "2024-01-30 22:01:51.184783" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 22:01:51 +0000 (0:00:00.219) 0:01:26.798 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 22:01:51 +0000 (0:00:00.042) 0:01:26.841 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 30 January 2024 22:01:51 +0000 (0:00:00.039) 0:01:26.880 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 30 January 2024 22:01:53 +0000 (0:00:02.603) 0:01:29.483 ******* 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.011587", "end": "2024-01-30 22:01:54.104084", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-30 22:01:54.092497" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004038", "end": "2024-01-30 22:01:54.329516", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-30 22:01:54.325478" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004732", "end": "2024-01-30 22:01:54.519432", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-30 22:01:54.514700" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 30 January 2024 22:01:54 +0000 (0:00:00.650) 0:01:30.133 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023779", "end": "2024-01-30 22:01:54.765276", "rc": 0, "start": "2024-01-30 22:01:54.741497" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 30 January 2024 22:01:54 +0000 (0:00:00.243) 0:01:30.376 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 30 January 2024 22:01:54 +0000 (0:00:00.035) 0:01:30.412 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 30 January 2024 22:01:54 +0000 (0:00:00.038) 0:01:30.450 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 30 January 2024 22:01:54 +0000 (0:00:00.034) 0:01:30.485 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 30 January 2024 22:01:54 +0000 (0:00:00.037) 0:01:30.522 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 22:01:54 +0000 (0:00:00.035) 0:01:30.558 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/.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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 22:01:55 +0000 (0:00:00.058) 0:01:30.617 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 22:01:55 +0000 (0:00:00.120) 0:01:30.737 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 22:01:55 +0000 (0:00:00.039) 0:01:30.776 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 22:01:55 +0000 (0:00:00.038) 0:01:30.814 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 22:01:56 +0000 (0:00:01.620) 0:01:32.435 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 22:01:58 +0000 (0:00:01.355) 0:01:33.790 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 22:01:58 +0000 (0:00:00.059) 0:01:33.850 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 22:01:58 +0000 (0:00:00.049) 0:01:33.899 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 22:01:58 +0000 (0:00:00.043) 0:01:33.943 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 22:01:58 +0000 (0:00:00.078) 0:01:34.021 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 22:01:58 +0000 (0:00:00.048) 0:01:34.070 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 22:01:58 +0000 (0:00:00.041) 0:01:34.112 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 22:01:58 +0000 (0:00:00.046) 0:01:34.159 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 22:01:58 +0000 (0:00:00.044) 0:01:34.203 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 22:01:58 +0000 (0:00:00.037) 0:01:34.241 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 22:01:59 +0000 (0:00:00.405) 0:01:34.647 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2352uu7_k8cq/tmpco70jpjo" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 22:01:59 +0000 (0:00:00.371) 0:01:35.018 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 22:02:05 +0000 (0:00:06.535) 0:01:41.553 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 22:02:06 +0000 (0:00:00.044) 0:01:41.598 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 22:02:06 +0000 (0:00:00.042) 0:01:41.641 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 22:02:06 +0000 (0:00:00.040) 0:01:41.681 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 22:02:06 +0000 (0:00:00.044) 0:01:41.725 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 30 January 2024 22:02:06 +0000 (0:00:00.229) 0:01:41.955 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 30 January 2024 22:02:06 +0000 (0:00:00.073) 0:01:42.028 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 30 January 2024 22:02:06 +0000 (0:00:00.053) 0:01:42.081 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706652114.0963545, "block_size": 4096, "blocks": 0, "ctime": 1706652114.0963545, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22173, "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": 1706652114.0963545, "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_rewritehu9360a7/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 30 January 2024 22:02:06 +0000 (0:00:00.221) 0:01:42.303 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 30 January 2024 22:02:06 +0000 (0:00:00.042) 0:01:42.345 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 30 January 2024 22:02:06 +0000 (0:00:00.071) 0:01:42.417 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/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_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 30 January 2024 22:02:06 +0000 (0:00:00.050) 0:01:42.467 ******* 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_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 30 January 2024 22:02:07 +0000 (0:00:00.137) 0:01:42.605 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706652119.7435732, "block_size": 4096, "blocks": 8, "ctime": 1706652119.7235737, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706652119.7235737, "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_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 30 January 2024 22:02:07 +0000 (0:00:00.221) 0:01:42.827 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 30 January 2024 22:02:07 +0000 (0:00:00.038) 0:01:42.865 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021481", "end": "2024-01-30 22:02:07.493589", "rc": 1, "start": "2024-01-30 22:02:07.472108" } 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_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 30 January 2024 22:02:07 +0000 (0:00:00.238) 0:01:43.104 ******* 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_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 30 January 2024 22:02:07 +0000 (0:00:00.037) 0:01:43.142 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003397", "end": "2024-01-30 22:02:07.752882", "rc": 0, "start": "2024-01-30 22:02:07.749485" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 30 January 2024 22:02:07 +0000 (0:00:00.223) 0:01:43.365 ******* 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_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 30 January 2024 22:02:07 +0000 (0:00:00.044) 0:01:43.410 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003412", "end": "2024-01-30 22:02:08.022264", "rc": 0, "start": "2024-01-30 22:02:08.018852" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 30 January 2024 22:02:08 +0000 (0:00:00.224) 0:01:43.635 ******* 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_rewritehu9360a7/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 30 January 2024 22:02:08 +0000 (0:00:00.042) 0:01:43.677 ******* 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_rewritehu9360a7/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 30 January 2024 22:02:08 +0000 (0:00:00.042) 0:01:43.720 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 30 January 2024 22:02:08 +0000 (0:00:00.039) 0:01:43.760 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 30 January 2024 22:02:08 +0000 (0:00:00.039) 0:01:43.799 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003824", "end": "2024-01-30 22:02:08.408468", "rc": 0, "start": "2024-01-30 22:02:08.404644" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.103 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.103 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_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 30 January 2024 22:02:08 +0000 (0:00:00.221) 0:01:44.020 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 30 January 2024 22:02:08 +0000 (0:00:00.042) 0:01:44.063 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004089", "end": "2024-01-30 22:02:08.671229", "rc": 0, "start": "2024-01-30 22:02:08.667140" } 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_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 30 January 2024 22:02:08 +0000 (0:00:00.219) 0:01:44.282 ******* 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_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 30 January 2024 22:02:08 +0000 (0:00:00.033) 0:01:44.316 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 30 January 2024 22:02:08 +0000 (0:00:00.036) 0:01:44.353 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/.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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 30 January 2024 22:02:08 +0000 (0:00:00.098) 0:01:44.452 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 30 January 2024 22:02:08 +0000 (0:00:00.051) 0:01:44.503 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 30 January 2024 22:02:08 +0000 (0:00:00.047) 0:01:44.551 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 30 January 2024 22:02:09 +0000 (0:00:00.047) 0:01:44.598 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 30 January 2024 22:02:10 +0000 (0:00:01.617) 0:01:46.216 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 30 January 2024 22:02:11 +0000 (0:00:01.355) 0:01:47.572 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 30 January 2024 22:02:12 +0000 (0:00:00.042) 0:01:47.614 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 30 January 2024 22:02:12 +0000 (0:00:00.041) 0:01:47.656 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 30 January 2024 22:02:12 +0000 (0:00:00.039) 0:01:47.695 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 30 January 2024 22:02:12 +0000 (0:00:00.071) 0:01:47.767 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 30 January 2024 22:02:12 +0000 (0:00:00.039) 0:01:47.806 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 30 January 2024 22:02:12 +0000 (0:00:00.040) 0:01:47.847 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 30 January 2024 22:02:12 +0000 (0:00:00.048) 0:01:47.895 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 30 January 2024 22:02:12 +0000 (0:00:00.040) 0:01:47.935 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 30 January 2024 22:02:12 +0000 (0:00:00.035) 0:01:47.971 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 30 January 2024 22:02:12 +0000 (0:00:00.444) 0:01:48.416 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2352uu7_k8cq/tmpdt2t3p3x" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 30 January 2024 22:02:13 +0000 (0:00:00.319) 0:01:48.736 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 30 January 2024 22:02:13 +0000 (0:00:00.458) 0:01:49.195 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 30 January 2024 22:02:13 +0000 (0:00:00.040) 0:01:49.235 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 30 January 2024 22:02:13 +0000 (0:00:00.052) 0:01:49.287 ******* 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_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 30 January 2024 22:02:13 +0000 (0:00:00.043) 0:01:49.330 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 30 January 2024 22:02:13 +0000 (0:00:00.042) 0:01:49.372 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 30 January 2024 22:02:14 +0000 (0:00:00.235) 0:01:49.607 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 30 January 2024 22:02:14 +0000 (0:00:00.084) 0:01:49.692 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 30 January 2024 22:02:14 +0000 (0:00:00.036) 0:01:49.729 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 30 January 2024 22:02:14 +0000 (0:00:00.037) 0:01:49.766 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 30 January 2024 22:02:14 +0000 (0:00:00.056) 0:01:49.822 ******* included: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 30 January 2024 22:02:14 +0000 (0:00:00.056) 0:01:49.879 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003443", "end": "2024-01-30 22:02:14.497513", "rc": 0, "start": "2024-01-30 22:02:14.494070" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 30 January 2024 22:02:14 +0000 (0:00:00.229) 0:01:50.108 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 30 January 2024 22:02:14 +0000 (0:00:00.112) 0:01:50.221 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 30 January 2024 22:02:14 +0000 (0:00:00.041) 0:01:50.262 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 30 January 2024 22:02:17 +0000 (0:00:02.584) 0:01:52.847 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 30 January 2024 22:02:17 +0000 (0:00:00.050) 0:01:52.897 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 30 January 2024 22:02:17 +0000 (0:00:00.036) 0:01:52.934 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013346", "end": "2024-01-30 22:02:17.559451", "rc": 0, "start": "2024-01-30 22:02:17.546105" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 30 January 2024 22:02:17 +0000 (0:00:00.239) 0:01:53.173 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 30 January 2024 22:02:17 +0000 (0:00:00.037) 0:01:53.211 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 30 January 2024 22:02:17 +0000 (0:00:00.036) 0:01:53.248 ******* 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_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 30 January 2024 22:02:17 +0000 (0:00:00.038) 0:01:53.286 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=138 changed=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Tuesday 30 January 2024 22:02:17 +0000 (0:00:00.077) 0:01:53.364 ******* =============================================================================== Gathering Facts -------------------------------------------------------- 18.75s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:3 Gathering Facts -------------------------------------------------------- 16.32s /WORKDIR/git-bond_options_rewritehu9360a7/tests/tests_auto_gateway_initscripts.yml:5 Gather the minimum subset of ansible_facts required by the network role test -- 15.83s /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/el_repo_setup.yml:3 ----- fedora.linux_system_roles.network : Configure networking connection profiles --- 6.80s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.54s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Install packages -------------------- 4.20s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install iproute --------------------------------------------------------- 4.04s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.64s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.60s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.58s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /WORKDIR/git-bond_options_rewritehu9360a7/.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.62s /WORKDIR/git-bond_options_rewritehu9360a7/.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.62s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /WORKDIR/git-bond_options_rewritehu9360a7/.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.59s /WORKDIR/git-bond_options_rewritehu9360a7/.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.36s /WORKDIR/git-bond_options_rewritehu9360a7/.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.36s /WORKDIR/git-bond_options_rewritehu9360a7/.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.36s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 0.93s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:23 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---