# 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_rewriteea6mfkf7/.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_rewriteea6mfkf7/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_rewriteea6mfkf7/tests/tests_auto_gateway_nm.yml:6 Friday 09 February 2024 21:18:28 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/tests_auto_gateway_nm.yml:9 Friday 09 February 2024 21:18:29 +0000 (0:00:00.993) 0:00:01.006 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/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_rewriteea6mfkf7/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 21:18:29 +0000 (0:00:00.019) 0:00:01.026 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/tasks/el_repo_setup.yml:17 Friday 09 February 2024 21:18:29 +0000 (0:00:00.434) 0:00:01.460 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/tasks/el_repo_setup.yml:22 Friday 09 February 2024 21:18:30 +0000 (0:00:00.302) 0:00:01.763 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/tasks/el_repo_setup.yml:26 Friday 09 February 2024 21:18:30 +0000 (0:00:00.015) 0:00:01.778 ******* 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_rewriteea6mfkf7/tests/tasks/el_repo_setup.yml:51 Friday 09 February 2024 21:18:30 +0000 (0:00:00.009) 0:00:01.787 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 21:18:30 +0000 (0:00:00.027) 0:00:01.815 ******* 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_rewriteea6mfkf7/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 21:18:30 +0000 (0:00:00.009) 0:00:01.824 ******* 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_rewriteea6mfkf7/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 21:18:30 +0000 (0:00:00.009) 0:00:01.834 ******* 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_rewriteea6mfkf7/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 21:18:30 +0000 (0:00:00.008) 0:00:01.842 ******* 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_rewriteea6mfkf7/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 21:18:30 +0000 (0:00:00.008) 0:00:01.850 ******* 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_rewriteea6mfkf7/tests/tests_auto_gateway_nm.yml:11 Friday 09 February 2024 21:18:30 +0000 (0:00:00.009) 0:00:01.860 ******* 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_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:3 Friday 09 February 2024 21:18:30 +0000 (0:00:00.020) 0:00:01.880 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:9 Friday 09 February 2024 21:18:30 +0000 (0:00:00.776) 0:00:02.656 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 21:18:30 +0000 (0:00:00.024) 0:00:02.680 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 21:18:30 +0000 (0:00:00.012) 0:00:02.693 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003820", "end": "2024-02-09 21:18:31.218216", "rc": 0, "start": "2024-02-09 21:18:31.214396" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 21:18:31 +0000 (0:00:00.307) 0:00:03.001 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 21:18:31 +0000 (0:00:00.011) 0:00:03.013 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:11 Friday 09 February 2024 21:18:31 +0000 (0:00:00.011) 0:00:03.025 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 21:18:31 +0000 (0:00:00.028) 0:00:03.053 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 21:18:31 +0000 (0:00:00.019) 0:00:03.072 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 21:18:31 +0000 (0:00:00.013) 0:00:03.086 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 21:18:31 +0000 (0:00:00.018) 0:00:03.104 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 21:18:31 +0000 (0:00:00.012) 0:00:03.117 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003912", "end": "2024-02-09 21:18:31.580321", "rc": 0, "start": "2024-02-09 21:18:31.576409" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 21:18:31 +0000 (0:00:00.246) 0:00:03.364 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 21:18:31 +0000 (0:00:00.015) 0:00:03.380 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 21:18:31 +0000 (0:00:00.012) 0:00:03.392 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 09 February 2024 21:18:33 +0000 (0:00:02.180) 0:00:05.573 ******* 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.042952", "end": "2024-02-09 21:18:34.081589", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-09 21:18:34.038637" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004319", "end": "2024-02-09 21:18:34.384715", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-09 21:18:34.380396" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004493", "end": "2024-02-09 21:18:34.622445", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-09 21:18:34.617952" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 09 February 2024 21:18:34 +0000 (0:00:00.833) 0:00:06.407 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.143762", "end": "2024-02-09 21:18:35.012898", "rc": 0, "start": "2024-02-09 21:18:34.869136" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 09 February 2024 21:18:35 +0000 (0:00:00.391) 0:00:06.798 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 09 February 2024 21:18:35 +0000 (0:00:00.011) 0:00:06.809 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 09 February 2024 21:18:35 +0000 (0:00:00.011) 0:00:06.821 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 09 February 2024 21:18:35 +0000 (0:00:00.011) 0:00:06.832 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 21:18:35 +0000 (0:00:00.010) 0:00:06.843 ******* 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_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:15 Friday 09 February 2024 21:18:35 +0000 (0:00:00.010) 0:00:06.853 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 21:18:35 +0000 (0:00:00.026) 0:00:06.880 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 21:18:35 +0000 (0:00:00.014) 0:00:06.895 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707513514.0796556, "block_size": 4096, "blocks": 0, "ctime": 1707513514.0796556, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26337, "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": 1707513514.0796556, "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_rewriteea6mfkf7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 21:18:35 +0000 (0:00:00.239) 0:00:07.134 ******* 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_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:17 Friday 09 February 2024 21:18:35 +0000 (0:00:00.013) 0:00:07.147 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 21:18:35 +0000 (0:00:00.012) 0:00:07.159 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/.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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 21:18:35 +0000 (0:00:00.019) 0:00:07.179 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 21:18:35 +0000 (0:00:00.024) 0:00:07.203 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 21:18:35 +0000 (0:00:00.014) 0:00:07.217 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 21:18:35 +0000 (0:00:00.015) 0:00:07.233 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 21:18:37 +0000 (0:00:02.403) 0:00:09.636 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 21:18:38 +0000 (0:00:01.084) 0:00:10.721 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 21:18:38 +0000 (0:00:00.025) 0:00:10.746 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 21:18:39 +0000 (0:00:00.026) 0:00:10.773 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 21:18:39 +0000 (0:00:00.024) 0:00:10.797 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 21:18:39 +0000 (0:00:00.058) 0:00:10.856 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 21:18:39 +0000 (0:00:00.064) 0:00:10.920 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 21:18:39 +0000 (0:00:00.025) 0:00:10.946 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 21:18:39 +0000 (0:00:00.039) 0:00:10.985 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 21:18:39 +0000 (0:00:00.681) 0:00:11.666 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 21:18:39 +0000 (0:00:00.040) 0:00:11.707 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 21:18:39 +0000 (0:00:00.034) 0:00:11.741 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 21:18:40 +0000 (0:00:00.025) 0:00:11.767 ******* 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, 83d81d54-b51b-4670-b3be-adee320d1819 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 83d81d54-b51b-4670-b3be-adee320d1819 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 21:18:40 +0000 (0:00:00.957) 0:00:12.725 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 21:18:40 +0000 (0:00:00.025) 0:00:12.751 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 83d81d54-b51b-4670-b3be-adee320d1819", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 83d81d54-b51b-4670-b3be-adee320d1819 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 21:18:41 +0000 (0:00:00.028) 0:00:12.779 ******* 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, 83d81d54-b51b-4670-b3be-adee320d1819\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 83d81d54-b51b-4670-b3be-adee320d1819 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 83d81d54-b51b-4670-b3be-adee320d1819", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 83d81d54-b51b-4670-b3be-adee320d1819 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 21:18:41 +0000 (0:00:00.027) 0:00:12.807 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 21:18:41 +0000 (0:00:00.027) 0:00:12.835 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:42 Friday 09 February 2024 21:18:41 +0000 (0:00:00.385) 0:00:13.220 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 21:18:41 +0000 (0:00:00.058) 0:00:13.278 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 21:18:41 +0000 (0:00:00.084) 0:00:13.363 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707513514.0796556, "block_size": 4096, "blocks": 0, "ctime": 1707513514.0796556, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26337, "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": 1707513514.0796556, "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_rewriteea6mfkf7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 21:18:41 +0000 (0:00:00.260) 0:00:13.624 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:44 Friday 09 February 2024 21:18:41 +0000 (0:00:00.024) 0:00:13.648 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 21:18:41 +0000 (0:00:00.047) 0:00:13.696 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/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_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 21:18:41 +0000 (0:00:00.037) 0:00:13.733 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 21:18:41 +0000 (0:00:00.022) 0:00:13.756 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 21:18:42 +0000 (0:00:00.252) 0:00:14.008 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 21:18:42 +0000 (0:00:00.021) 0:00:14.030 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.091042", "end": "2024-02-09 21:18:42.581401", "rc": 0, "start": "2024-02-09 21:18:42.490359" } 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_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 21:18:42 +0000 (0:00:00.346) 0:00:14.376 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 21:18:42 +0000 (0:00:00.025) 0:00:14.402 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 21:18:42 +0000 (0:00:00.026) 0:00:14.429 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 21:18:42 +0000 (0:00:00.022) 0:00:14.452 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 21:18:42 +0000 (0:00:00.021) 0:00:14.473 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 21:18:42 +0000 (0:00:00.022) 0:00:14.495 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 21:18:42 +0000 (0:00:00.065) 0:00:14.561 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 21:18:42 +0000 (0:00:00.026) 0:00:14.587 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:48 Friday 09 February 2024 21:18:42 +0000 (0:00:00.025) 0:00:14.613 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004039", "end": "2024-02-09 21:18:43.077242", "rc": 0, "start": "2024-02-09 21:18:43.073203" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.89 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.40.89 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_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:52 Friday 09 February 2024 21:18:43 +0000 (0:00:00.264) 0:00:14.877 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:58 Friday 09 February 2024 21:18:43 +0000 (0:00:00.027) 0:00:14.905 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004119", "end": "2024-02-09 21:18:43.374489", "rc": 0, "start": "2024-02-09 21:18:43.370370" } 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_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:62 Friday 09 February 2024 21:18:43 +0000 (0:00:00.262) 0:00:15.168 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:69 Friday 09 February 2024 21:18:43 +0000 (0:00:00.025) 0:00:15.193 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 21:18:43 +0000 (0:00:00.026) 0:00:15.219 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/.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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 21:18:43 +0000 (0:00:00.051) 0:00:15.271 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 21:18:43 +0000 (0:00:00.042) 0:00:15.313 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 21:18:43 +0000 (0:00:00.024) 0:00:15.338 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 21:18:43 +0000 (0:00:00.024) 0:00:15.363 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 21:18:45 +0000 (0:00:02.328) 0:00:17.692 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 21:18:46 +0000 (0:00:00.924) 0:00:18.617 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 21:18:46 +0000 (0:00:00.025) 0:00:18.642 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 21:18:46 +0000 (0:00:00.025) 0:00:18.667 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 21:18:46 +0000 (0:00:00.023) 0:00:18.691 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 21:18:46 +0000 (0:00:00.058) 0:00:18.749 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 21:18:47 +0000 (0:00:00.024) 0:00:18.774 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 21:18:47 +0000 (0:00:00.025) 0:00:18.799 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 21:18:47 +0000 (0:00:00.039) 0:00:18.839 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 21:18:47 +0000 (0:00:00.479) 0:00:19.318 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 21:18:47 +0000 (0:00:00.039) 0:00:19.357 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 21:18:47 +0000 (0:00:00.022) 0:00:19.379 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 21:18:47 +0000 (0:00:00.023) 0:00:19.403 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 21:18:48 +0000 (0:00:00.530) 0:00:19.934 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 21:18:48 +0000 (0:00:00.026) 0:00:19.960 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 21:18:48 +0000 (0:00:00.025) 0:00:19.986 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 21:18:48 +0000 (0:00:00.025) 0:00:20.011 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 21:18:48 +0000 (0:00:00.073) 0:00:20.085 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:81 Friday 09 February 2024 21:18:48 +0000 (0:00:00.262) 0:00:20.347 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 21:18:48 +0000 (0:00:00.069) 0:00:20.417 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 21:18:48 +0000 (0:00:00.043) 0:00:20.461 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 21:18:48 +0000 (0:00:00.027) 0:00:20.488 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 21:18:48 +0000 (0:00:00.037) 0:00:20.526 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 21:18:48 +0000 (0:00:00.035) 0:00:20.561 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003994", "end": "2024-02-09 21:18:49.026306", "rc": 0, "start": "2024-02-09 21:18:49.022312" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 21:18:49 +0000 (0:00:00.259) 0:00:20.820 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 21:18:49 +0000 (0:00:00.023) 0:00:20.844 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 21:18:49 +0000 (0:00:00.024) 0:00:20.868 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 09 February 2024 21:18:51 +0000 (0:00:02.055) 0:00:22.924 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 09 February 2024 21:18:51 +0000 (0:00:00.030) 0:00:22.955 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 09 February 2024 21:18:51 +0000 (0:00:00.068) 0:00:23.023 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.020724", "end": "2024-02-09 21:18:51.505788", "rc": 0, "start": "2024-02-09 21:18:51.485064" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 09 February 2024 21:18:51 +0000 (0:00:00.279) 0:00:23.302 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 09 February 2024 21:18:51 +0000 (0:00:00.024) 0:00:23.327 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 09 February 2024 21:18:51 +0000 (0:00:00.023) 0:00:23.350 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 21:18:51 +0000 (0:00:00.024) 0:00:23.375 ******* 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_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:85 Friday 09 February 2024 21:18:51 +0000 (0:00:00.035) 0:00:23.410 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:89 Friday 09 February 2024 21:18:51 +0000 (0:00:00.027) 0:00:23.438 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 21:18:51 +0000 (0:00:00.066) 0:00:23.504 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 21:18:51 +0000 (0:00:00.024) 0:00:23.529 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 21:18:51 +0000 (0:00:00.026) 0:00:23.556 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 21:18:51 +0000 (0:00:00.039) 0:00:23.595 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 21:18:51 +0000 (0:00:00.036) 0:00:23.631 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003852", "end": "2024-02-09 21:18:52.096489", "rc": 0, "start": "2024-02-09 21:18:52.092637" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 21:18:52 +0000 (0:00:00.259) 0:00:23.891 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 21:18:52 +0000 (0:00:00.063) 0:00:23.955 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 21:18:52 +0000 (0:00:00.023) 0:00:23.978 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 09 February 2024 21:18:54 +0000 (0:00:02.315) 0:00:26.294 ******* 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.006987", "end": "2024-02-09 21:18:54.770196", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-09 21:18:54.763209" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003952", "end": "2024-02-09 21:18:55.071784", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-09 21:18:55.067832" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003973", "end": "2024-02-09 21:18:55.309274", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-09 21:18:55.305301" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 09 February 2024 21:18:55 +0000 (0:00:00.811) 0:00:27.105 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022307", "end": "2024-02-09 21:18:55.588008", "rc": 0, "start": "2024-02-09 21:18:55.565701" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 09 February 2024 21:18:55 +0000 (0:00:00.279) 0:00:27.384 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 09 February 2024 21:18:55 +0000 (0:00:00.025) 0:00:27.409 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 09 February 2024 21:18:55 +0000 (0:00:00.026) 0:00:27.436 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 09 February 2024 21:18:55 +0000 (0:00:00.022) 0:00:27.459 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 21:18:55 +0000 (0:00:00.022) 0:00:27.481 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 21:18:55 +0000 (0:00:00.023) 0:00:27.505 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/.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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 21:18:55 +0000 (0:00:00.039) 0:00:27.545 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 21:18:55 +0000 (0:00:00.038) 0:00:27.584 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 21:18:55 +0000 (0:00:00.025) 0:00:27.609 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 21:18:55 +0000 (0:00:00.025) 0:00:27.634 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 21:18:58 +0000 (0:00:02.341) 0:00:29.976 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 21:18:59 +0000 (0:00:00.956) 0:00:30.933 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 21:18:59 +0000 (0:00:00.028) 0:00:30.961 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 21:18:59 +0000 (0:00:00.024) 0:00:30.986 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 21:18:59 +0000 (0:00:00.024) 0:00:31.011 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 21:18:59 +0000 (0:00:00.057) 0:00:31.068 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 21:18:59 +0000 (0:00:00.027) 0:00:31.096 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 21:18:59 +0000 (0:00:00.025) 0:00:31.121 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 21:18:59 +0000 (0:00:00.041) 0:00:31.162 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 21:18:59 +0000 (0:00:00.470) 0:00:31.633 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 21:18:59 +0000 (0:00:00.037) 0:00:31.670 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 21:18:59 +0000 (0:00:00.021) 0:00:31.692 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 21:18:59 +0000 (0:00:00.022) 0:00:31.714 ******* 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, 816145b7-5766-4046-a046-d0fda0c65ad0 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 816145b7-5766-4046-a046-d0fda0c65ad0 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 21:19:00 +0000 (0:00:00.548) 0:00:32.263 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 21:19:00 +0000 (0:00:00.024) 0:00:32.287 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 816145b7-5766-4046-a046-d0fda0c65ad0", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 816145b7-5766-4046-a046-d0fda0c65ad0 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 21:19:00 +0000 (0:00:00.067) 0:00:32.354 ******* 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, 816145b7-5766-4046-a046-d0fda0c65ad0\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 816145b7-5766-4046-a046-d0fda0c65ad0 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 816145b7-5766-4046-a046-d0fda0c65ad0", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 816145b7-5766-4046-a046-d0fda0c65ad0 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 21:19:00 +0000 (0:00:00.025) 0:00:32.380 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 21:19:00 +0000 (0:00:00.025) 0:00:32.406 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:110 Friday 09 February 2024 21:19:00 +0000 (0:00:00.258) 0:00:32.665 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 21:19:00 +0000 (0:00:00.051) 0:00:32.716 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 21:19:00 +0000 (0:00:00.033) 0:00:32.750 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707513534.7673812, "block_size": 4096, "blocks": 0, "ctime": 1707513534.7673812, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26923, "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": 1707513534.7673812, "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_rewriteea6mfkf7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 21:19:01 +0000 (0:00:00.246) 0:00:32.996 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:112 Friday 09 February 2024 21:19:01 +0000 (0:00:00.025) 0:00:33.022 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 21:19:01 +0000 (0:00:00.051) 0:00:33.074 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/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_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 21:19:01 +0000 (0:00:00.037) 0:00:33.112 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 21:19:01 +0000 (0:00:00.022) 0:00:33.135 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 21:19:01 +0000 (0:00:00.309) 0:00:33.444 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 21:19:01 +0000 (0:00:00.023) 0:00:33.467 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023240", "end": "2024-02-09 21:19:01.952776", "rc": 0, "start": "2024-02-09 21:19:01.929536" } 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_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 21:19:01 +0000 (0:00:00.279) 0:00:33.747 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 21:19:02 +0000 (0:00:00.023) 0:00:33.770 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 21:19:02 +0000 (0:00:00.020) 0:00:33.791 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 21:19:02 +0000 (0:00:00.022) 0:00:33.814 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 21:19:02 +0000 (0:00:00.023) 0:00:33.838 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 21:19:02 +0000 (0:00:00.022) 0:00:33.860 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 21:19:02 +0000 (0:00:00.025) 0:00:33.885 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 21:19:02 +0000 (0:00:00.026) 0:00:33.912 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:116 Friday 09 February 2024 21:19:02 +0000 (0:00:00.024) 0:00:33.937 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004259", "end": "2024-02-09 21:19:02.402937", "rc": 0, "start": "2024-02-09 21:19:02.398678" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.89 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.89 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_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:120 Friday 09 February 2024 21:19:02 +0000 (0:00:00.262) 0:00:34.200 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:126 Friday 09 February 2024 21:19:02 +0000 (0:00:00.025) 0:00:34.225 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003983", "end": "2024-02-09 21:19:02.686594", "rc": 0, "start": "2024-02-09 21:19:02.682611" } 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_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:130 Friday 09 February 2024 21:19:02 +0000 (0:00:00.254) 0:00:34.480 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:137 Friday 09 February 2024 21:19:02 +0000 (0:00:00.024) 0:00:34.504 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 09 February 2024 21:19:02 +0000 (0:00:00.023) 0:00:34.528 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/.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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 09 February 2024 21:19:02 +0000 (0:00:00.084) 0:00:34.613 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 09 February 2024 21:19:02 +0000 (0:00:00.036) 0:00:34.650 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 09 February 2024 21:19:02 +0000 (0:00:00.025) 0:00:34.675 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 09 February 2024 21:19:02 +0000 (0:00:00.028) 0:00:34.703 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 09 February 2024 21:19:05 +0000 (0:00:02.367) 0:00:37.071 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 09 February 2024 21:19:06 +0000 (0:00:00.846) 0:00:37.917 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 09 February 2024 21:19:06 +0000 (0:00:00.030) 0:00:37.948 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 09 February 2024 21:19:06 +0000 (0:00:00.044) 0:00:37.992 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 09 February 2024 21:19:06 +0000 (0:00:00.040) 0:00:38.032 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Friday 09 February 2024 21:19:06 +0000 (0:00:00.071) 0:00:38.104 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Friday 09 February 2024 21:19:06 +0000 (0:00:00.035) 0:00:38.140 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Friday 09 February 2024 21:19:06 +0000 (0:00:00.030) 0:00:38.171 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Friday 09 February 2024 21:19:06 +0000 (0:00:00.053) 0:00:38.224 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Friday 09 February 2024 21:19:07 +0000 (0:00:00.553) 0:00:38.778 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Friday 09 February 2024 21:19:07 +0000 (0:00:00.041) 0:00:38.819 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Friday 09 February 2024 21:19:07 +0000 (0:00:00.027) 0:00:38.847 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Friday 09 February 2024 21:19:07 +0000 (0:00:00.021) 0:00:38.869 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Friday 09 February 2024 21:19:07 +0000 (0:00:00.526) 0:00:39.395 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Friday 09 February 2024 21:19:07 +0000 (0:00:00.029) 0:00:39.425 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Friday 09 February 2024 21:19:07 +0000 (0:00:00.026) 0:00:39.452 ******* 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_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Friday 09 February 2024 21:19:07 +0000 (0:00:00.024) 0:00:39.477 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Friday 09 February 2024 21:19:07 +0000 (0:00:00.028) 0:00:39.505 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:149 Friday 09 February 2024 21:19:08 +0000 (0:00:00.263) 0:00:39.769 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 21:19:08 +0000 (0:00:00.052) 0:00:39.822 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 21:19:08 +0000 (0:00:00.021) 0:00:39.844 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 21:19:08 +0000 (0:00:00.019) 0:00:39.864 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 21:19:08 +0000 (0:00:00.076) 0:00:39.940 ******* included: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 21:19:08 +0000 (0:00:00.033) 0:00:39.973 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003901", "end": "2024-02-09 21:19:08.439404", "rc": 0, "start": "2024-02-09 21:19:08.435503" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 21:19:08 +0000 (0:00:00.260) 0:00:40.234 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 21:19:08 +0000 (0:00:00.023) 0:00:40.258 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 21:19:08 +0000 (0:00:00.023) 0:00:40.281 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:27 Friday 09 February 2024 21:19:10 +0000 (0:00:02.071) 0:00:42.353 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:35 Friday 09 February 2024 21:19:10 +0000 (0:00:00.038) 0:00:42.391 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:43 Friday 09 February 2024 21:19:10 +0000 (0:00:00.022) 0:00:42.414 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.021314", "end": "2024-02-09 21:19:10.897394", "rc": 0, "start": "2024-02-09 21:19:10.876080" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:49 Friday 09 February 2024 21:19:10 +0000 (0:00:00.280) 0:00:42.695 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:54 Friday 09 February 2024 21:19:10 +0000 (0:00:00.022) 0:00:42.717 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:60 Friday 09 February 2024 21:19:10 +0000 (0:00:00.026) 0:00:42.743 ******* 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_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 21:19:11 +0000 (0:00:00.023) 0:00:42.767 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Friday 09 February 2024 21:19:11 +0000 (0:00:00.056) 0:00:42.823 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.40s /WORKDIR/git-bond_options_rewriteea6mfkf7/.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.37s /WORKDIR/git-bond_options_rewriteea6mfkf7/.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.34s /WORKDIR/git-bond_options_rewriteea6mfkf7/.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.33s /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.32s /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.18s /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.07s /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.06s /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.08s /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.99s /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/tests_auto_gateway_nm.yml:6 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.96s /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /WORKDIR/git-bond_options_rewriteea6mfkf7/.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.92s /WORKDIR/git-bond_options_rewriteea6mfkf7/.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.85s /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 0.83s /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 0.81s /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-bond_options_rewriteea6mfkf7/tests/playbooks/tests_auto_gateway.yml:3 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.68s /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.55s /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.55s /WORKDIR/git-bond_options_rewriteea6mfkf7/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---