# 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_rewritea61xhump/.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_rewritea61xhump/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_rewritea61xhump/tests/tests_auto_gateway_nm.yml:6 Tuesday 13 February 2024 21:04:43 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/tests_auto_gateway_nm.yml:9 Tuesday 13 February 2024 21:04:44 +0000 (0:00:01.051) 0:00:01.063 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/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_rewritea61xhump/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 21:04:44 +0000 (0:00:00.011) 0:00:01.075 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/tasks/el_repo_setup.yml:17 Tuesday 13 February 2024 21:04:45 +0000 (0:00:00.437) 0:00:01.513 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/tasks/el_repo_setup.yml:22 Tuesday 13 February 2024 21:04:45 +0000 (0:00:00.302) 0:00:01.815 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/tasks/el_repo_setup.yml:26 Tuesday 13 February 2024 21:04:45 +0000 (0:00:00.013) 0:00:01.829 ****** 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_rewritea61xhump/tests/tasks/el_repo_setup.yml:51 Tuesday 13 February 2024 21:04:45 +0000 (0:00:00.008) 0:00:01.838 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 21:04:45 +0000 (0:00:00.021) 0:00:01.860 ****** 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_rewritea61xhump/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 21:04:45 +0000 (0:00:00.008) 0:00:01.869 ****** 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_rewritea61xhump/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 21:04:45 +0000 (0:00:00.007) 0:00:01.876 ****** 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_rewritea61xhump/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 21:04:45 +0000 (0:00:00.007) 0:00:01.884 ****** 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_rewritea61xhump/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 21:04:45 +0000 (0:00:00.007) 0:00:01.891 ****** 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_rewritea61xhump/tests/tests_auto_gateway_nm.yml:11 Tuesday 13 February 2024 21:04:45 +0000 (0:00:00.007) 0:00:01.898 ****** 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_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 13 February 2024 21:04:45 +0000 (0:00:00.016) 0:00:01.915 ****** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 13 February 2024 21:04:46 +0000 (0:00:00.812) 0:00:02.727 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:04:46 +0000 (0:00:00.023) 0:00:02.751 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:04:46 +0000 (0:00:00.010) 0:00:02.761 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004054", "end": "2024-02-13 21:04:46.943966", "rc": 0, "start": "2024-02-13 21:04:46.939912" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:04:46 +0000 (0:00:00.308) 0:00:03.070 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:04:46 +0000 (0:00:00.010) 0:00:03.080 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 13 February 2024 21:04:46 +0000 (0:00:00.009) 0:00:03.090 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:04:47 +0000 (0:00:00.024) 0:00:03.115 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:04:47 +0000 (0:00:00.008) 0:00:03.123 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:04:47 +0000 (0:00:00.007) 0:00:03.131 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:04:47 +0000 (0:00:00.012) 0:00:03.143 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:04:47 +0000 (0:00:00.010) 0:00:03.154 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003989", "end": "2024-02-13 21:04:47.287243", "rc": 0, "start": "2024-02-13 21:04:47.283254" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:04:47 +0000 (0:00:00.262) 0:00:03.416 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:04:47 +0000 (0:00:00.012) 0:00:03.429 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:04:47 +0000 (0:00:00.011) 0:00:03.440 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:04:49 +0000 (0:00:02.265) 0:00:05.706 ****** 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.073510", "end": "2024-02-13 21:04:49.903468", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-13 21:04:49.829958" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004251", "end": "2024-02-13 21:04:50.209078", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-13 21:04:50.204827" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004297", "end": "2024-02-13 21:04:50.453499", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-13 21:04:50.449202" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:04:50 +0000 (0:00:00.874) 0:00:06.580 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.333747", "end": "2024-02-13 21:04:51.038587", "rc": 0, "start": "2024-02-13 21:04:50.704840" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:04:51 +0000 (0:00:00.585) 0:00:07.166 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:04:51 +0000 (0:00:00.009) 0:00:07.176 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:04:51 +0000 (0:00:00.009) 0:00:07.185 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:04:51 +0000 (0:00:00.010) 0:00:07.196 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:04:51 +0000 (0:00:00.010) 0:00:07.206 ****** 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_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 13 February 2024 21:04:51 +0000 (0:00:00.009) 0:00:07.216 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:04:51 +0000 (0:00:00.028) 0:00:07.244 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:04:51 +0000 (0:00:00.014) 0:00:07.258 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707858289.898797, "block_size": 4096, "blocks": 0, "ctime": 1707858289.898797, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26293, "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": 1707858289.898797, "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_rewritea61xhump/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:04:51 +0000 (0:00:00.251) 0:00:07.510 ****** 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_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 13 February 2024 21:04:51 +0000 (0:00:00.011) 0:00:07.521 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 21:04:51 +0000 (0:00:00.010) 0:00:07.531 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/.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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:04:51 +0000 (0:00:00.016) 0:00:07.547 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 21:04:51 +0000 (0:00:00.020) 0:00:07.568 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 21:04:51 +0000 (0:00:00.011) 0:00:07.580 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 21:04:51 +0000 (0:00:00.012) 0:00:07.593 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 21:04:53 +0000 (0:00:02.503) 0:00:10.097 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 21:04:55 +0000 (0:00:01.079) 0:00:11.176 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 21:04:55 +0000 (0:00:00.021) 0:00:11.198 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 21:04:55 +0000 (0:00:00.022) 0:00:11.221 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 21:04:55 +0000 (0:00:00.023) 0:00:11.244 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 21:04:55 +0000 (0:00:00.054) 0:00:11.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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 21:04:55 +0000 (0:00:00.047) 0:00:11.345 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 21:04:55 +0000 (0:00:00.022) 0:00:11.368 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 21:04:55 +0000 (0:00:00.033) 0:00:11.402 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 21:04:55 +0000 (0:00:00.663) 0:00:12.065 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 21:04:55 +0000 (0:00:00.035) 0:00:12.100 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 21:04:56 +0000 (0:00:00.020) 0:00:12.121 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 21:04:56 +0000 (0:00:00.021) 0:00:12.142 ****** 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, 329e3616-fd14-4ae1-9ce8-e32ffbcd0db8 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 329e3616-fd14-4ae1-9ce8-e32ffbcd0db8 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 21:04:56 +0000 (0:00:00.834) 0:00:12.977 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 21:04:56 +0000 (0:00:00.023) 0:00:13.001 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 329e3616-fd14-4ae1-9ce8-e32ffbcd0db8", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 329e3616-fd14-4ae1-9ce8-e32ffbcd0db8 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 21:04:56 +0000 (0:00:00.023) 0:00:13.024 ****** 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, 329e3616-fd14-4ae1-9ce8-e32ffbcd0db8\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 329e3616-fd14-4ae1-9ce8-e32ffbcd0db8 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 329e3616-fd14-4ae1-9ce8-e32ffbcd0db8", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 329e3616-fd14-4ae1-9ce8-e32ffbcd0db8 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 21:04:56 +0000 (0:00:00.024) 0:00:13.049 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 21:04:56 +0000 (0:00:00.024) 0:00:13.073 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 13 February 2024 21:04:57 +0000 (0:00:00.362) 0:00:13.436 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:04:57 +0000 (0:00:00.045) 0:00:13.482 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:04:57 +0000 (0:00:00.068) 0:00:13.551 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707858289.898797, "block_size": 4096, "blocks": 0, "ctime": 1707858289.898797, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26293, "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": 1707858289.898797, "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_rewritea61xhump/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:04:57 +0000 (0:00:00.262) 0:00:13.813 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 13 February 2024 21:04:57 +0000 (0:00:00.021) 0:00:13.835 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 21:04:57 +0000 (0:00:00.047) 0:00:13.882 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/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_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 21:04:57 +0000 (0:00:00.032) 0:00:13.915 ****** 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_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 21:04:57 +0000 (0:00:00.021) 0:00:13.936 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 21:04:58 +0000 (0:00:00.261) 0:00:14.197 ****** 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_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 21:04:58 +0000 (0:00:00.020) 0:00:14.218 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.174475", "end": "2024-02-13 21:04:58.516098", "rc": 0, "start": "2024-02-13 21:04:58.341623" } 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_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 21:04:58 +0000 (0:00:00.435) 0:00:14.654 ****** 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_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 21:04:58 +0000 (0:00:00.022) 0:00:14.676 ****** 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_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 21:04:58 +0000 (0:00:00.019) 0:00:14.696 ****** 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_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 21:04:58 +0000 (0:00:00.020) 0:00:14.716 ****** 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_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 21:04:58 +0000 (0:00:00.020) 0:00:14.736 ****** 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_rewritea61xhump/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 21:04:58 +0000 (0:00:00.019) 0:00:14.756 ****** 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_rewritea61xhump/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 21:04:58 +0000 (0:00:00.055) 0:00:14.812 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 21:04:58 +0000 (0:00:00.023) 0:00:14.835 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 13 February 2024 21:04:58 +0000 (0:00:00.022) 0:00:14.858 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004513", "end": "2024-02-13 21:04:58.987134", "rc": 0, "start": "2024-02-13 21:04:58.982621" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.237 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.237 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_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 13 February 2024 21:04:59 +0000 (0:00:00.266) 0:00:15.124 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 13 February 2024 21:04:59 +0000 (0:00:00.021) 0:00:15.146 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004237", "end": "2024-02-13 21:04:59.274608", "rc": 0, "start": "2024-02-13 21:04:59.270371" } 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_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 13 February 2024 21:04:59 +0000 (0:00:00.264) 0:00:15.410 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 13 February 2024 21:04:59 +0000 (0:00:00.022) 0:00:15.432 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 21:04:59 +0000 (0:00:00.021) 0:00:15.454 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/.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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:04:59 +0000 (0:00:00.035) 0:00:15.489 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 21:04:59 +0000 (0:00:00.033) 0:00:15.522 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 21:04:59 +0000 (0:00:00.022) 0:00:15.545 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 21:04:59 +0000 (0:00:00.022) 0:00:15.568 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 21:05:01 +0000 (0:00:02.384) 0:00:17.953 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 21:05:02 +0000 (0:00:00.950) 0:00:18.904 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 21:05:02 +0000 (0:00:00.023) 0:00:18.927 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 21:05:02 +0000 (0:00:00.023) 0:00:18.951 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 21:05:02 +0000 (0:00:00.025) 0:00:18.977 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 21:05:02 +0000 (0:00:00.055) 0:00:19.032 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 21:05:02 +0000 (0:00:00.024) 0:00:19.057 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 21:05:02 +0000 (0:00:00.022) 0:00:19.080 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 21:05:03 +0000 (0:00:00.034) 0:00:19.114 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 21:05:03 +0000 (0:00:00.501) 0:00:19.616 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 21:05:03 +0000 (0:00:00.037) 0:00:19.653 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 21:05:03 +0000 (0:00:00.021) 0:00:19.674 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 21:05:03 +0000 (0:00:00.020) 0:00:19.694 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 21:05:04 +0000 (0:00:00.540) 0:00:20.234 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 21:05:04 +0000 (0:00:00.024) 0:00:20.259 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 21:05:04 +0000 (0:00:00.024) 0:00:20.283 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 21:05:04 +0000 (0:00:00.025) 0:00:20.309 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 21:05:04 +0000 (0:00:00.064) 0:00:20.373 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 13 February 2024 21:05:04 +0000 (0:00:00.268) 0:00:20.641 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:05:04 +0000 (0:00:00.055) 0:00:20.696 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:05:04 +0000 (0:00:00.021) 0:00:20.717 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:05:04 +0000 (0:00:00.020) 0:00:20.738 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:05:04 +0000 (0:00:00.034) 0:00:20.773 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:05:04 +0000 (0:00:00.032) 0:00:20.805 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004062", "end": "2024-02-13 21:05:04.934641", "rc": 0, "start": "2024-02-13 21:05:04.930579" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:05:04 +0000 (0:00:00.266) 0:00:21.072 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:05:04 +0000 (0:00:00.022) 0:00:21.094 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:05:05 +0000 (0:00:00.022) 0:00:21.116 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:05:12 +0000 (0:00:07.421) 0:00:28.538 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:05:12 +0000 (0:00:00.026) 0:00:28.565 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:05:12 +0000 (0:00:00.057) 0:00:28.622 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012410", "end": "2024-02-13 21:05:12.766391", "rc": 0, "start": "2024-02-13 21:05:12.753981" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:05:12 +0000 (0:00:00.296) 0:00:28.919 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:05:12 +0000 (0:00:00.022) 0:00:28.941 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:05:12 +0000 (0:00:00.021) 0:00:28.963 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:05:12 +0000 (0:00:00.022) 0:00:28.985 ****** 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_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 13 February 2024 21:05:12 +0000 (0:00:00.028) 0:00:29.013 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 13 February 2024 21:05:12 +0000 (0:00:00.031) 0:00:29.045 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:05:12 +0000 (0:00:00.049) 0:00:29.095 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:05:13 +0000 (0:00:00.025) 0:00:29.120 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:05:13 +0000 (0:00:00.024) 0:00:29.145 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:05:13 +0000 (0:00:00.034) 0:00:29.179 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:05:13 +0000 (0:00:00.036) 0:00:29.215 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003966", "end": "2024-02-13 21:05:13.347123", "rc": 0, "start": "2024-02-13 21:05:13.343157" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:05:13 +0000 (0:00:00.267) 0:00:29.483 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:05:13 +0000 (0:00:00.058) 0:00:29.541 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:05:13 +0000 (0:00:00.021) 0:00:29.563 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:05:15 +0000 (0:00:02.233) 0:00:31.797 ****** 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.008500", "end": "2024-02-13 21:05:15.968001", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-13 21:05:15.959501" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004314", "end": "2024-02-13 21:05:16.274897", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-13 21:05:16.270583" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004206", "end": "2024-02-13 21:05:16.523486", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-13 21:05:16.519280" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:05:16 +0000 (0:00:00.875) 0:00:32.673 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023990", "end": "2024-02-13 21:05:16.830235", "rc": 0, "start": "2024-02-13 21:05:16.806245" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:05:16 +0000 (0:00:00.297) 0:00:32.971 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:05:16 +0000 (0:00:00.024) 0:00:32.995 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:05:16 +0000 (0:00:00.022) 0:00:33.017 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:05:16 +0000 (0:00:00.020) 0:00:33.038 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:05:16 +0000 (0:00:00.021) 0:00:33.060 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 21:05:16 +0000 (0:00:00.020) 0:00:33.080 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/.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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:05:17 +0000 (0:00:00.036) 0:00:33.117 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 21:05:17 +0000 (0:00:00.034) 0:00:33.151 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 21:05:17 +0000 (0:00:00.023) 0:00:33.174 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 21:05:17 +0000 (0:00:00.023) 0:00:33.198 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 21:05:19 +0000 (0:00:02.451) 0:00:35.650 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 21:05:20 +0000 (0:00:00.947) 0:00:36.597 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 21:05:20 +0000 (0:00:00.023) 0:00:36.621 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 21:05:20 +0000 (0:00:00.023) 0:00:36.645 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 21:05:20 +0000 (0:00:00.023) 0:00:36.668 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 21:05:20 +0000 (0:00:00.054) 0:00:36.723 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 21:05:20 +0000 (0:00:00.025) 0:00:36.748 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 21:05:20 +0000 (0:00:00.023) 0:00:36.772 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 21:05:20 +0000 (0:00:00.036) 0:00:36.808 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 21:05:21 +0000 (0:00:00.518) 0:00:37.327 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 21:05:21 +0000 (0:00:00.035) 0:00:37.363 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 21:05:21 +0000 (0:00:00.021) 0:00:37.384 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 21:05:21 +0000 (0:00:00.021) 0:00:37.406 ****** 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, 88023245-e6ac-40b7-a2ef-b83d28900c98 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 88023245-e6ac-40b7-a2ef-b83d28900c98 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 21:05:21 +0000 (0:00:00.557) 0:00:37.963 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 21:05:21 +0000 (0:00:00.023) 0:00:37.986 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 88023245-e6ac-40b7-a2ef-b83d28900c98", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 88023245-e6ac-40b7-a2ef-b83d28900c98 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 21:05:21 +0000 (0:00:00.059) 0:00:38.046 ****** 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, 88023245-e6ac-40b7-a2ef-b83d28900c98\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 88023245-e6ac-40b7-a2ef-b83d28900c98 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 88023245-e6ac-40b7-a2ef-b83d28900c98", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 88023245-e6ac-40b7-a2ef-b83d28900c98 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 21:05:21 +0000 (0:00:00.023) 0:00:38.069 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 21:05:21 +0000 (0:00:00.024) 0:00:38.094 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 13 February 2024 21:05:22 +0000 (0:00:00.272) 0:00:38.366 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:05:22 +0000 (0:00:00.049) 0:00:38.416 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:05:22 +0000 (0:00:00.032) 0:00:38.448 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707858315.9643393, "block_size": 4096, "blocks": 0, "ctime": 1707858315.9643393, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26879, "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": 1707858315.9643393, "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_rewritea61xhump/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:05:22 +0000 (0:00:00.269) 0:00:38.717 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 13 February 2024 21:05:22 +0000 (0:00:00.022) 0:00:38.739 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 21:05:22 +0000 (0:00:00.048) 0:00:38.788 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/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_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 21:05:22 +0000 (0:00:00.032) 0:00:38.821 ****** 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_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 21:05:22 +0000 (0:00:00.020) 0:00:38.842 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 21:05:23 +0000 (0:00:00.297) 0:00:39.139 ****** 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_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 21:05:23 +0000 (0:00:00.019) 0:00:39.159 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023773", "end": "2024-02-13 21:05:23.311109", "rc": 0, "start": "2024-02-13 21:05:23.287336" } 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_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 21:05:23 +0000 (0:00:00.289) 0:00:39.449 ****** 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_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 21:05:23 +0000 (0:00:00.024) 0:00:39.473 ****** 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_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 21:05:23 +0000 (0:00:00.021) 0:00:39.494 ****** 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_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 21:05:23 +0000 (0:00:00.021) 0:00:39.515 ****** 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_rewritea61xhump/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 21:05:23 +0000 (0:00:00.022) 0:00:39.537 ****** 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_rewritea61xhump/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 21:05:23 +0000 (0:00:00.020) 0:00:39.558 ****** 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_rewritea61xhump/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 21:05:23 +0000 (0:00:00.024) 0:00:39.582 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 21:05:23 +0000 (0:00:00.025) 0:00:39.608 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 13 February 2024 21:05:23 +0000 (0:00:00.023) 0:00:39.631 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004278", "end": "2024-02-13 21:05:23.762524", "rc": 0, "start": "2024-02-13 21:05:23.758246" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.237 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.237 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_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 13 February 2024 21:05:23 +0000 (0:00:00.269) 0:00:39.900 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 13 February 2024 21:05:23 +0000 (0:00:00.023) 0:00:39.924 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004275", "end": "2024-02-13 21:05:24.055908", "rc": 0, "start": "2024-02-13 21:05:24.051633" } 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_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 13 February 2024 21:05:24 +0000 (0:00:00.272) 0:00:40.196 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 13 February 2024 21:05:24 +0000 (0:00:00.024) 0:00:40.221 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 21:05:24 +0000 (0:00:00.024) 0:00:40.245 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/.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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:05:24 +0000 (0:00:00.076) 0:00:40.321 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 21:05:24 +0000 (0:00:00.036) 0:00:40.358 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 21:05:24 +0000 (0:00:00.031) 0:00:40.389 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 21:05:24 +0000 (0:00:00.028) 0:00:40.418 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 21:05:26 +0000 (0:00:02.453) 0:00:42.871 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 21:05:27 +0000 (0:00:00.883) 0:00:43.754 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 21:05:27 +0000 (0:00:00.027) 0:00:43.781 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 21:05:27 +0000 (0:00:00.026) 0:00:43.808 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 21:05:27 +0000 (0:00:00.023) 0:00:43.831 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 21:05:27 +0000 (0:00:00.055) 0:00:43.887 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 21:05:27 +0000 (0:00:00.025) 0:00:43.913 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 21:05:27 +0000 (0:00:00.025) 0:00:43.939 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 21:05:27 +0000 (0:00:00.038) 0:00:43.977 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 21:05:28 +0000 (0:00:00.561) 0:00:44.539 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 21:05:28 +0000 (0:00:00.036) 0:00:44.576 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 21:05:28 +0000 (0:00:00.020) 0:00:44.597 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 21:05:28 +0000 (0:00:00.022) 0:00:44.619 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 21:05:29 +0000 (0:00:00.604) 0:00:45.224 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 21:05:29 +0000 (0:00:00.030) 0:00:45.254 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 21:05:29 +0000 (0:00:00.027) 0:00:45.281 ****** 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_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 21:05:29 +0000 (0:00:00.023) 0:00:45.305 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 21:05:29 +0000 (0:00:00.031) 0:00:45.337 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 13 February 2024 21:05:29 +0000 (0:00:00.274) 0:00:45.612 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:05:29 +0000 (0:00:00.060) 0:00:45.672 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:05:29 +0000 (0:00:00.020) 0:00:45.693 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:05:29 +0000 (0:00:00.021) 0:00:45.714 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:05:29 +0000 (0:00:00.077) 0:00:45.792 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:05:29 +0000 (0:00:00.036) 0:00:45.828 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004224", "end": "2024-02-13 21:05:29.964902", "rc": 0, "start": "2024-02-13 21:05:29.960678" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:05:30 +0000 (0:00:00.274) 0:00:46.103 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:05:30 +0000 (0:00:00.022) 0:00:46.125 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:05:30 +0000 (0:00:00.023) 0:00:46.149 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:05:32 +0000 (0:00:02.167) 0:00:48.317 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:05:32 +0000 (0:00:00.028) 0:00:48.346 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:05:32 +0000 (0:00:00.021) 0:00:48.367 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.019988", "end": "2024-02-13 21:05:32.515953", "rc": 0, "start": "2024-02-13 21:05:32.495965" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:05:32 +0000 (0:00:00.293) 0:00:48.661 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:05:32 +0000 (0:00:00.021) 0:00:48.682 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:05:32 +0000 (0:00:00.022) 0:00:48.705 ****** 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_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:05:32 +0000 (0:00:00.023) 0:00:48.729 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:153 Tuesday 13 February 2024 21:05:32 +0000 (0:00:00.021) 0:00:48.750 ****** included: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 21:05:32 +0000 (0:00:00.065) 0:00:48.816 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :_\nfi\n", "delta": "0:00:00.010007", "end": "2024-02-13 21:05:32.949334", "rc": 0, "start": "2024-02-13 21:05:32.939327" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:9d:72:74:4d:bb brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.42.237/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2892sec preferred_lft 2892sec inet6 fe80::7bd:8a39:cf83:a363/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.237 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.237 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 13 February 2024 21:05:33 +0000 (0:00:00.313) 0:00:49.129 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=127 changed=4 unreachable=0 failed=0 skipped=103 rescued=0 ignored=0 Tuesday 13 February 2024 21:05:33 +0000 (0:00:00.059) 0:00:49.189 ****** =============================================================================== Install iproute --------------------------------------------------------- 7.42s /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.50s /WORKDIR/git-bond_options_rewritea61xhump/.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.45s /WORKDIR/git-bond_options_rewritea61xhump/.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.45s /WORKDIR/git-bond_options_rewritea61xhump/.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.39s /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.27s /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.23s /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.17s /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.08s /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.05s /WORKDIR/git-bond_options_rewritea61xhump/tests/tests_auto_gateway_nm.yml:6 --- fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /WORKDIR/git-bond_options_rewritea61xhump/.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.95s /WORKDIR/git-bond_options_rewritea61xhump/.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.88s /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 0.88s /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 0.87s /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.83s /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Gathering Facts --------------------------------------------------------- 0.81s /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tests_auto_gateway.yml:3 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.66s /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.60s /WORKDIR/git-bond_options_rewritea61xhump/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Set up veth as managed by NetworkManager -------------------------------- 0.59s /WORKDIR/git-bond_options_rewritea61xhump/tests/playbooks/tasks/manage_test_interface.yml:35 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---