# 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_rewritem7luhouy/.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_rewritem7luhouy/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_rewritem7luhouy/tests/tests_auto_gateway_nm.yml:6 Wednesday 31 January 2024 23:31:33 +0000 (0:00:00.029) 0:00:00.029 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tests_auto_gateway_nm.yml:9 Wednesday 31 January 2024 23:31:34 +0000 (0:00:00.963) 0:00:00.992 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/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_rewritem7luhouy/tests/tasks/el_repo_setup.yml:3 Wednesday 31 January 2024 23:31:34 +0000 (0:00:00.033) 0:00:01.026 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/el_repo_setup.yml:17 Wednesday 31 January 2024 23:31:35 +0000 (0:00:00.374) 0:00:01.400 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/el_repo_setup.yml:22 Wednesday 31 January 2024 23:31:35 +0000 (0:00:00.303) 0:00:01.704 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/el_repo_setup.yml:26 Wednesday 31 January 2024 23:31:35 +0000 (0:00:00.019) 0:00:01.724 ***** 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_rewritem7luhouy/tests/tasks/el_repo_setup.yml:51 Wednesday 31 January 2024 23:31:35 +0000 (0:00:00.012) 0:00:01.736 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/enable_epel.yml:8 Wednesday 31 January 2024 23:31:35 +0000 (0:00:00.034) 0:00:01.771 ***** 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_rewritem7luhouy/tests/tasks/enable_epel.yml:24 Wednesday 31 January 2024 23:31:35 +0000 (0:00:00.307) 0:00:02.079 ***** 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_rewritem7luhouy/tests/tasks/enable_epel.yml:30 Wednesday 31 January 2024 23:31:35 +0000 (0:00:00.023) 0:00:02.102 ***** 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_rewritem7luhouy/tests/tasks/enable_epel.yml:35 Wednesday 31 January 2024 23:31:35 +0000 (0:00:00.026) 0:00:02.128 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.244193", "end": "2024-01-31 23:31:36.399246", "rc": 0, "start": "2024-01-31 23:31:36.155053" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/tasks/enable_epel.yml:40 Wednesday 31 January 2024 23:31:36 +0000 (0:00:00.469) 0:00:02.598 ***** 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_rewritem7luhouy/tests/tests_auto_gateway_nm.yml:11 Wednesday 31 January 2024 23:31:36 +0000 (0:00:00.010) 0:00:02.609 ***** 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_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 31 January 2024 23:31:36 +0000 (0:00:00.020) 0:00:02.630 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 31 January 2024 23:31:37 +0000 (0:00:00.623) 0:00:03.253 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:31:37 +0000 (0:00:00.057) 0:00:03.311 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:31:37 +0000 (0:00:00.023) 0:00:03.334 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003263", "end": "2024-01-31 23:31:37.332588", "rc": 0, "start": "2024-01-31 23:31:37.329325" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:31:37 +0000 (0:00:00.207) 0:00:03.542 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:31:37 +0000 (0:00:00.023) 0:00:03.566 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 31 January 2024 23:31:37 +0000 (0:00:00.016) 0:00:03.582 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:31:37 +0000 (0:00:00.042) 0:00:03.624 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:31:37 +0000 (0:00:00.012) 0:00:03.637 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:31:37 +0000 (0:00:00.014) 0:00:03.651 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:31:37 +0000 (0:00:00.028) 0:00:03.679 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:31:37 +0000 (0:00:00.022) 0:00:03.702 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003542", "end": "2024-01-31 23:31:37.706066", "rc": 0, "start": "2024-01-31 23:31:37.702524" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:31:37 +0000 (0:00:00.205) 0:00:03.908 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:31:37 +0000 (0:00:00.017) 0:00:03.925 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:31:37 +0000 (0:00:00.018) 0:00:03.944 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:31:40 +0000 (0:00:03.189) 0:00:07.133 ***** 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.013350", "end": "2024-01-31 23:31:41.155717", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-31 23:31:41.142367" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003720", "end": "2024-01-31 23:31:41.376360", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-31 23:31:41.372640" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004371", "end": "2024-01-31 23:31:41.563603", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-31 23:31:41.559232" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:31:41 +0000 (0:00:00.634) 0:00:07.768 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024154", "end": "2024-01-31 23:31:41.811868", "rc": 0, "start": "2024-01-31 23:31:41.787714" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:31:41 +0000 (0:00:00.249) 0:00:08.017 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:31:41 +0000 (0:00:00.018) 0:00:08.036 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:31:41 +0000 (0:00:00.017) 0:00:08.053 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:31:41 +0000 (0:00:00.014) 0:00:08.068 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:31:41 +0000 (0:00:00.019) 0:00:08.087 ***** 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_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 31 January 2024 23:31:41 +0000 (0:00:00.014) 0:00:08.101 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:31:41 +0000 (0:00:00.045) 0:00:08.147 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:31:41 +0000 (0:00:00.016) 0:00:08.164 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743901.1459343, "block_size": 4096, "blocks": 0, "ctime": 1706743901.1459343, "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": 1706743901.1459343, "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_rewritem7luhouy/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:31:42 +0000 (0:00:00.194) 0:00:08.359 ***** 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_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 31 January 2024 23:31:42 +0000 (0:00:00.015) 0:00:08.374 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 January 2024 23:31:42 +0000 (0:00:00.015) 0:00:08.390 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/.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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:31:42 +0000 (0:00:00.030) 0:00:08.421 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 January 2024 23:31:42 +0000 (0:00:00.061) 0:00:08.482 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 January 2024 23:31:42 +0000 (0:00:00.018) 0:00:08.501 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 January 2024 23:31:42 +0000 (0:00:00.016) 0:00:08.518 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 January 2024 23:31:44 +0000 (0:00:01.718) 0:00:10.236 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 January 2024 23:31:45 +0000 (0:00:01.696) 0:00:11.932 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 January 2024 23:31:45 +0000 (0:00:00.038) 0:00:11.971 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 January 2024 23:31:45 +0000 (0:00:00.040) 0:00:12.011 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 31 January 2024 23:31:45 +0000 (0:00:00.037) 0:00:12.049 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 31 January 2024 23:31:45 +0000 (0:00:00.092) 0:00:12.142 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 31 January 2024 23:31:45 +0000 (0:00:00.026) 0:00:12.169 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 31 January 2024 23:31:46 +0000 (0:00:00.030) 0:00:12.199 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 31 January 2024 23:31:46 +0000 (0:00:00.081) 0:00:12.281 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 31 January 2024 23:31:46 +0000 (0:00:00.734) 0:00:13.016 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 31 January 2024 23:31:46 +0000 (0:00:00.056) 0:00:13.072 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 31 January 2024 23:31:46 +0000 (0:00:00.035) 0:00:13.108 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 31 January 2024 23:31:46 +0000 (0:00:00.045) 0:00:13.154 ***** 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, 525248b6-b157-4f96-a368-f39025536ecd [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 525248b6-b157-4f96-a368-f39025536ecd (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 31 January 2024 23:31:47 +0000 (0:00:00.756) 0:00:13.910 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 31 January 2024 23:31:47 +0000 (0:00:00.043) 0:00:13.954 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 525248b6-b157-4f96-a368-f39025536ecd", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 525248b6-b157-4f96-a368-f39025536ecd (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 31 January 2024 23:31:47 +0000 (0:00:00.034) 0:00:13.988 ***** 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, 525248b6-b157-4f96-a368-f39025536ecd\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 525248b6-b157-4f96-a368-f39025536ecd (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 525248b6-b157-4f96-a368-f39025536ecd", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 525248b6-b157-4f96-a368-f39025536ecd (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 31 January 2024 23:31:47 +0000 (0:00:00.033) 0:00:14.021 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 31 January 2024 23:31:47 +0000 (0:00:00.038) 0:00:14.060 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 31 January 2024 23:31:48 +0000 (0:00:00.362) 0:00:14.422 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:31:48 +0000 (0:00:00.075) 0:00:14.497 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:31:48 +0000 (0:00:00.049) 0:00:14.547 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743901.1459343, "block_size": 4096, "blocks": 0, "ctime": 1706743901.1459343, "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": 1706743901.1459343, "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_rewritem7luhouy/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:31:48 +0000 (0:00:00.222) 0:00:14.769 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 31 January 2024 23:31:48 +0000 (0:00:00.111) 0:00:14.881 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:31:48 +0000 (0:00:00.144) 0:00:15.025 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/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_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:31:48 +0000 (0:00:00.085) 0:00:15.110 ***** 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_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:31:48 +0000 (0:00:00.034) 0:00:15.145 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743907.672859, "block_size": 4096, "blocks": 8, "ctime": 1706743907.6328607, "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": 1706743907.6328607, "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_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:31:49 +0000 (0:00:00.229) 0:00:15.374 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:31:49 +0000 (0:00:00.050) 0:00:15.425 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021924", "end": "2024-01-31 23:31:49.447359", "rc": 0, "start": "2024-01-31 23:31:49.425435" } 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_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:31:49 +0000 (0:00:00.240) 0:00:15.665 ***** 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_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:31:49 +0000 (0:00:00.036) 0:00:15.701 ***** 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_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:31:49 +0000 (0:00:00.036) 0:00:15.738 ***** 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_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:31:49 +0000 (0:00:00.033) 0:00:15.771 ***** 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_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:31:49 +0000 (0:00:00.036) 0:00:15.807 ***** 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_rewritem7luhouy/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:31:49 +0000 (0:00:00.040) 0:00:15.847 ***** 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_rewritem7luhouy/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:31:49 +0000 (0:00:00.048) 0:00:15.896 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:31:49 +0000 (0:00:00.045) 0:00:15.942 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 31 January 2024 23:31:49 +0000 (0:00:00.033) 0:00:15.975 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004325", "end": "2024-01-31 23:31:49.970459", "rc": 0, "start": "2024-01-31 23:31:49.966134" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.28 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.28 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_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 31 January 2024 23:31:50 +0000 (0:00:00.221) 0:00:16.196 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 31 January 2024 23:31:50 +0000 (0:00:00.088) 0:00:16.285 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003806", "end": "2024-01-31 23:31:50.300289", "rc": 0, "start": "2024-01-31 23:31:50.296483" } 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_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 31 January 2024 23:31:50 +0000 (0:00:00.227) 0:00:16.513 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 31 January 2024 23:31:50 +0000 (0:00:00.035) 0:00:16.549 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 January 2024 23:31:50 +0000 (0:00:00.037) 0:00:16.587 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/.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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:31:50 +0000 (0:00:00.067) 0:00:16.655 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 January 2024 23:31:50 +0000 (0:00:00.064) 0:00:16.719 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 January 2024 23:31:50 +0000 (0:00:00.063) 0:00:16.783 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 January 2024 23:31:50 +0000 (0:00:00.050) 0:00:16.833 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 January 2024 23:31:52 +0000 (0:00:01.539) 0:00:18.373 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 January 2024 23:31:53 +0000 (0:00:01.392) 0:00:19.766 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 January 2024 23:31:53 +0000 (0:00:00.055) 0:00:19.821 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 January 2024 23:31:53 +0000 (0:00:00.043) 0:00:19.865 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 31 January 2024 23:31:53 +0000 (0:00:00.053) 0:00:19.919 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 31 January 2024 23:31:53 +0000 (0:00:00.117) 0:00:20.036 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 31 January 2024 23:31:53 +0000 (0:00:00.086) 0:00:20.123 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 31 January 2024 23:31:53 +0000 (0:00:00.047) 0:00:20.170 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 31 January 2024 23:31:54 +0000 (0:00:00.068) 0:00:20.239 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 31 January 2024 23:31:54 +0000 (0:00:00.457) 0:00:20.696 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 31 January 2024 23:31:54 +0000 (0:00:00.070) 0:00:20.767 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 31 January 2024 23:31:54 +0000 (0:00:00.052) 0:00:20.819 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 31 January 2024 23:31:54 +0000 (0:00:00.036) 0:00:20.855 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 31 January 2024 23:31:55 +0000 (0:00:00.505) 0:00:21.361 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 31 January 2024 23:31:55 +0000 (0:00:00.035) 0:00:21.397 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 31 January 2024 23:31:55 +0000 (0:00:00.037) 0:00:21.434 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 31 January 2024 23:31:55 +0000 (0:00:00.036) 0:00:21.470 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 31 January 2024 23:31:55 +0000 (0:00:00.042) 0:00:21.513 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 31 January 2024 23:31:55 +0000 (0:00:00.235) 0:00:21.749 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:31:55 +0000 (0:00:00.123) 0:00:21.873 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:31:55 +0000 (0:00:00.026) 0:00:21.900 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:31:55 +0000 (0:00:00.028) 0:00:21.928 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:31:55 +0000 (0:00:00.111) 0:00:22.039 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:31:55 +0000 (0:00:00.055) 0:00:22.095 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003097", "end": "2024-01-31 23:31:56.090995", "rc": 0, "start": "2024-01-31 23:31:56.087898" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:31:56 +0000 (0:00:00.205) 0:00:22.300 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:31:56 +0000 (0:00:00.027) 0:00:22.327 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:31:56 +0000 (0:00:00.025) 0:00:22.353 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:31:58 +0000 (0:00:02.613) 0:00:24.967 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:31:58 +0000 (0:00:00.031) 0:00:24.998 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:31:58 +0000 (0:00:00.027) 0:00:25.026 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011409", "end": "2024-01-31 23:31:59.034288", "rc": 0, "start": "2024-01-31 23:31:59.022879" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:31:59 +0000 (0:00:00.228) 0:00:25.254 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:31:59 +0000 (0:00:00.031) 0:00:25.285 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:31:59 +0000 (0:00:00.037) 0:00:25.323 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:31:59 +0000 (0:00:00.049) 0:00:25.372 ***** 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_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 31 January 2024 23:31:59 +0000 (0:00:00.036) 0:00:25.409 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 31 January 2024 23:31:59 +0000 (0:00:00.029) 0:00:25.439 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:31:59 +0000 (0:00:00.086) 0:00:25.526 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:31:59 +0000 (0:00:00.085) 0:00:25.611 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:31:59 +0000 (0:00:00.028) 0:00:25.640 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:31:59 +0000 (0:00:00.050) 0:00:25.690 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:31:59 +0000 (0:00:00.046) 0:00:25.736 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003456", "end": "2024-01-31 23:31:59.750905", "rc": 0, "start": "2024-01-31 23:31:59.747449" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:31:59 +0000 (0:00:00.233) 0:00:25.970 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:31:59 +0000 (0:00:00.036) 0:00:26.007 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:31:59 +0000 (0:00:00.058) 0:00:26.065 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:32:02 +0000 (0:00:02.624) 0:00:28.689 ***** 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.012028", "end": "2024-01-31 23:32:02.699117", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-31 23:32:02.687089" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003884", "end": "2024-01-31 23:32:02.920080", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-31 23:32:02.916196" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004450", "end": "2024-01-31 23:32:03.110240", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-31 23:32:03.105790" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:32:03 +0000 (0:00:00.654) 0:00:29.344 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023866", "end": "2024-01-31 23:32:03.369863", "rc": 0, "start": "2024-01-31 23:32:03.345997" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:32:03 +0000 (0:00:00.249) 0:00:29.593 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:32:03 +0000 (0:00:00.027) 0:00:29.621 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:32:03 +0000 (0:00:00.030) 0:00:29.651 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:32:03 +0000 (0:00:00.028) 0:00:29.680 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:32:03 +0000 (0:00:00.034) 0:00:29.714 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 January 2024 23:32:03 +0000 (0:00:00.034) 0:00:29.749 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/.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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:32:03 +0000 (0:00:00.096) 0:00:29.846 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 January 2024 23:32:03 +0000 (0:00:00.041) 0:00:29.887 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 January 2024 23:32:03 +0000 (0:00:00.033) 0:00:29.921 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 January 2024 23:32:03 +0000 (0:00:00.029) 0:00:29.950 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 January 2024 23:32:05 +0000 (0:00:01.534) 0:00:31.485 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 January 2024 23:32:06 +0000 (0:00:01.348) 0:00:32.833 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 January 2024 23:32:06 +0000 (0:00:00.035) 0:00:32.869 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 January 2024 23:32:06 +0000 (0:00:00.033) 0:00:32.903 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 31 January 2024 23:32:06 +0000 (0:00:00.034) 0:00:32.938 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 31 January 2024 23:32:06 +0000 (0:00:00.077) 0:00:33.015 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 31 January 2024 23:32:06 +0000 (0:00:00.030) 0:00:33.046 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 31 January 2024 23:32:06 +0000 (0:00:00.039) 0:00:33.086 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 31 January 2024 23:32:06 +0000 (0:00:00.054) 0:00:33.140 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 31 January 2024 23:32:07 +0000 (0:00:00.411) 0:00:33.552 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 31 January 2024 23:32:07 +0000 (0:00:00.067) 0:00:33.619 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 31 January 2024 23:32:07 +0000 (0:00:00.086) 0:00:33.705 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 31 January 2024 23:32:07 +0000 (0:00:00.038) 0:00:33.744 ***** 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, f03ff1ce-aaf5-4e39-842a-0671b6b8c171 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, f03ff1ce-aaf5-4e39-842a-0671b6b8c171 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 31 January 2024 23:32:08 +0000 (0:00:00.507) 0:00:34.251 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 31 January 2024 23:32:08 +0000 (0:00:00.047) 0:00:34.299 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, f03ff1ce-aaf5-4e39-842a-0671b6b8c171", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, f03ff1ce-aaf5-4e39-842a-0671b6b8c171 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 31 January 2024 23:32:08 +0000 (0:00:00.048) 0:00:34.347 ***** 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, f03ff1ce-aaf5-4e39-842a-0671b6b8c171\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, f03ff1ce-aaf5-4e39-842a-0671b6b8c171 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, f03ff1ce-aaf5-4e39-842a-0671b6b8c171", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, f03ff1ce-aaf5-4e39-842a-0671b6b8c171 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 31 January 2024 23:32:08 +0000 (0:00:00.050) 0:00:34.398 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 31 January 2024 23:32:08 +0000 (0:00:00.054) 0:00:34.453 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 31 January 2024 23:32:08 +0000 (0:00:00.253) 0:00:34.706 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:32:08 +0000 (0:00:00.110) 0:00:34.817 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:32:08 +0000 (0:00:00.066) 0:00:34.884 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743922.6905935, "block_size": 4096, "blocks": 0, "ctime": 1706743922.6905935, "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": 1706743922.6905935, "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_rewritem7luhouy/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:32:08 +0000 (0:00:00.221) 0:00:35.106 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 31 January 2024 23:32:08 +0000 (0:00:00.040) 0:00:35.147 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:32:09 +0000 (0:00:00.104) 0:00:35.251 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/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_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:32:09 +0000 (0:00:00.131) 0:00:35.382 ***** 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_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:32:09 +0000 (0:00:00.029) 0:00:35.411 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743928.00197, "block_size": 4096, "blocks": 8, "ctime": 1706743927.959972, "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": 1706743927.959972, "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_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:32:09 +0000 (0:00:00.239) 0:00:35.650 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:32:09 +0000 (0:00:00.043) 0:00:35.693 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021950", "end": "2024-01-31 23:32:09.744726", "rc": 0, "start": "2024-01-31 23:32:09.722776" } 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_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:32:09 +0000 (0:00:00.293) 0:00:35.987 ***** 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_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:32:09 +0000 (0:00:00.067) 0:00:36.054 ***** 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_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:32:09 +0000 (0:00:00.033) 0:00:36.088 ***** 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_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:32:09 +0000 (0:00:00.043) 0:00:36.131 ***** 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_rewritem7luhouy/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:32:09 +0000 (0:00:00.041) 0:00:36.173 ***** 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_rewritem7luhouy/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:32:10 +0000 (0:00:00.047) 0:00:36.220 ***** 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_rewritem7luhouy/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:32:10 +0000 (0:00:00.052) 0:00:36.273 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:32:10 +0000 (0:00:00.041) 0:00:36.314 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 31 January 2024 23:32:10 +0000 (0:00:00.031) 0:00:36.346 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004111", "end": "2024-01-31 23:32:10.343676", "rc": 0, "start": "2024-01-31 23:32:10.339565" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.28 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.28 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_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 31 January 2024 23:32:10 +0000 (0:00:00.246) 0:00:36.592 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 31 January 2024 23:32:10 +0000 (0:00:00.051) 0:00:36.643 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003776", "end": "2024-01-31 23:32:10.641648", "rc": 0, "start": "2024-01-31 23:32:10.637872" } 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_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 31 January 2024 23:32:10 +0000 (0:00:00.212) 0:00:36.856 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 31 January 2024 23:32:10 +0000 (0:00:00.035) 0:00:36.891 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 January 2024 23:32:10 +0000 (0:00:00.047) 0:00:36.938 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/.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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:32:10 +0000 (0:00:00.166) 0:00:37.105 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 January 2024 23:32:11 +0000 (0:00:00.124) 0:00:37.230 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 January 2024 23:32:11 +0000 (0:00:00.047) 0:00:37.278 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 January 2024 23:32:11 +0000 (0:00:00.061) 0:00:37.339 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 January 2024 23:32:12 +0000 (0:00:01.583) 0:00:38.923 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 January 2024 23:32:14 +0000 (0:00:01.379) 0:00:40.302 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 January 2024 23:32:14 +0000 (0:00:00.037) 0:00:40.339 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 January 2024 23:32:14 +0000 (0:00:00.037) 0:00:40.377 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 31 January 2024 23:32:14 +0000 (0:00:00.030) 0:00:40.408 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 31 January 2024 23:32:14 +0000 (0:00:00.069) 0:00:40.478 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 31 January 2024 23:32:14 +0000 (0:00:00.039) 0:00:40.518 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 31 January 2024 23:32:14 +0000 (0:00:00.035) 0:00:40.554 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 31 January 2024 23:32:14 +0000 (0:00:00.063) 0:00:40.617 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 31 January 2024 23:32:14 +0000 (0:00:00.416) 0:00:41.033 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 31 January 2024 23:32:14 +0000 (0:00:00.104) 0:00:41.137 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 31 January 2024 23:32:15 +0000 (0:00:00.102) 0:00:41.240 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 31 January 2024 23:32:15 +0000 (0:00:00.040) 0:00:41.281 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 31 January 2024 23:32:15 +0000 (0:00:00.457) 0:00:41.739 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 31 January 2024 23:32:15 +0000 (0:00:00.082) 0:00:41.822 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 31 January 2024 23:32:15 +0000 (0:00:00.047) 0:00:41.869 ***** 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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 31 January 2024 23:32:15 +0000 (0:00:00.037) 0:00:41.906 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 31 January 2024 23:32:15 +0000 (0:00:00.046) 0:00:41.953 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 31 January 2024 23:32:16 +0000 (0:00:00.237) 0:00:42.191 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:32:16 +0000 (0:00:00.108) 0:00:42.300 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:32:16 +0000 (0:00:00.060) 0:00:42.360 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:32:16 +0000 (0:00:00.032) 0:00:42.393 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:32:16 +0000 (0:00:00.057) 0:00:42.450 ***** included: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:32:16 +0000 (0:00:00.071) 0:00:42.522 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003386", "end": "2024-01-31 23:32:16.553656", "rc": 0, "start": "2024-01-31 23:32:16.550270" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:32:16 +0000 (0:00:00.411) 0:00:42.933 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:32:16 +0000 (0:00:00.043) 0:00:42.976 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:32:16 +0000 (0:00:00.051) 0:00:43.028 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:32:19 +0000 (0:00:02.629) 0:00:45.658 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.041) 0:00:45.700 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.041) 0:00:45.741 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012530", "end": "2024-01-31 23:32:19.760576", "rc": 0, "start": "2024-01-31 23:32:19.748046" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.248) 0:00:45.989 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.038) 0:00:46.028 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.029) 0:00:46.058 ***** 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_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.041) 0:00:46.099 ***** 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=129 changed=4 unreachable=0 failed=0 skipped=98 rescued=0 ignored=0 Wednesday 31 January 2024 23:32:19 +0000 (0:00:00.070) 0:00:46.170 ***** =============================================================================== Install iproute --------------------------------------------------------- 3.19s /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.63s /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.62s /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.61s /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /WORKDIR/git-bond_options_rewritem7luhouy/.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.70s /WORKDIR/git-bond_options_rewritem7luhouy/.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.58s /WORKDIR/git-bond_options_rewritem7luhouy/.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.54s /WORKDIR/git-bond_options_rewritem7luhouy/.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.53s /WORKDIR/git-bond_options_rewritem7luhouy/.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.39s /WORKDIR/git-bond_options_rewritem7luhouy/.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.38s /WORKDIR/git-bond_options_rewritem7luhouy/.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_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.96s /WORKDIR/git-bond_options_rewritem7luhouy/tests/tests_auto_gateway_nm.yml:6 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.76s /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.73s /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 0.63s /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.62s /WORKDIR/git-bond_options_rewritem7luhouy/tests/playbooks/tests_auto_gateway.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.51s /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.51s /WORKDIR/git-bond_options_rewritem7luhouy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---