# 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_rewritea_oa302f/.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_rewritea_oa302f/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_rewritea_oa302f/tests/tests_auto_gateway_nm.yml:6 Friday 09 February 2024 20:40:13 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tests_auto_gateway_nm.yml:9 Friday 09 February 2024 20:40:14 +0000 (0:00:00.943) 0:00:00.955 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 20:40:14 +0000 (0:00:00.013) 0:00:00.969 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tasks/el_repo_setup.yml:17 Friday 09 February 2024 20:40:14 +0000 (0:00:00.408) 0:00:01.378 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tasks/el_repo_setup.yml:22 Friday 09 February 2024 20:40:15 +0000 (0:00:00.306) 0:00:01.684 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tasks/el_repo_setup.yml:26 Friday 09 February 2024 20:40:15 +0000 (0:00:00.015) 0:00:01.699 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tasks/el_repo_setup.yml:51 Friday 09 February 2024 20:40:15 +0000 (0:00:00.011) 0:00:01.710 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 20:40:15 +0000 (0:00:00.030) 0:00:01.741 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 20:40:15 +0000 (0:00:00.009) 0:00:01.750 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 20:40:15 +0000 (0:00:00.011) 0:00:01.762 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 20:40:15 +0000 (0:00:00.012) 0:00:01.775 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 20:40:15 +0000 (0:00:00.008) 0:00:01.783 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/tests_auto_gateway_nm.yml:11 Friday 09 February 2024 20:40:15 +0000 (0:00:00.012) 0:00:01.795 ******* 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_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:3 Friday 09 February 2024 20:40:15 +0000 (0:00:00.027) 0:00:01.823 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:9 Friday 09 February 2024 20:40:16 +0000 (0:00:00.765) 0:00:02.588 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:40:16 +0000 (0:00:00.023) 0:00:02.612 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:40:16 +0000 (0:00:00.012) 0:00:02.624 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003785", "end": "2024-02-09 20:40:16.344567", "rc": 0, "start": "2024-02-09 20:40:16.340782" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:40:16 +0000 (0:00:00.294) 0:00:02.919 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:40:16 +0000 (0:00:00.011) 0:00:02.931 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:11 Friday 09 February 2024 20:40:16 +0000 (0:00:00.011) 0:00:02.942 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 20:40:16 +0000 (0:00:00.027) 0:00:02.970 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 20:40:16 +0000 (0:00:00.009) 0:00:02.980 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 20:40:16 +0000 (0:00:00.009) 0:00:02.989 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:40:16 +0000 (0:00:00.012) 0:00:03.001 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:40:16 +0000 (0:00:00.011) 0:00:03.012 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003604", "end": "2024-02-09 20:40:16.671450", "rc": 0, "start": "2024-02-09 20:40:16.667846" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:40:16 +0000 (0:00:00.235) 0:00:03.248 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:40:16 +0000 (0:00:00.012) 0:00:03.260 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 20:40:16 +0000 (0:00:00.011) 0:00:03.271 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 09 February 2024 20:40:18 +0000 (0:00:02.056) 0:00:05.328 ******* 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.005647", "end": "2024-02-09 20:40:18.991912", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-09 20:40:18.986265" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003742", "end": "2024-02-09 20:40:19.271372", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-09 20:40:19.267630" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004146", "end": "2024-02-09 20:40:19.496889", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-09 20:40:19.492743" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 09 February 2024 20:40:19 +0000 (0:00:00.746) 0:00:06.074 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.230853", "end": "2024-02-09 20:40:19.962884", "rc": 0, "start": "2024-02-09 20:40:19.732031" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 09 February 2024 20:40:19 +0000 (0:00:00.464) 0:00:06.539 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 09 February 2024 20:40:19 +0000 (0:00:00.010) 0:00:06.550 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 09 February 2024 20:40:20 +0000 (0:00:00.010) 0:00:06.561 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 09 February 2024 20:40:20 +0000 (0:00:00.009) 0:00:06.570 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 20:40:20 +0000 (0:00:00.009) 0:00:06.579 ******* 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_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:15 Friday 09 February 2024 20:40:20 +0000 (0:00:00.008) 0:00:06.588 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 20:40:20 +0000 (0:00:00.023) 0:00:06.611 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:40:20 +0000 (0:00:00.011) 0:00:06.623 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707511218.9900525, "block_size": 4096, "blocks": 0, "ctime": 1707511218.9900525, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28183, "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": 1707511218.9900525, "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_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 20:40:20 +0000 (0:00:00.229) 0:00:06.852 ******* 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_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:17 Friday 09 February 2024 20:40:20 +0000 (0:00:00.012) 0:00:06.864 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:40:20 +0000 (0:00:00.011) 0:00:06.876 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:40:20 +0000 (0:00:00.017) 0:00:06.893 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:40:20 +0000 (0:00:00.022) 0:00:06.916 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:40:20 +0000 (0:00:00.012) 0:00:06.928 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:40:20 +0000 (0:00:00.012) 0:00:06.941 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:40:22 +0000 (0:00:02.281) 0:00:09.222 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:40:23 +0000 (0:00:01.037) 0:00:10.260 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:40:23 +0000 (0:00:00.022) 0:00:10.283 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:40:23 +0000 (0:00:00.023) 0:00:10.306 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:40:23 +0000 (0:00:00.022) 0:00:10.328 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:40:23 +0000 (0:00:00.054) 0:00:10.382 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:40:23 +0000 (0:00:00.054) 0:00:10.437 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:40:23 +0000 (0:00:00.024) 0:00:10.462 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:40:23 +0000 (0:00:00.036) 0:00:10.498 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:40:24 +0000 (0:00:00.644) 0:00:11.143 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:40:24 +0000 (0:00:00.036) 0:00:11.179 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:40:24 +0000 (0:00:00.022) 0:00:11.201 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:40:24 +0000 (0:00:00.020) 0:00:11.222 ******* 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, 6c7e0dcd-e82a-478e-b0c6-15f694ada6d8 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6c7e0dcd-e82a-478e-b0c6-15f694ada6d8 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:40:25 +0000 (0:00:00.644) 0:00:11.867 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:40:25 +0000 (0:00:00.037) 0:00:11.905 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 6c7e0dcd-e82a-478e-b0c6-15f694ada6d8", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6c7e0dcd-e82a-478e-b0c6-15f694ada6d8 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:40:25 +0000 (0:00:00.025) 0:00:11.930 ******* 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, 6c7e0dcd-e82a-478e-b0c6-15f694ada6d8\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6c7e0dcd-e82a-478e-b0c6-15f694ada6d8 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 6c7e0dcd-e82a-478e-b0c6-15f694ada6d8", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6c7e0dcd-e82a-478e-b0c6-15f694ada6d8 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:40:25 +0000 (0:00:00.028) 0:00:11.959 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:40:25 +0000 (0:00:00.030) 0:00:11.989 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:42 Friday 09 February 2024 20:40:25 +0000 (0:00:00.363) 0:00:12.353 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 20:40:25 +0000 (0:00:00.046) 0:00:12.399 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:40:25 +0000 (0:00:00.066) 0:00:12.465 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707511218.9900525, "block_size": 4096, "blocks": 0, "ctime": 1707511218.9900525, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28183, "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": 1707511218.9900525, "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_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 20:40:26 +0000 (0:00:00.239) 0:00:12.705 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:44 Friday 09 February 2024 20:40:26 +0000 (0:00:00.024) 0:00:12.729 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 20:40:26 +0000 (0:00:00.047) 0:00:12.777 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 20:40:26 +0000 (0:00:00.035) 0:00:12.813 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 20:40:26 +0000 (0:00:00.022) 0:00:12.836 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 20:40:26 +0000 (0:00:00.246) 0:00:13.082 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 20:40:26 +0000 (0:00:00.020) 0:00:13.103 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.128179", "end": "2024-02-09 20:40:26.888919", "rc": 0, "start": "2024-02-09 20:40:26.760740" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 20:40:26 +0000 (0:00:00.372) 0:00:13.475 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 20:40:26 +0000 (0:00:00.025) 0:00:13.501 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 20:40:26 +0000 (0:00:00.020) 0:00:13.522 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 20:40:26 +0000 (0:00:00.022) 0:00:13.544 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 20:40:27 +0000 (0:00:00.022) 0:00:13.567 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 20:40:27 +0000 (0:00:00.020) 0:00:13.587 ******* 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_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 20:40:27 +0000 (0:00:00.052) 0:00:13.640 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 20:40:27 +0000 (0:00:00.024) 0:00:13.664 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:48 Friday 09 February 2024 20:40:27 +0000 (0:00:00.024) 0:00:13.689 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004250", "end": "2024-02-09 20:40:27.348661", "rc": 0, "start": "2024-02-09 20:40:27.344411" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.28 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.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_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:52 Friday 09 February 2024 20:40:27 +0000 (0:00:00.244) 0:00:13.933 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:58 Friday 09 February 2024 20:40:27 +0000 (0:00:00.022) 0:00:13.956 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003894", "end": "2024-02-09 20:40:27.614687", "rc": 0, "start": "2024-02-09 20:40:27.610793" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 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_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:62 Friday 09 February 2024 20:40:27 +0000 (0:00:00.242) 0:00:14.198 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:69 Friday 09 February 2024 20:40:27 +0000 (0:00:00.023) 0:00:14.221 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:40:27 +0000 (0:00:00.022) 0:00:14.244 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:40:27 +0000 (0:00:00.036) 0:00:14.281 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:40:27 +0000 (0:00:00.034) 0:00:14.315 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:40:27 +0000 (0:00:00.022) 0:00:14.338 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:40:27 +0000 (0:00:00.023) 0:00:14.362 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:40:29 +0000 (0:00:02.183) 0:00:16.546 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:40:30 +0000 (0:00:00.893) 0:00:17.439 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:40:30 +0000 (0:00:00.023) 0:00:17.463 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:40:30 +0000 (0:00:00.024) 0:00:17.488 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:40:30 +0000 (0:00:00.026) 0:00:17.514 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:40:31 +0000 (0:00:00.056) 0:00:17.571 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:40:31 +0000 (0:00:00.024) 0:00:17.596 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:40:31 +0000 (0:00:00.023) 0:00:17.619 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:40:31 +0000 (0:00:00.039) 0:00:17.658 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:40:31 +0000 (0:00:00.456) 0:00:18.115 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:40:31 +0000 (0:00:00.038) 0:00:18.153 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:40:31 +0000 (0:00:00.021) 0:00:18.175 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:40:31 +0000 (0:00:00.021) 0:00:18.197 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:40:32 +0000 (0:00:00.563) 0:00:18.760 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:40:32 +0000 (0:00:00.027) 0:00:18.788 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:40:32 +0000 (0:00:00.025) 0:00:18.813 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:40:32 +0000 (0:00:00.025) 0:00:18.839 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:40:32 +0000 (0:00:00.072) 0:00:18.911 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:81 Friday 09 February 2024 20:40:32 +0000 (0:00:00.263) 0:00:19.174 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 20:40:32 +0000 (0:00:00.053) 0:00:19.228 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 20:40:32 +0000 (0:00:00.029) 0:00:19.258 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 20:40:32 +0000 (0:00:00.038) 0:00:19.296 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:40:32 +0000 (0:00:00.037) 0:00:19.334 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:40:32 +0000 (0:00:00.033) 0:00:19.367 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003588", "end": "2024-02-09 20:40:33.027207", "rc": 0, "start": "2024-02-09 20:40:33.023619" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:40:33 +0000 (0:00:00.256) 0:00:19.624 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:40:33 +0000 (0:00:00.023) 0:00:19.648 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 20:40:33 +0000 (0:00:00.025) 0:00:19.674 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 09 February 2024 20:40:35 +0000 (0:00:01.945) 0:00:21.619 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 09 February 2024 20:40:35 +0000 (0:00:00.030) 0:00:21.650 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 09 February 2024 20:40:35 +0000 (0:00:00.068) 0:00:21.719 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.020543", "end": "2024-02-09 20:40:35.396870", "rc": 0, "start": "2024-02-09 20:40:35.376327" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 09 February 2024 20:40:35 +0000 (0:00:00.266) 0:00:21.985 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 09 February 2024 20:40:35 +0000 (0:00:00.021) 0:00:22.007 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 09 February 2024 20:40:35 +0000 (0:00:00.034) 0:00:22.041 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 20:40:35 +0000 (0:00:00.024) 0:00:22.065 ******* 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_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:85 Friday 09 February 2024 20:40:35 +0000 (0:00:00.023) 0:00:22.089 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:89 Friday 09 February 2024 20:40:35 +0000 (0:00:00.043) 0:00:22.132 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 20:40:35 +0000 (0:00:00.059) 0:00:22.192 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 20:40:35 +0000 (0:00:00.022) 0:00:22.214 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 20:40:35 +0000 (0:00:00.022) 0:00:22.237 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:40:35 +0000 (0:00:00.033) 0:00:22.270 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:40:35 +0000 (0:00:00.037) 0:00:22.308 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003551", "end": "2024-02-09 20:40:35.967253", "rc": 0, "start": "2024-02-09 20:40:35.963702" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:40:36 +0000 (0:00:00.247) 0:00:22.555 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:40:36 +0000 (0:00:00.070) 0:00:22.626 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 20:40:36 +0000 (0:00:00.027) 0:00:22.653 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 09 February 2024 20:40:38 +0000 (0:00:01.937) 0:00:24.591 ******* 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.008501", "end": "2024-02-09 20:40:38.265967", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-09 20:40:38.257466" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003985", "end": "2024-02-09 20:40:38.534911", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-09 20:40:38.530926" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004183", "end": "2024-02-09 20:40:38.760468", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-09 20:40:38.756285" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 09 February 2024 20:40:38 +0000 (0:00:00.758) 0:00:25.349 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020433", "end": "2024-02-09 20:40:39.032594", "rc": 0, "start": "2024-02-09 20:40:39.012161" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 09 February 2024 20:40:39 +0000 (0:00:00.272) 0:00:25.622 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 09 February 2024 20:40:39 +0000 (0:00:00.024) 0:00:25.646 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 09 February 2024 20:40:39 +0000 (0:00:00.038) 0:00:25.685 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 09 February 2024 20:40:39 +0000 (0:00:00.022) 0:00:25.707 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 20:40:39 +0000 (0:00:00.029) 0:00:25.737 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:40:39 +0000 (0:00:00.028) 0:00:25.766 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:40:39 +0000 (0:00:00.039) 0:00:25.805 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:40:39 +0000 (0:00:00.046) 0:00:25.851 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:40:39 +0000 (0:00:00.035) 0:00:25.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 : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:40:39 +0000 (0:00:00.027) 0:00:25.914 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:40:41 +0000 (0:00:02.163) 0:00:28.077 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:40:42 +0000 (0:00:00.928) 0:00:29.006 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:40:42 +0000 (0:00:00.025) 0:00:29.031 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:40:42 +0000 (0:00:00.028) 0:00:29.059 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:40:42 +0000 (0:00:00.024) 0:00:29.083 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:40:42 +0000 (0:00:00.056) 0:00:29.139 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:40:42 +0000 (0:00:00.026) 0:00:29.166 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:40:42 +0000 (0:00:00.025) 0:00:29.192 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:40:42 +0000 (0:00:00.039) 0:00:29.232 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:40:43 +0000 (0:00:00.464) 0:00:29.697 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:40:43 +0000 (0:00:00.043) 0:00:29.740 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:40:43 +0000 (0:00:00.023) 0:00:29.764 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:40:43 +0000 (0:00:00.023) 0:00:29.787 ******* 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, 9cbfb283-7468-402b-900e-026e9f99c615 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9cbfb283-7468-402b-900e-026e9f99c615 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:40:43 +0000 (0:00:00.559) 0:00:30.347 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:40:43 +0000 (0:00:00.027) 0:00:30.374 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9cbfb283-7468-402b-900e-026e9f99c615", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9cbfb283-7468-402b-900e-026e9f99c615 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:40:43 +0000 (0:00:00.070) 0:00:30.445 ******* 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, 9cbfb283-7468-402b-900e-026e9f99c615\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9cbfb283-7468-402b-900e-026e9f99c615 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9cbfb283-7468-402b-900e-026e9f99c615", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9cbfb283-7468-402b-900e-026e9f99c615 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:40:43 +0000 (0:00:00.029) 0:00:30.475 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:40:43 +0000 (0:00:00.043) 0:00:30.519 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:110 Friday 09 February 2024 20:40:44 +0000 (0:00:00.274) 0:00:30.793 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 20:40:44 +0000 (0:00:00.053) 0:00:30.846 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 20:40:44 +0000 (0:00:00.034) 0:00:30.881 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707511238.2614925, "block_size": 4096, "blocks": 0, "ctime": 1707511238.2614925, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28769, "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": 1707511238.2614925, "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_rewritea_oa302f/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 20:40:44 +0000 (0:00:00.252) 0:00:31.133 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:112 Friday 09 February 2024 20:40:44 +0000 (0:00:00.027) 0:00:31.161 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 20:40:44 +0000 (0:00:00.051) 0:00:31.212 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 20:40:44 +0000 (0:00:00.053) 0:00:31.266 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 20:40:44 +0000 (0:00:00.021) 0:00:31.288 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 20:40:45 +0000 (0:00:00.354) 0:00:31.643 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 20:40:45 +0000 (0:00:00.048) 0:00:31.691 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022379", "end": "2024-02-09 20:40:45.385512", "rc": 0, "start": "2024-02-09 20:40:45.363133" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 20:40:45 +0000 (0:00:00.279) 0:00:31.970 ******* 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_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 20:40:45 +0000 (0:00:00.025) 0:00:31.996 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 20:40:45 +0000 (0:00:00.023) 0:00:32.020 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 20:40:45 +0000 (0:00:00.022) 0:00:32.042 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 20:40:45 +0000 (0:00:00.023) 0:00:32.065 ******* skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 20:40:45 +0000 (0:00:00.028) 0:00:32.094 ******* 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_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 20:40:45 +0000 (0:00:00.025) 0:00:32.120 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 20:40:45 +0000 (0:00:00.025) 0:00:32.145 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:116 Friday 09 February 2024 20:40:45 +0000 (0:00:00.023) 0:00:32.169 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003788", "end": "2024-02-09 20:40:45.827558", "rc": 0, "start": "2024-02-09 20:40:45.823770" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.28 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.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_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:120 Friday 09 February 2024 20:40:45 +0000 (0:00:00.249) 0:00:32.418 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:126 Friday 09 February 2024 20:40:45 +0000 (0:00:00.028) 0:00:32.447 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003744", "end": "2024-02-09 20:40:46.106933", "rc": 0, "start": "2024-02-09 20:40:46.103189" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 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_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:130 Friday 09 February 2024 20:40:46 +0000 (0:00:00.255) 0:00:32.703 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:137 Friday 09 February 2024 20:40:46 +0000 (0:00:00.027) 0:00:32.731 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 20:40:46 +0000 (0:00:00.023) 0:00:32.754 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 20:40:46 +0000 (0:00:00.094) 0:00:32.849 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 20:40:46 +0000 (0:00:00.037) 0:00:32.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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 20:40:46 +0000 (0:00:00.025) 0:00:32.913 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 20:40:46 +0000 (0:00:00.025) 0:00:32.939 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 20:40:48 +0000 (0:00:02.177) 0:00:35.116 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 20:40:49 +0000 (0:00:00.810) 0:00:35.927 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 20:40:49 +0000 (0:00:00.024) 0:00:35.951 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 20:40:49 +0000 (0:00:00.025) 0:00:35.977 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 20:40:49 +0000 (0:00:00.026) 0:00:36.003 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 20:40:49 +0000 (0:00:00.055) 0:00:36.059 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 20:40:49 +0000 (0:00:00.025) 0:00:36.084 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 20:40:49 +0000 (0:00:00.025) 0:00:36.110 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 20:40:49 +0000 (0:00:00.040) 0:00:36.150 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 20:40:50 +0000 (0:00:00.504) 0:00:36.655 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 20:40:50 +0000 (0:00:00.038) 0:00:36.693 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 20:40:50 +0000 (0:00:00.020) 0:00:36.714 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 20:40:50 +0000 (0:00:00.021) 0:00:36.736 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 20:40:50 +0000 (0:00:00.551) 0:00:37.288 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 20:40:50 +0000 (0:00:00.026) 0:00:37.314 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 20:40:50 +0000 (0:00:00.025) 0:00:37.339 ******* 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_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 20:40:50 +0000 (0:00:00.026) 0:00:37.366 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 20:40:50 +0000 (0:00:00.024) 0:00:37.391 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:149 Friday 09 February 2024 20:40:51 +0000 (0:00:00.249) 0:00:37.641 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 20:40:51 +0000 (0:00:00.051) 0:00:37.693 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 20:40:51 +0000 (0:00:00.020) 0:00:37.713 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 20:40:51 +0000 (0:00:00.020) 0:00:37.734 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 20:40:51 +0000 (0:00:00.069) 0:00:37.803 ******* included: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 20:40:51 +0000 (0:00:00.033) 0:00:37.836 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003644", "end": "2024-02-09 20:40:51.494933", "rc": 0, "start": "2024-02-09 20:40:51.491289" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 20:40:51 +0000 (0:00:00.243) 0:00:38.080 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 20:40:51 +0000 (0:00:00.022) 0:00:38.102 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 20:40:51 +0000 (0:00:00.023) 0:00:38.126 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 09 February 2024 20:40:53 +0000 (0:00:01.935) 0:00:40.061 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 09 February 2024 20:40:53 +0000 (0:00:00.028) 0:00:40.090 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 09 February 2024 20:40:53 +0000 (0:00:00.021) 0:00:40.112 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.017365", "end": "2024-02-09 20:40:53.785732", "rc": 0, "start": "2024-02-09 20:40:53.768367" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 09 February 2024 20:40:53 +0000 (0:00:00.263) 0:00:40.375 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 09 February 2024 20:40:53 +0000 (0:00:00.023) 0:00:40.399 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 09 February 2024 20:40:53 +0000 (0:00:00.022) 0:00:40.421 ******* 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_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 20:40:53 +0000 (0:00:00.023) 0:00:40.445 ******* 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=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Friday 09 February 2024 20:40:53 +0000 (0:00:00.060) 0:00:40.506 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.28s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.18s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.18s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.16s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.06s /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.95s /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.94s /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.94s /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.04s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.94s /WORKDIR/git-bond_options_rewritea_oa302f/tests/tests_auto_gateway_nm.yml:6 --- fedora.linux_system_roles.network : Check which packages are installed --- 0.93s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.89s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.76s /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 0.75s /WORKDIR/git-bond_options_rewritea_oa302f/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.64s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.64s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.56s /WORKDIR/git-bond_options_rewritea_oa302f/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.56s /WORKDIR/git-bond_options_rewritea_oa302f/.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. ---^---^---^---^---^---