# 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_rewritecq8zox95/.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_rewritecq8zox95/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_rewritecq8zox95/tests/tests_auto_gateway_nm.yml:6 Wednesday 31 January 2024 23:29:01 +0000 (0:00:00.017) 0:00:00.017 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/tests_auto_gateway_nm.yml:9 Wednesday 31 January 2024 23:29:02 +0000 (0:00:00.966) 0:00:00.983 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/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_rewritecq8zox95/tests/tasks/el_repo_setup.yml:3 Wednesday 31 January 2024 23:29:02 +0000 (0:00:00.017) 0:00:01.001 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/tasks/el_repo_setup.yml:17 Wednesday 31 January 2024 23:29:02 +0000 (0:00:00.369) 0:00:01.370 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/tasks/el_repo_setup.yml:22 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.320) 0:00:01.690 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/tasks/el_repo_setup.yml:26 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.021) 0:00:01.711 ***** 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_rewritecq8zox95/tests/tasks/el_repo_setup.yml:51 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.012) 0:00:01.724 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/tasks/enable_epel.yml:8 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.030) 0:00:01.755 ***** 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_rewritecq8zox95/tests/tasks/enable_epel.yml:24 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.013) 0:00:01.768 ***** 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_rewritecq8zox95/tests/tasks/enable_epel.yml:30 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.012) 0:00:01.780 ***** 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_rewritecq8zox95/tests/tasks/enable_epel.yml:35 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.011) 0:00:01.792 ***** 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_rewritecq8zox95/tests/tasks/enable_epel.yml:40 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.012) 0:00:01.805 ***** 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_rewritecq8zox95/tests/tests_auto_gateway_nm.yml:11 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.011) 0:00:01.816 ***** 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_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 31 January 2024 23:29:03 +0000 (0:00:00.031) 0:00:01.847 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.725) 0:00:02.572 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.036) 0:00:02.609 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.017) 0:00:02.626 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003804", "end": "2024-01-31 23:29:04.520886", "rc": 0, "start": "2024-01-31 23:29:04.517082" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.303) 0:00:02.930 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.014) 0:00:02.944 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.013) 0:00:02.958 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.034) 0:00:02.993 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.012) 0:00:03.005 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.012) 0:00:03.017 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.016) 0:00:03.034 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.016) 0:00:03.050 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003648", "end": "2024-01-31 23:29:04.853375", "rc": 0, "start": "2024-01-31 23:29:04.849727" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.214) 0:00:03.264 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.014) 0:00:03.279 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:29:04 +0000 (0:00:00.014) 0:00:03.293 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:29:07 +0000 (0:00:02.439) 0:00:05.733 ***** 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.034680", "end": "2024-01-31 23:29:07.572907", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-31 23:29:07.538227" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003746", "end": "2024-01-31 23:29:07.827915", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-31 23:29:07.824169" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004233", "end": "2024-01-31 23:29:08.030620", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-31 23:29:08.026387" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:29:08 +0000 (0:00:00.707) 0:00:06.441 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.212316", "end": "2024-01-31 23:29:08.452613", "rc": 0, "start": "2024-01-31 23:29:08.240297" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:29:08 +0000 (0:00:00.424) 0:00:06.866 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:29:08 +0000 (0:00:00.015) 0:00:06.881 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:29:08 +0000 (0:00:00.013) 0:00:06.895 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:29:08 +0000 (0:00:00.013) 0:00:06.908 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:29:08 +0000 (0:00:00.012) 0:00:06.921 ***** 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_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 31 January 2024 23:29:08 +0000 (0:00:00.011) 0:00:06.933 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:29:08 +0000 (0:00:00.036) 0:00:06.970 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:29:08 +0000 (0:00:00.015) 0:00:06.986 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743747.5692034, "block_size": 4096, "blocks": 0, "ctime": 1706743747.5692034, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26340, "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": 1706743747.5692034, "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_rewritecq8zox95/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:29:08 +0000 (0:00:00.208) 0:00:07.195 ***** 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_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 31 January 2024 23:29:08 +0000 (0:00:00.014) 0:00:07.210 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 January 2024 23:29:08 +0000 (0:00:00.013) 0:00:07.223 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/.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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:29:08 +0000 (0:00:00.022) 0:00:07.246 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 January 2024 23:29:08 +0000 (0:00:00.030) 0:00:07.276 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 January 2024 23:29:08 +0000 (0:00:00.019) 0:00:07.296 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 January 2024 23:29:08 +0000 (0:00:00.019) 0:00:07.315 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 January 2024 23:29:11 +0000 (0:00:02.372) 0:00:09.688 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 January 2024 23:29:12 +0000 (0:00:01.144) 0:00:10.832 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 January 2024 23:29:12 +0000 (0:00:00.044) 0:00:10.877 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 January 2024 23:29:12 +0000 (0:00:00.034) 0:00:10.911 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 31 January 2024 23:29:12 +0000 (0:00:00.039) 0:00:10.951 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 31 January 2024 23:29:12 +0000 (0:00:00.106) 0:00:11.058 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 31 January 2024 23:29:12 +0000 (0:00:00.076) 0:00:11.134 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 31 January 2024 23:29:12 +0000 (0:00:00.033) 0:00:11.167 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 31 January 2024 23:29:12 +0000 (0:00:00.058) 0:00:11.225 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 31 January 2024 23:29:13 +0000 (0:00:00.713) 0:00:11.939 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 31 January 2024 23:29:13 +0000 (0:00:00.044) 0:00:11.983 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 31 January 2024 23:29:13 +0000 (0:00:00.025) 0:00:12.008 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 31 January 2024 23:29:13 +0000 (0:00:00.025) 0:00:12.033 ***** 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, 8495f4b6-7c62-40be-b16a-52a59f13f5a1 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8495f4b6-7c62-40be-b16a-52a59f13f5a1 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 31 January 2024 23:29:14 +0000 (0:00:00.887) 0:00:12.921 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 31 January 2024 23:29:14 +0000 (0:00:00.029) 0:00:12.950 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 8495f4b6-7c62-40be-b16a-52a59f13f5a1", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8495f4b6-7c62-40be-b16a-52a59f13f5a1 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 31 January 2024 23:29:14 +0000 (0:00:00.029) 0:00:12.979 ***** 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, 8495f4b6-7c62-40be-b16a-52a59f13f5a1\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8495f4b6-7c62-40be-b16a-52a59f13f5a1 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 8495f4b6-7c62-40be-b16a-52a59f13f5a1", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8495f4b6-7c62-40be-b16a-52a59f13f5a1 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 31 January 2024 23:29:14 +0000 (0:00:00.029) 0:00:13.009 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 31 January 2024 23:29:14 +0000 (0:00:00.033) 0:00:13.043 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 31 January 2024 23:29:15 +0000 (0:00:00.380) 0:00:13.423 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:29:15 +0000 (0:00:00.080) 0:00:13.504 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:29:15 +0000 (0:00:00.096) 0:00:13.601 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743747.5692034, "block_size": 4096, "blocks": 0, "ctime": 1706743747.5692034, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26340, "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": 1706743747.5692034, "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_rewritecq8zox95/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:29:15 +0000 (0:00:00.225) 0:00:13.826 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 31 January 2024 23:29:15 +0000 (0:00:00.031) 0:00:13.857 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:29:15 +0000 (0:00:00.067) 0:00:13.925 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/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_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:29:15 +0000 (0:00:00.058) 0:00:13.984 ***** 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_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:29:15 +0000 (0:00:00.039) 0:00:14.024 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:29:15 +0000 (0:00:00.221) 0:00:14.245 ***** 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_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:29:15 +0000 (0:00:00.026) 0:00:14.272 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.093068", "end": "2024-01-31 23:29:16.164305", "rc": 0, "start": "2024-01-31 23:29:16.071237" } 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_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:29:16 +0000 (0:00:00.325) 0:00:14.597 ***** 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_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:29:16 +0000 (0:00:00.042) 0:00:14.640 ***** 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_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:29:16 +0000 (0:00:00.029) 0:00:14.669 ***** 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_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:29:16 +0000 (0:00:00.061) 0:00:14.731 ***** 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_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:29:16 +0000 (0:00:00.041) 0:00:14.772 ***** 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_rewritecq8zox95/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:29:16 +0000 (0:00:00.039) 0:00:14.811 ***** 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_rewritecq8zox95/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:29:16 +0000 (0:00:00.088) 0:00:14.900 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:29:16 +0000 (0:00:00.041) 0:00:14.941 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 31 January 2024 23:29:16 +0000 (0:00:00.037) 0:00:14.978 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003936", "end": "2024-01-31 23:29:16.792529", "rc": 0, "start": "2024-01-31 23:29:16.788593" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.6 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.6 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_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 31 January 2024 23:29:16 +0000 (0:00:00.237) 0:00:15.216 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 31 January 2024 23:29:16 +0000 (0:00:00.028) 0:00:15.244 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003984", "end": "2024-01-31 23:29:17.047028", "rc": 0, "start": "2024-01-31 23:29:17.043044" } 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_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.236) 0:00:15.480 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.034) 0:00:15.515 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.029) 0:00:15.544 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/.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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.069) 0:00:15.613 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.048) 0:00:15.662 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.033) 0:00:15.695 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 January 2024 23:29:17 +0000 (0:00:00.037) 0:00:15.733 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 January 2024 23:29:19 +0000 (0:00:02.225) 0:00:17.958 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 January 2024 23:29:20 +0000 (0:00:00.860) 0:00:18.819 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 January 2024 23:29:20 +0000 (0:00:00.029) 0:00:18.848 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 January 2024 23:29:20 +0000 (0:00:00.029) 0:00:18.878 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 31 January 2024 23:29:20 +0000 (0:00:00.027) 0:00:18.906 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 31 January 2024 23:29:20 +0000 (0:00:00.078) 0:00:18.984 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 31 January 2024 23:29:20 +0000 (0:00:00.033) 0:00:19.018 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 31 January 2024 23:29:20 +0000 (0:00:00.029) 0:00:19.047 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 31 January 2024 23:29:20 +0000 (0:00:00.056) 0:00:19.104 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 31 January 2024 23:29:21 +0000 (0:00:00.446) 0:00:19.551 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 31 January 2024 23:29:21 +0000 (0:00:00.045) 0:00:19.596 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 31 January 2024 23:29:21 +0000 (0:00:00.028) 0:00:19.625 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 31 January 2024 23:29:21 +0000 (0:00:00.025) 0:00:19.650 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 31 January 2024 23:29:21 +0000 (0:00:00.498) 0:00:20.149 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 31 January 2024 23:29:21 +0000 (0:00:00.034) 0:00:20.183 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 31 January 2024 23:29:21 +0000 (0:00:00.032) 0:00:20.216 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 31 January 2024 23:29:21 +0000 (0:00:00.030) 0:00:20.246 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 31 January 2024 23:29:21 +0000 (0:00:00.080) 0:00:20.327 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 31 January 2024 23:29:22 +0000 (0:00:00.239) 0:00:20.566 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:29:22 +0000 (0:00:00.069) 0:00:20.636 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:29:22 +0000 (0:00:00.027) 0:00:20.664 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:29:22 +0000 (0:00:00.028) 0:00:20.693 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:29:22 +0000 (0:00:00.044) 0:00:20.737 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:29:22 +0000 (0:00:00.043) 0:00:20.780 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003675", "end": "2024-01-31 23:29:22.583352", "rc": 0, "start": "2024-01-31 23:29:22.579677" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:29:22 +0000 (0:00:00.235) 0:00:21.016 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:29:22 +0000 (0:00:00.031) 0:00:21.047 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:29:22 +0000 (0:00:00.028) 0:00:21.076 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:29:24 +0000 (0:00:02.235) 0:00:23.311 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:29:24 +0000 (0:00:00.040) 0:00:23.352 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.089) 0:00:23.441 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009453", "end": "2024-01-31 23:29:25.254560", "rc": 0, "start": "2024-01-31 23:29:25.245107" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.246) 0:00:23.688 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.030) 0:00:23.719 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.039) 0:00:23.759 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.038) 0:00:23.798 ***** 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_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.036) 0:00:23.835 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.043) 0:00:23.878 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.100) 0:00:23.979 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.033) 0:00:24.012 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.033) 0:00:24.046 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.047) 0:00:24.094 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.042) 0:00:24.137 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003615", "end": "2024-01-31 23:29:25.940868", "rc": 0, "start": "2024-01-31 23:29:25.937253" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:29:25 +0000 (0:00:00.228) 0:00:24.366 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:29:26 +0000 (0:00:00.082) 0:00:24.448 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:29:26 +0000 (0:00:00.029) 0:00:24.477 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:29:28 +0000 (0:00:02.205) 0:00:26.683 ***** 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.007624", "end": "2024-01-31 23:29:28.495489", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-31 23:29:28.487865" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003829", "end": "2024-01-31 23:29:28.752109", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-31 23:29:28.748280" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004081", "end": "2024-01-31 23:29:28.959559", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-31 23:29:28.955478" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:29:29 +0000 (0:00:00.712) 0:00:27.396 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023309", "end": "2024-01-31 23:29:29.222718", "rc": 0, "start": "2024-01-31 23:29:29.199409" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:29:29 +0000 (0:00:00.260) 0:00:27.656 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:29:29 +0000 (0:00:00.027) 0:00:27.684 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:29:29 +0000 (0:00:00.027) 0:00:27.711 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:29:29 +0000 (0:00:00.027) 0:00:27.738 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:29:29 +0000 (0:00:00.027) 0:00:27.766 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 January 2024 23:29:29 +0000 (0:00:00.028) 0:00:27.794 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/.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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:29:29 +0000 (0:00:00.044) 0:00:27.839 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 January 2024 23:29:29 +0000 (0:00:00.043) 0:00:27.882 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 January 2024 23:29:29 +0000 (0:00:00.028) 0:00:27.911 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 January 2024 23:29:29 +0000 (0:00:00.030) 0:00:27.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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 January 2024 23:29:31 +0000 (0:00:02.211) 0:00:30.153 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 January 2024 23:29:32 +0000 (0:00:00.929) 0:00:31.083 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 January 2024 23:29:32 +0000 (0:00:00.047) 0:00:31.130 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 January 2024 23:29:32 +0000 (0:00:00.037) 0:00:31.168 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 31 January 2024 23:29:32 +0000 (0:00:00.041) 0:00:31.210 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 31 January 2024 23:29:32 +0000 (0:00:00.088) 0:00:31.298 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 31 January 2024 23:29:32 +0000 (0:00:00.031) 0:00:31.329 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 31 January 2024 23:29:32 +0000 (0:00:00.034) 0:00:31.364 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 31 January 2024 23:29:33 +0000 (0:00:00.060) 0:00:31.425 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 31 January 2024 23:29:33 +0000 (0:00:00.458) 0:00:31.883 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 31 January 2024 23:29:33 +0000 (0:00:00.046) 0:00:31.930 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 31 January 2024 23:29:33 +0000 (0:00:00.039) 0:00:31.970 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 31 January 2024 23:29:33 +0000 (0:00:00.040) 0:00:32.010 ***** 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, fff6287c-a7b3-4f41-abbf-2f3145fbcc66 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, fff6287c-a7b3-4f41-abbf-2f3145fbcc66 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 31 January 2024 23:29:34 +0000 (0:00:00.506) 0:00:32.517 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 31 January 2024 23:29:34 +0000 (0:00:00.036) 0:00:32.553 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, fff6287c-a7b3-4f41-abbf-2f3145fbcc66", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, fff6287c-a7b3-4f41-abbf-2f3145fbcc66 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 31 January 2024 23:29:34 +0000 (0:00:00.077) 0:00:32.630 ***** 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, fff6287c-a7b3-4f41-abbf-2f3145fbcc66\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, fff6287c-a7b3-4f41-abbf-2f3145fbcc66 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, fff6287c-a7b3-4f41-abbf-2f3145fbcc66", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, fff6287c-a7b3-4f41-abbf-2f3145fbcc66 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 31 January 2024 23:29:34 +0000 (0:00:00.037) 0:00:32.668 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 31 January 2024 23:29:34 +0000 (0:00:00.042) 0:00:32.711 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 31 January 2024 23:29:34 +0000 (0:00:00.242) 0:00:32.954 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:29:34 +0000 (0:00:00.071) 0:00:33.025 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:29:34 +0000 (0:00:00.042) 0:00:33.067 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706743768.491732, "block_size": 4096, "blocks": 0, "ctime": 1706743768.491732, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26926, "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": 1706743768.491732, "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_rewritecq8zox95/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:29:34 +0000 (0:00:00.222) 0:00:33.289 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 31 January 2024 23:29:34 +0000 (0:00:00.032) 0:00:33.321 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:29:35 +0000 (0:00:00.068) 0:00:33.390 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/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_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:29:35 +0000 (0:00:00.045) 0:00:33.435 ***** 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_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:29:35 +0000 (0:00:00.031) 0:00:33.466 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:29:35 +0000 (0:00:00.274) 0:00:33.740 ***** 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_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:29:35 +0000 (0:00:00.033) 0:00:33.773 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022146", "end": "2024-01-31 23:29:35.594903", "rc": 0, "start": "2024-01-31 23:29:35.572757" } 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_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:29:35 +0000 (0:00:00.244) 0:00:34.018 ***** 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_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:29:35 +0000 (0:00:00.030) 0:00:34.048 ***** 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_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:29:35 +0000 (0:00:00.026) 0:00:34.075 ***** 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_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:29:35 +0000 (0:00:00.029) 0:00:34.104 ***** 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_rewritecq8zox95/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:29:35 +0000 (0:00:00.027) 0:00:34.132 ***** 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_rewritecq8zox95/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:29:35 +0000 (0:00:00.026) 0:00:34.158 ***** 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_rewritecq8zox95/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:29:35 +0000 (0:00:00.032) 0:00:34.191 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:29:35 +0000 (0:00:00.030) 0:00:34.221 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 31 January 2024 23:29:35 +0000 (0:00:00.030) 0:00:34.251 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003856", "end": "2024-01-31 23:29:36.056560", "rc": 0, "start": "2024-01-31 23:29:36.052704" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.6 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.6 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_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 31 January 2024 23:29:36 +0000 (0:00:00.230) 0:00:34.482 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 31 January 2024 23:29:36 +0000 (0:00:00.031) 0:00:34.513 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003915", "end": "2024-01-31 23:29:36.317775", "rc": 0, "start": "2024-01-31 23:29:36.313860" } 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_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 31 January 2024 23:29:36 +0000 (0:00:00.232) 0:00:34.746 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 31 January 2024 23:29:36 +0000 (0:00:00.034) 0:00:34.780 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 January 2024 23:29:36 +0000 (0:00:00.037) 0:00:34.817 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/.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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:29:36 +0000 (0:00:00.135) 0:00:34.953 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 January 2024 23:29:36 +0000 (0:00:00.056) 0:00:35.010 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 January 2024 23:29:36 +0000 (0:00:00.039) 0:00:35.049 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 January 2024 23:29:36 +0000 (0:00:00.042) 0:00:35.091 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 January 2024 23:29:38 +0000 (0:00:02.208) 0:00:37.300 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.786) 0:00:38.086 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.033) 0:00:38.119 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.033) 0:00:38.153 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.030) 0:00:38.183 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.081) 0:00:38.264 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.034) 0:00:38.299 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.031) 0:00:38.330 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 31 January 2024 23:29:39 +0000 (0:00:00.048) 0:00:38.379 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 31 January 2024 23:29:40 +0000 (0:00:00.512) 0:00:38.892 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 31 January 2024 23:29:40 +0000 (0:00:00.057) 0:00:38.950 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 31 January 2024 23:29:40 +0000 (0:00:00.027) 0:00:38.977 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 31 January 2024 23:29:40 +0000 (0:00:00.027) 0:00:39.005 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 31 January 2024 23:29:41 +0000 (0:00:00.489) 0:00:39.495 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 31 January 2024 23:29:41 +0000 (0:00:00.042) 0:00:39.538 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 31 January 2024 23:29:41 +0000 (0:00:00.040) 0:00:39.579 ***** 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_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 31 January 2024 23:29:41 +0000 (0:00:00.032) 0:00:39.611 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 31 January 2024 23:29:41 +0000 (0:00:00.033) 0:00:39.644 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 31 January 2024 23:29:41 +0000 (0:00:00.237) 0:00:39.881 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:29:41 +0000 (0:00:00.072) 0:00:39.954 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:29:41 +0000 (0:00:00.025) 0:00:39.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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:29:41 +0000 (0:00:00.028) 0:00:40.008 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:29:41 +0000 (0:00:00.044) 0:00:40.052 ***** included: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:29:41 +0000 (0:00:00.081) 0:00:40.134 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003721", "end": "2024-01-31 23:29:41.938018", "rc": 0, "start": "2024-01-31 23:29:41.934297" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:29:41 +0000 (0:00:00.227) 0:00:40.361 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:29:42 +0000 (0:00:00.030) 0:00:40.392 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:29:42 +0000 (0:00:00.028) 0:00:40.421 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 23:29:44 +0000 (0:00:02.238) 0:00:42.659 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 23:29:44 +0000 (0:00:00.040) 0:00:42.700 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 23:29:44 +0000 (0:00:00.028) 0:00:42.729 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015417", "end": "2024-01-31 23:29:44.549817", "rc": 0, "start": "2024-01-31 23:29:44.534400" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 23:29:44 +0000 (0:00:00.248) 0:00:42.978 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 23:29:44 +0000 (0:00:00.026) 0:00:43.005 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 23:29:44 +0000 (0:00:00.026) 0:00:43.031 ***** 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_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:29:44 +0000 (0:00:00.024) 0:00:43.055 ***** 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 Wednesday 31 January 2024 23:29:44 +0000 (0:00:00.065) 0:00:43.121 ***** =============================================================================== Install iproute --------------------------------------------------------- 2.44s /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.37s /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.24s /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.24s /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.23s /WORKDIR/git-bond_options_rewritecq8zox95/.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.21s /WORKDIR/git-bond_options_rewritecq8zox95/.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.21s /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.21s /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.14s /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.97s /WORKDIR/git-bond_options_rewritecq8zox95/tests/tests_auto_gateway_nm.yml:6 --- fedora.linux_system_roles.network : Check which packages are installed --- 0.93s /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.89s /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Check which packages are installed --- 0.86s /WORKDIR/git-bond_options_rewritecq8zox95/.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.79s /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tests_auto_gateway.yml:3 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.71s /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Create veth interface veth0 --------------------------------------------- 0.71s /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 0.71s /WORKDIR/git-bond_options_rewritecq8zox95/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.51s /WORKDIR/git-bond_options_rewritecq8zox95/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.51s /WORKDIR/git-bond_options_rewritecq8zox95/.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. ---^---^---^---^---^---