# 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_nm.yml ******************************************** 2 plays in /WORKDIR/git-bond_options_rewritehu9360a7/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tests_auto_gateway_nm.yml:6 Tuesday 30 January 2024 22:02:20 +0000 (0:00:00.016) 0:00:00.016 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tests_auto_gateway_nm.yml:9 Tuesday 30 January 2024 22:02:21 +0000 (0:00:00.860) 0:00:00.877 ******* 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:02:21 +0000 (0:00:00.015) 0:00:00.892 ******* skipping: [sut] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } 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:02:21 +0000 (0:00:00.022) 0:00:00.915 ******* 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:02:22 +0000 (0:00:00.279) 0:00:01.194 ******* 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:02:22 +0000 (0:00:00.019) 0:00:01.213 ******* 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:02:22 +0000 (0:00:00.011) 0:00:01.225 ******* 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:02:22 +0000 (0:00:00.028) 0:00:01.253 ******* 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:02:22 +0000 (0:00:00.272) 0:00:01.525 ******* 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:02:22 +0000 (0:00:00.010) 0:00:01.536 ******* 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:02:22 +0000 (0:00:00.011) 0:00:01.548 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.246997", "end": "2024-01-30 22:02:22.842701", "rc": 0, "start": "2024-01-30 22:02:22.595704" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/enable_epel.yml:40 Tuesday 30 January 2024 22:02:22 +0000 (0:00:00.439) 0:00:01.988 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/tests_auto_gateway_nm.yml:11 Tuesday 30 January 2024 22:02:22 +0000 (0:00:00.011) 0:00:01.999 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "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:02:22 +0000 (0:00:00.022) 0:00:02.022 ******* 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:02:23 +0000 (0:00:00.629) 0:00:02.651 ******* 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:23 +0000 (0:00:00.033) 0:00:02.685 ******* 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:23 +0000 (0:00:00.014) 0:00:02.699 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003424", "end": "2024-01-30 22:02:23.748731", "rc": 0, "start": "2024-01-30 22:02:23.745307" } 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:02:23 +0000 (0:00:00.194) 0:00:02.893 ******* 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:02:23 +0000 (0:00:00.015) 0:00:02.909 ******* 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:02:23 +0000 (0:00:00.013) 0:00:02.922 ******* 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:23 +0000 (0:00:00.035) 0:00:02.958 ******* 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:23 +0000 (0:00:00.011) 0:00:02.969 ******* 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:23 +0000 (0:00:00.011) 0:00:02.981 ******* 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:23 +0000 (0:00:00.016) 0:00:02.997 ******* 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:23 +0000 (0:00:00.016) 0:00:03.013 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003642", "end": "2024-01-30 22:02:24.064690", "rc": 0, "start": "2024-01-30 22:02:24.061048" } 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:02:24 +0000 (0:00:00.197) 0:00:03.210 ******* 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:02:24 +0000 (0:00:00.014) 0:00:03.224 ******* 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:02:24 +0000 (0:00:00.013) 0:00:03.238 ******* 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:27 +0000 (0:00:02.910) 0:00:06.148 ******* 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.013280", "end": "2024-01-30 22:02:27.214353", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-30 22:02:27.201073" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004060", "end": "2024-01-30 22:02:27.440618", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-30 22:02:27.436558" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004464", "end": "2024-01-30 22:02:27.629755", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-30 22:02:27.625291" } 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:27 +0000 (0:00:00.630) 0:00:06.779 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023841", "end": "2024-01-30 22:02:27.853737", "rc": 0, "start": "2024-01-30 22:02:27.829896" } 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:27 +0000 (0:00:00.221) 0:00:07.001 ******* 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:02:27 +0000 (0:00:00.013) 0:00:07.014 ******* 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:27 +0000 (0:00:00.015) 0:00:07.030 ******* 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:27 +0000 (0:00:00.012) 0:00:07.042 ******* 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:27 +0000 (0:00:00.013) 0:00:07.056 ******* 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:02:27 +0000 (0:00:00.011) 0:00:07.067 ******* 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:27 +0000 (0:00:00.036) 0:00:07.104 ******* 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:27 +0000 (0:00:00.016) 0:00:07.120 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706652147.204974, "block_size": 4096, "blocks": 0, "ctime": 1706652147.204974, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22759, "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": 1706652147.204974, "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:28 +0000 (0:00:00.195) 0:00:07.315 ******* 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:02:28 +0000 (0:00:00.015) 0:00:07.331 ******* 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:28 +0000 (0:00:00.016) 0:00:07.347 ******* 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:28 +0000 (0:00:00.022) 0:00:07.369 ******* 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:28 +0000 (0:00:00.025) 0:00:07.394 ******* 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:28 +0000 (0:00:00.016) 0:00:07.411 ******* 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:28 +0000 (0:00:00.016) 0:00:07.427 ******* 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:29 +0000 (0:00:01.683) 0:00:09.111 ******* 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:31 +0000 (0:00:01.622) 0:00:10.733 ******* ok: [sut] => {} MSG: Using network provider: nm 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:31 +0000 (0:00:00.029) 0:00:10.763 ******* 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:31 +0000 (0:00:00.034) 0:00:10.797 ******* 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:31 +0000 (0:00:00.042) 0:00:10.840 ******* 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:31 +0000 (0:00:00.098) 0:00:10.938 ******* 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:31 +0000 (0:00:00.031) 0:00:10.970 ******* 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:31 +0000 (0:00:00.029) 0:00:10.999 ******* 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:31 +0000 (0:00:00.076) 0:00:11.076 ******* 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 : 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:32 +0000 (0:00:00.627) 0:00:11.703 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "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:32 +0000 (0:00:00.055) 0:00:11.759 ******* 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 : 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:32 +0000 (0:00:00.029) 0:00:11.789 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } 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:32 +0000 (0:00:00.039) 0:00:11.828 ******* 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": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3eccc72d-ed91-4e43-9087-9518c5761298 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3eccc72d-ed91-4e43-9087-9518c5761298 (not-active) 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:33 +0000 (0:00:00.736) 0:00:12.565 ******* 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:33 +0000 (0:00:00.033) 0:00:12.598 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3eccc72d-ed91-4e43-9087-9518c5761298", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3eccc72d-ed91-4e43-9087-9518c5761298 (not-active)" ] } 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:33 +0000 (0:00:00.030) 0:00:12.629 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3eccc72d-ed91-4e43-9087-9518c5761298\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3eccc72d-ed91-4e43-9087-9518c5761298 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 3eccc72d-ed91-4e43-9087-9518c5761298", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 3eccc72d-ed91-4e43-9087-9518c5761298 (not-active)" ] } } 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:33 +0000 (0:00:00.033) 0:00:12.662 ******* 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:33 +0000 (0:00:00.030) 0:00:12.692 ******* 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:02:33 +0000 (0:00:00.372) 0:00:13.064 ******* 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:33 +0000 (0:00:00.059) 0:00:13.124 ******* 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:34 +0000 (0:00:00.054) 0:00:13.179 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706652147.204974, "block_size": 4096, "blocks": 0, "ctime": 1706652147.204974, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22759, "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": 1706652147.204974, "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:34 +0000 (0:00:00.211) 0:00:13.391 ******* 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:02:34 +0000 (0:00:00.070) 0:00:13.461 ******* 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:34 +0000 (0:00:00.068) 0:00:13.530 ******* 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:34 +0000 (0:00:00.044) 0:00:13.574 ******* 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:34 +0000 (0:00:00.025) 0:00:13.600 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706652153.384557, "block_size": 4096, "blocks": 8, "ctime": 1706652153.3425584, "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": 1706652153.3425584, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 396, "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:34 +0000 (0:00:00.211) 0:00:13.812 ******* 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:34 +0000 (0:00:00.031) 0:00:13.843 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022677", "end": "2024-01-30 22:02:34.917527", "rc": 0, "start": "2024-01-30 22:02:34.894850" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 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:34 +0000 (0:00:00.241) 0:00:14.085 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": 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:34 +0000 (0:00:00.031) 0:00:14.117 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } 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:35 +0000 (0:00:00.045) 0:00:14.163 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was 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:35 +0000 (0:00:00.030) 0:00:14.194 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } 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:35 +0000 (0:00:00.026) 0:00:14.220 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was 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:35 +0000 (0:00:00.029) 0:00:14.249 ******* 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:35 +0000 (0:00:00.042) 0:00:14.291 ******* 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:35 +0000 (0:00:00.030) 0:00:14.321 ******* 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:02:35 +0000 (0:00:00.029) 0:00:14.351 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003911", "end": "2024-01-30 22:02:35.403975", "rc": 0, "start": "2024-01-30 22:02:35.400064" } 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 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.103 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 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:02:35 +0000 (0:00:00.211) 0:00:14.563 ******* 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:02:35 +0000 (0:00:00.088) 0:00:14.651 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004136", "end": "2024-01-30 22:02:35.703263", "rc": 0, "start": "2024-01-30 22:02:35.699127" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 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 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 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:02:35 +0000 (0:00:00.216) 0:00:14.868 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 30 January 2024 22:02:35 +0000 (0:00:00.043) 0:00:14.911 ******* 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:35 +0000 (0:00:00.041) 0:00:14.952 ******* 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:35 +0000 (0:00:00.052) 0:00:15.005 ******* 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:35 +0000 (0:00:00.053) 0:00:15.058 ******* 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:35 +0000 (0:00:00.030) 0:00:15.088 ******* 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:35 +0000 (0:00:00.031) 0:00:15.119 ******* 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:37 +0000 (0:00:01.573) 0:00:16.693 ******* 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:38 +0000 (0:00:01.363) 0:00:18.057 ******* ok: [sut] => {} MSG: Using network provider: nm 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:38 +0000 (0:00:00.040) 0:00:18.098 ******* 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:39 +0000 (0:00:00.031) 0:00:18.129 ******* 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:39 +0000 (0:00:00.029) 0:00:18.158 ******* 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:39 +0000 (0:00:00.073) 0:00:18.232 ******* 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:39 +0000 (0:00:00.072) 0:00:18.305 ******* 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:39 +0000 (0:00:00.030) 0:00:18.335 ******* 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:39 +0000 (0:00:00.046) 0:00:18.382 ******* 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 : 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:39 +0000 (0:00:00.400) 0:00:18.783 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "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:39 +0000 (0:00:00.045) 0:00:18.828 ******* 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 : 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:39 +0000 (0:00:00.027) 0:00:18.856 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } 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:39 +0000 (0:00:00.023) 0:00:18.880 ******* 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": "nm" } }, "changed": true } STDERR: 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:40 +0000 (0:00:00.427) 0:00:19.307 ******* 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:40 +0000 (0:00:00.028) 0:00:19.335 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } 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:40 +0000 (0:00:00.029) 0:00:19.365 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } 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:40 +0000 (0:00:00.028) 0:00:19.394 ******* 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:40 +0000 (0:00:00.027) 0:00:19.421 ******* 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:02:40 +0000 (0:00:00.218) 0:00:19.639 ******* 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:40 +0000 (0:00:00.084) 0:00:19.723 ******* 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:40 +0000 (0:00:00.028) 0:00:19.751 ******* 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:40 +0000 (0:00:00.030) 0:00:19.782 ******* 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:40 +0000 (0:00:00.078) 0:00:19.860 ******* 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:40 +0000 (0:00:00.043) 0:00:19.903 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003529", "end": "2024-01-30 22:02:40.953715", "rc": 0, "start": "2024-01-30 22:02:40.950186" } 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:40 +0000 (0:00:00.209) 0:00:20.112 ******* 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:41 +0000 (0:00:00.027) 0:00:20.140 ******* 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:41 +0000 (0:00:00.028) 0:00:20.168 ******* 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:43 +0000 (0:00:02.591) 0:00:22.760 ******* 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:43 +0000 (0:00:00.042) 0:00:22.803 ******* 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:43 +0000 (0:00:00.033) 0:00:22.836 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015498", "end": "2024-01-30 22:02:43.906295", "rc": 0, "start": "2024-01-30 22:02:43.890797" } 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:43 +0000 (0:00:00.232) 0:00:23.069 ******* 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:43 +0000 (0:00:00.024) 0:00:23.094 ******* 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:43 +0000 (0:00:00.026) 0:00:23.120 ******* 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:44 +0000 (0:00:00.024) 0:00:23.145 ******* 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:02:44 +0000 (0:00:00.022) 0:00:23.167 ******* 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:02:44 +0000 (0:00:00.025) 0:00:23.192 ******* 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:44 +0000 (0:00:00.070) 0:00:23.263 ******* 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:44 +0000 (0:00:00.063) 0:00:23.327 ******* 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:44 +0000 (0:00:00.024) 0:00:23.351 ******* 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:44 +0000 (0:00:00.046) 0:00:23.398 ******* 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:44 +0000 (0:00:00.040) 0:00:23.438 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003550", "end": "2024-01-30 22:02:44.492578", "rc": 0, "start": "2024-01-30 22:02:44.489028" } 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:02:44 +0000 (0:00:00.213) 0:00:23.652 ******* 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:02:44 +0000 (0:00:00.027) 0:00:23.679 ******* 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:02:44 +0000 (0:00:00.028) 0:00:23.708 ******* 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:47 +0000 (0:00:02.618) 0:00:26.326 ******* 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.012814", "end": "2024-01-30 22:02:47.396042", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-30 22:02:47.383228" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004473", "end": "2024-01-30 22:02:47.624285", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-30 22:02:47.619812" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004793", "end": "2024-01-30 22:02:47.818078", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-30 22:02:47.813285" } 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:47 +0000 (0:00:00.665) 0:00:26.991 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022396", "end": "2024-01-30 22:02:48.077109", "rc": 0, "start": "2024-01-30 22:02:48.054713" } 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:48 +0000 (0:00:00.252) 0:00:27.244 ******* 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:02:48 +0000 (0:00:00.029) 0:00:27.273 ******* 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:48 +0000 (0:00:00.037) 0:00:27.311 ******* 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:48 +0000 (0:00:00.031) 0:00:27.343 ******* 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:48 +0000 (0:00:00.038) 0:00:27.381 ******* 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:02:48 +0000 (0:00:00.029) 0:00:27.411 ******* 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:48 +0000 (0:00:00.100) 0:00:27.511 ******* 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:48 +0000 (0:00:00.050) 0:00:27.561 ******* 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:48 +0000 (0:00:00.032) 0:00:27.594 ******* 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:48 +0000 (0:00:00.031) 0:00:27.626 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [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:50 +0000 (0:00:01.624) 0:00:29.250 ******* 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:51 +0000 (0:00:01.375) 0:00:30.626 ******* ok: [sut] => {} MSG: Using network provider: nm 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:51 +0000 (0:00:00.031) 0:00:30.658 ******* 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:51 +0000 (0:00:00.044) 0:00:30.702 ******* 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:51 +0000 (0:00:00.039) 0:00:30.741 ******* 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:51 +0000 (0:00:00.080) 0:00:30.821 ******* 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:51 +0000 (0:00:00.036) 0:00:30.858 ******* 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:51 +0000 (0:00:00.032) 0:00:30.891 ******* 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:51 +0000 (0:00:00.048) 0:00:30.940 ******* 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 : 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:52 +0000 (0:00:00.405) 0:00:31.346 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "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:52 +0000 (0:00:00.070) 0:00:31.416 ******* 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 : 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:52 +0000 (0:00:00.029) 0:00:31.446 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } 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:52 +0000 (0:00:00.092) 0:00:31.539 ******* 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": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 91bff0c7-8e23-4f3c-b69d-18eb54eb5c4a [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 91bff0c7-8e23-4f3c-b69d-18eb54eb5c4a (not-active) 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:52 +0000 (0:00:00.418) 0:00:31.957 ******* 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:52 +0000 (0:00:00.041) 0:00:31.999 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 91bff0c7-8e23-4f3c-b69d-18eb54eb5c4a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 91bff0c7-8e23-4f3c-b69d-18eb54eb5c4a (not-active)" ] } 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:52 +0000 (0:00:00.043) 0:00:32.042 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 91bff0c7-8e23-4f3c-b69d-18eb54eb5c4a\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 91bff0c7-8e23-4f3c-b69d-18eb54eb5c4a (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 91bff0c7-8e23-4f3c-b69d-18eb54eb5c4a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 91bff0c7-8e23-4f3c-b69d-18eb54eb5c4a (not-active)" ] } } 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:52 +0000 (0:00:00.043) 0:00:32.086 ******* 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:53 +0000 (0:00:00.039) 0:00:32.126 ******* 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:53 +0000 (0:00:00.223) 0:00:32.350 ******* 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:53 +0000 (0:00:00.065) 0:00:32.415 ******* 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:53 +0000 (0:00:00.040) 0:00:32.456 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706652167.3872907, "block_size": 4096, "blocks": 0, "ctime": 1706652167.3872907, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23345, "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": 1706652167.3872907, "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:53 +0000 (0:00:00.213) 0:00:32.669 ******* 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:53 +0000 (0:00:00.028) 0:00:32.697 ******* 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:53 +0000 (0:00:00.091) 0:00:32.789 ******* 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:53 +0000 (0:00:00.093) 0:00:32.883 ******* 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:53 +0000 (0:00:00.027) 0:00:32.911 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706652172.777977, "block_size": 4096, "blocks": 8, "ctime": 1706652172.7389781, "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": 1706652172.7389781, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 323, "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:53 +0000 (0:00:00.214) 0:00:33.125 ******* 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:54 +0000 (0:00:00.042) 0:00:33.168 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021510", "end": "2024-01-30 22:02:54.247991", "rc": 0, "start": "2024-01-30 22:02:54.226481" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 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:54 +0000 (0:00:00.239) 0:00:33.407 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": 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:54 +0000 (0:00:00.031) 0:00:33.438 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } 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:54 +0000 (0:00:00.030) 0:00:33.469 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was 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:54 +0000 (0:00:00.027) 0:00:33.496 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } 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:54 +0000 (0:00:00.026) 0:00:33.523 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was 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:54 +0000 (0:00:00.027) 0:00:33.550 ******* 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:54 +0000 (0:00:00.032) 0:00:33.583 ******* 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:54 +0000 (0:00:00.037) 0:00:33.620 ******* 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:54 +0000 (0:00:00.028) 0:00:33.648 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003928", "end": "2024-01-30 22:02:54.700059", "rc": 0, "start": "2024-01-30 22:02:54.696131" } 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 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 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:54 +0000 (0:00:00.212) 0:00:33.861 ******* 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:54 +0000 (0:00:00.027) 0:00:33.889 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003894", "end": "2024-01-30 22:02:54.941152", "rc": 0, "start": "2024-01-30 22:02:54.937258" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 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 1024 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:54 +0000 (0:00:00.222) 0:00:34.111 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 30 January 2024 22:02:55 +0000 (0:00:00.036) 0:00:34.147 ******* 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:55 +0000 (0:00:00.034) 0:00:34.182 ******* 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:55 +0000 (0:00:00.113) 0:00:34.295 ******* 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:55 +0000 (0:00:00.045) 0:00:34.340 ******* 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:55 +0000 (0:00:00.032) 0:00:34.373 ******* 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:55 +0000 (0:00:00.031) 0:00:34.404 ******* 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:56 +0000 (0:00:01.587) 0:00:35.992 ******* 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:58 +0000 (0:00:01.352) 0:00:37.345 ******* ok: [sut] => {} MSG: Using network provider: nm 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:58 +0000 (0:00:00.029) 0:00:37.374 ******* 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:58 +0000 (0:00:00.030) 0:00:37.404 ******* 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:58 +0000 (0:00:00.030) 0:00:37.435 ******* 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:58 +0000 (0:00:00.070) 0:00:37.506 ******* 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:58 +0000 (0:00:00.029) 0:00:37.535 ******* 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:58 +0000 (0:00:00.030) 0:00:37.565 ******* 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:58 +0000 (0:00:00.042) 0:00:37.608 ******* 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 : 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:58 +0000 (0:00:00.402) 0:00:38.011 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "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:58 +0000 (0:00:00.044) 0:00:38.055 ******* 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 : 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:58 +0000 (0:00:00.065) 0:00:38.121 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } 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:59 +0000 (0:00:00.024) 0:00:38.145 ******* 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": "nm" } }, "changed": true } STDERR: 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:59 +0000 (0:00:00.425) 0:00:38.571 ******* 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:59 +0000 (0:00:00.034) 0:00:38.606 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } 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:59 +0000 (0:00:00.031) 0:00:38.637 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } 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:59 +0000 (0:00:00.030) 0:00:38.667 ******* 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:59 +0000 (0:00:00.031) 0:00:38.698 ******* 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:59 +0000 (0:00:00.220) 0:00:38.919 ******* 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:59 +0000 (0:00:00.069) 0:00:38.988 ******* 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:59 +0000 (0:00:00.027) 0:00:39.015 ******* 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:59 +0000 (0:00:00.025) 0:00:39.041 ******* 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:59 +0000 (0:00:00.043) 0:00:39.084 ******* 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:03:00 +0000 (0:00:00.042) 0:00:39.126 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003540", "end": "2024-01-30 22:03:00.179289", "rc": 0, "start": "2024-01-30 22:03:00.175749" } 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:03:00 +0000 (0:00:00.264) 0:00:39.391 ******* 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:03:00 +0000 (0:00:00.029) 0:00:39.421 ******* 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:03:00 +0000 (0:00:00.029) 0:00:39.450 ******* 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:03:03 +0000 (0:00:02.696) 0:00:42.147 ******* 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:03:03 +0000 (0:00:00.051) 0:00:42.198 ******* 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:03:03 +0000 (0:00:00.038) 0:00:42.236 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013746", "end": "2024-01-30 22:03:03.307819", "rc": 0, "start": "2024-01-30 22:03:03.294073" } 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:03:03 +0000 (0:00:00.249) 0:00:42.486 ******* 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:03:03 +0000 (0:00:00.030) 0:00:42.516 ******* 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:03:03 +0000 (0:00:00.039) 0:00:42.556 ******* 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:03:03 +0000 (0:00:00.030) 0:00:42.586 ******* 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=128 changed=4 unreachable=0 failed=0 skipped=99 rescued=0 ignored=0 Tuesday 30 January 2024 22:03:03 +0000 (0:00:00.099) 0:00:42.686 ******* =============================================================================== Install iproute --------------------------------------------------------- 2.91s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.70s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.62s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.59s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /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 packages are installed --- 1.62s /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 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 services are running ---- 1.57s /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.38s /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.35s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-bond_options_rewritehu9360a7/tests/tests_auto_gateway_nm.yml:6 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.74s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Create veth interface veth0 --------------------------------------------- 0.67s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:23 Create veth interface veth0 --------------------------------------------- 0.63s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.63s /WORKDIR/git-bond_options_rewritehu9360a7/tests/playbooks/tests_auto_gateway.yml:3 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.63s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Enable EPEL 8 ----------------------------------------------------------- 0.44s /WORKDIR/git-bond_options_rewritehu9360a7/tests/tasks/enable_epel.yml:35 ------ fedora.linux_system_roles.network : Configure networking connection profiles --- 0.43s /WORKDIR/git-bond_options_rewritehu9360a7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---