# 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_rewritev5xe9ek9/.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_rewritev5xe9ek9/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_rewritev5xe9ek9/tests/tests_auto_gateway_nm.yml:6 Tuesday 13 February 2024 13:49:04 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/tests_auto_gateway_nm.yml:9 Tuesday 13 February 2024 13:49:05 +0000 (0:00:01.029) 0:00:01.040 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/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_rewritev5xe9ek9/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 13:49:05 +0000 (0:00:00.011) 0:00:01.051 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/tasks/el_repo_setup.yml:17 Tuesday 13 February 2024 13:49:06 +0000 (0:00:00.420) 0:00:01.471 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/tasks/el_repo_setup.yml:22 Tuesday 13 February 2024 13:49:06 +0000 (0:00:00.295) 0:00:01.767 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/tasks/el_repo_setup.yml:26 Tuesday 13 February 2024 13:49:06 +0000 (0:00:00.013) 0:00:01.780 ****** 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_rewritev5xe9ek9/tests/tasks/el_repo_setup.yml:51 Tuesday 13 February 2024 13:49:06 +0000 (0:00:00.007) 0:00:01.788 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 13:49:06 +0000 (0:00:00.020) 0:00:01.809 ****** 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_rewritev5xe9ek9/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 13:49:06 +0000 (0:00:00.007) 0:00:01.817 ****** 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_rewritev5xe9ek9/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 13:49:06 +0000 (0:00:00.007) 0:00:01.824 ****** 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_rewritev5xe9ek9/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 13:49:06 +0000 (0:00:00.007) 0:00:01.831 ****** 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_rewritev5xe9ek9/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 13:49:06 +0000 (0:00:00.007) 0:00:01.838 ****** 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_rewritev5xe9ek9/tests/tests_auto_gateway_nm.yml:11 Tuesday 13 February 2024 13:49:06 +0000 (0:00:00.006) 0:00:01.845 ****** 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_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 13 February 2024 13:49:06 +0000 (0:00:00.015) 0:00:01.860 ****** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 13 February 2024 13:49:07 +0000 (0:00:00.774) 0:00:02.635 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 13:49:07 +0000 (0:00:00.022) 0:00:02.657 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 13:49:07 +0000 (0:00:00.010) 0:00:02.667 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003805", "end": "2024-02-13 13:49:07.517218", "rc": 0, "start": "2024-02-13 13:49:07.513413" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 13:49:07 +0000 (0:00:00.299) 0:00:02.966 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 13:49:07 +0000 (0:00:00.010) 0:00:02.977 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 13 February 2024 13:49:07 +0000 (0:00:00.009) 0:00:02.986 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 13:49:07 +0000 (0:00:00.025) 0:00:03.011 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 13:49:07 +0000 (0:00:00.007) 0:00:03.019 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 13:49:07 +0000 (0:00:00.007) 0:00:03.026 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 13:49:07 +0000 (0:00:00.011) 0:00:03.038 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 13:49:07 +0000 (0:00:00.009) 0:00:03.048 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003901", "end": "2024-02-13 13:49:07.841513", "rc": 0, "start": "2024-02-13 13:49:07.837612" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 13:49:07 +0000 (0:00:00.244) 0:00:03.292 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 13:49:07 +0000 (0:00:00.009) 0:00:03.302 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 13:49:07 +0000 (0:00:00.009) 0:00:03.311 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 13:49:10 +0000 (0:00:02.157) 0:00:05.469 ****** 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.113095", "end": "2024-02-13 13:49:10.377431", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-13 13:49:10.264336" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004488", "end": "2024-02-13 13:49:10.680296", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-13 13:49:10.675808" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004564", "end": "2024-02-13 13:49:10.920178", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-13 13:49:10.915614" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 13:49:10 +0000 (0:00:00.901) 0:00:06.370 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.240775", "end": "2024-02-13 13:49:11.402274", "rc": 0, "start": "2024-02-13 13:49:11.161499" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 13:49:11 +0000 (0:00:00.481) 0:00:06.852 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 13:49:11 +0000 (0:00:00.009) 0:00:06.862 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 13:49:11 +0000 (0:00:00.008) 0:00:06.870 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 13:49:11 +0000 (0:00:00.008) 0:00:06.879 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 13:49:11 +0000 (0:00:00.008) 0:00:06.887 ****** 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_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 13 February 2024 13:49:11 +0000 (0:00:00.008) 0:00:06.895 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 13:49:11 +0000 (0:00:00.022) 0:00:06.918 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 13:49:11 +0000 (0:00:00.010) 0:00:06.929 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707832150.3739004, "block_size": 4096, "blocks": 0, "ctime": 1707832150.3739004, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26317, "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": 1707832150.3739004, "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_rewritev5xe9ek9/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 13:49:11 +0000 (0:00:00.240) 0:00:07.169 ****** 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_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 13 February 2024 13:49:11 +0000 (0:00:00.010) 0:00:07.180 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 13:49:11 +0000 (0:00:00.008) 0:00:07.189 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/.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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 13:49:11 +0000 (0:00:00.015) 0:00:07.204 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 13:49:11 +0000 (0:00:00.019) 0:00:07.224 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 13:49:11 +0000 (0:00:00.011) 0:00:07.235 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 13:49:11 +0000 (0:00:00.011) 0:00:07.246 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 13:49:14 +0000 (0:00:02.436) 0:00:09.683 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 13:49:15 +0000 (0:00:01.003) 0:00:10.686 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 13:49:15 +0000 (0:00:00.021) 0:00:10.708 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 13:49:15 +0000 (0:00:00.021) 0:00:10.729 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 13:49:15 +0000 (0:00:00.020) 0:00:10.750 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 13:49:15 +0000 (0:00:00.051) 0:00:10.801 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 13:49:15 +0000 (0:00:00.040) 0:00:10.842 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 13:49:15 +0000 (0:00:00.022) 0:00:10.864 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 13:49:15 +0000 (0:00:00.033) 0:00:10.897 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 13:49:16 +0000 (0:00:00.630) 0:00:11.528 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 13:49:16 +0000 (0:00:00.033) 0:00:11.562 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 13:49:16 +0000 (0:00:00.019) 0:00:11.581 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 13:49:16 +0000 (0:00:00.019) 0:00:11.601 ****** 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, bd59a353-7443-4d03-9876-9faee319fe4b [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, bd59a353-7443-4d03-9876-9faee319fe4b (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 13:49:17 +0000 (0:00:00.921) 0:00:12.523 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 13:49:17 +0000 (0:00:00.022) 0:00:12.545 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, bd59a353-7443-4d03-9876-9faee319fe4b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, bd59a353-7443-4d03-9876-9faee319fe4b (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 13:49:17 +0000 (0:00:00.021) 0:00:12.567 ****** 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, bd59a353-7443-4d03-9876-9faee319fe4b\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, bd59a353-7443-4d03-9876-9faee319fe4b (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, bd59a353-7443-4d03-9876-9faee319fe4b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, bd59a353-7443-4d03-9876-9faee319fe4b (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 13:49:17 +0000 (0:00:00.021) 0:00:12.588 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 13:49:17 +0000 (0:00:00.022) 0:00:12.611 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 13 February 2024 13:49:17 +0000 (0:00:00.348) 0:00:12.959 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 13:49:17 +0000 (0:00:00.043) 0:00:13.002 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 13:49:17 +0000 (0:00:00.053) 0:00:13.056 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707832150.3739004, "block_size": 4096, "blocks": 0, "ctime": 1707832150.3739004, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26317, "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": 1707832150.3739004, "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_rewritev5xe9ek9/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 13:49:17 +0000 (0:00:00.256) 0:00:13.312 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 13 February 2024 13:49:17 +0000 (0:00:00.023) 0:00:13.336 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 13:49:17 +0000 (0:00:00.045) 0:00:13.382 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/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_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 13:49:17 +0000 (0:00:00.033) 0:00:13.415 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 13:49:18 +0000 (0:00:00.022) 0:00:13.438 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 13:49:18 +0000 (0:00:00.251) 0:00:13.689 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 13:49:18 +0000 (0:00:00.019) 0:00:13.708 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.181287", "end": "2024-02-13 13:49:18.681053", "rc": 0, "start": "2024-02-13 13:49:18.499766" } 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_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 13:49:18 +0000 (0:00:00.434) 0:00:14.143 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 13:49:18 +0000 (0:00:00.022) 0:00:14.166 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 13:49:18 +0000 (0:00:00.019) 0:00:14.185 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 13:49:18 +0000 (0:00:00.020) 0:00:14.206 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 13:49:18 +0000 (0:00:00.019) 0:00:14.226 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 13:49:18 +0000 (0:00:00.019) 0:00:14.245 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 13:49:18 +0000 (0:00:00.048) 0:00:14.294 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 13:49:18 +0000 (0:00:00.023) 0:00:14.318 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 13 February 2024 13:49:18 +0000 (0:00:00.021) 0:00:14.339 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003980", "end": "2024-02-13 13:49:19.134267", "rc": 0, "start": "2024-02-13 13:49:19.130287" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.60 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.60 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_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 13 February 2024 13:49:19 +0000 (0:00:00.255) 0:00:14.595 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 13 February 2024 13:49:19 +0000 (0:00:00.022) 0:00:14.618 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004041", "end": "2024-02-13 13:49:19.410329", "rc": 0, "start": "2024-02-13 13:49:19.406288" } 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_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 13 February 2024 13:49:19 +0000 (0:00:00.252) 0:00:14.870 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 13 February 2024 13:49:19 +0000 (0:00:00.022) 0:00:14.893 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 13:49:19 +0000 (0:00:00.020) 0:00:14.913 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/.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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 13:49:19 +0000 (0:00:00.033) 0:00:14.946 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 13:49:19 +0000 (0:00:00.032) 0:00:14.979 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 13:49:19 +0000 (0:00:00.021) 0:00:15.001 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 13:49:19 +0000 (0:00:00.022) 0:00:15.023 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 13:49:21 +0000 (0:00:02.363) 0:00:17.386 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 13:49:22 +0000 (0:00:00.899) 0:00:18.285 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 13:49:22 +0000 (0:00:00.025) 0:00:18.311 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 13:49:22 +0000 (0:00:00.023) 0:00:18.335 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 13:49:22 +0000 (0:00:00.023) 0:00:18.359 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 13:49:22 +0000 (0:00:00.058) 0:00:18.417 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 13:49:23 +0000 (0:00:00.024) 0:00:18.441 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 13:49:23 +0000 (0:00:00.024) 0:00:18.466 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 13:49:23 +0000 (0:00:00.035) 0:00:18.501 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 13:49:23 +0000 (0:00:00.476) 0:00:18.978 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 13:49:23 +0000 (0:00:00.038) 0:00:19.016 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 13:49:23 +0000 (0:00:00.019) 0:00:19.036 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 13:49:23 +0000 (0:00:00.018) 0:00:19.054 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 13:49:24 +0000 (0:00:00.521) 0:00:19.576 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 13:49:24 +0000 (0:00:00.023) 0:00:19.599 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 13:49:24 +0000 (0:00:00.023) 0:00:19.622 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 13:49:24 +0000 (0:00:00.022) 0:00:19.644 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 13:49:24 +0000 (0:00:00.052) 0:00:19.697 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 13 February 2024 13:49:24 +0000 (0:00:00.258) 0:00:19.955 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 13:49:24 +0000 (0:00:00.046) 0:00:20.002 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 13:49:24 +0000 (0:00:00.019) 0:00:20.021 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 13:49:24 +0000 (0:00:00.018) 0:00:20.040 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 13:49:24 +0000 (0:00:00.031) 0:00:20.072 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 13:49:24 +0000 (0:00:00.029) 0:00:20.101 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003884", "end": "2024-02-13 13:49:24.893479", "rc": 0, "start": "2024-02-13 13:49:24.889595" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 13:49:24 +0000 (0:00:00.253) 0:00:20.355 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 13:49:24 +0000 (0:00:00.020) 0:00:20.376 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 13:49:24 +0000 (0:00:00.020) 0:00:20.396 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 13:49:27 +0000 (0:00:02.054) 0:00:22.451 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 13:49:27 +0000 (0:00:00.027) 0:00:22.478 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 13:49:27 +0000 (0:00:00.047) 0:00:22.526 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009816", "end": "2024-02-13 13:49:27.325387", "rc": 0, "start": "2024-02-13 13:49:27.315571" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 13:49:27 +0000 (0:00:00.273) 0:00:22.800 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 13:49:27 +0000 (0:00:00.021) 0:00:22.822 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 13:49:27 +0000 (0:00:00.020) 0:00:22.842 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 13:49:27 +0000 (0:00:00.019) 0:00:22.861 ****** 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_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 13 February 2024 13:49:27 +0000 (0:00:00.019) 0:00:22.881 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 13 February 2024 13:49:27 +0000 (0:00:00.020) 0:00:22.901 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 13:49:27 +0000 (0:00:00.047) 0:00:22.948 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 13:49:27 +0000 (0:00:00.019) 0:00:22.968 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 13:49:27 +0000 (0:00:00.020) 0:00:22.988 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 13:49:27 +0000 (0:00:00.031) 0:00:23.019 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 13:49:27 +0000 (0:00:00.029) 0:00:23.049 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003828", "end": "2024-02-13 13:49:27.839636", "rc": 0, "start": "2024-02-13 13:49:27.835808" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 13:49:27 +0000 (0:00:00.250) 0:00:23.300 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 13:49:27 +0000 (0:00:00.048) 0:00:23.349 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 13:49:27 +0000 (0:00:00.020) 0:00:23.369 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 13:49:30 +0000 (0:00:02.081) 0:00:25.451 ****** 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.006325", "end": "2024-02-13 13:49:30.251757", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-13 13:49:30.245432" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004294", "end": "2024-02-13 13:49:30.574508", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-13 13:49:30.570214" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004384", "end": "2024-02-13 13:49:30.808732", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-13 13:49:30.804348" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 13:49:30 +0000 (0:00:00.818) 0:00:26.269 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024281", "end": "2024-02-13 13:49:31.084381", "rc": 0, "start": "2024-02-13 13:49:31.060100" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 13:49:31 +0000 (0:00:00.275) 0:00:26.545 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 13:49:31 +0000 (0:00:00.021) 0:00:26.567 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 13:49:31 +0000 (0:00:00.020) 0:00:26.587 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 13:49:31 +0000 (0:00:00.019) 0:00:26.606 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 13:49:31 +0000 (0:00:00.019) 0:00:26.626 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 13:49:31 +0000 (0:00:00.019) 0:00:26.646 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/.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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 13:49:31 +0000 (0:00:00.033) 0:00:26.680 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 13:49:31 +0000 (0:00:00.032) 0:00:26.712 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 13:49:31 +0000 (0:00:00.022) 0:00:26.734 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 13:49:31 +0000 (0:00:00.021) 0:00:26.756 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 13:49:33 +0000 (0:00:02.330) 0:00:29.086 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 13:49:34 +0000 (0:00:00.922) 0:00:30.008 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 13:49:34 +0000 (0:00:00.023) 0:00:30.032 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 13:49:34 +0000 (0:00:00.023) 0:00:30.055 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 13:49:34 +0000 (0:00:00.022) 0:00:30.077 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 13:49:34 +0000 (0:00:00.054) 0:00:30.132 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 13:49:34 +0000 (0:00:00.023) 0:00:30.155 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 13:49:34 +0000 (0:00:00.022) 0:00:30.177 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 13:49:34 +0000 (0:00:00.034) 0:00:30.212 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 13:49:35 +0000 (0:00:00.485) 0:00:30.697 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 13:49:35 +0000 (0:00:00.034) 0:00:30.731 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 13:49:35 +0000 (0:00:00.020) 0:00:30.752 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 13:49:35 +0000 (0:00:00.020) 0:00:30.772 ****** 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, fe1e66bc-f389-4bcf-8754-0675b6271e13 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, fe1e66bc-f389-4bcf-8754-0675b6271e13 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 13:49:35 +0000 (0:00:00.541) 0:00:31.314 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 13:49:35 +0000 (0:00:00.025) 0:00:31.339 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, fe1e66bc-f389-4bcf-8754-0675b6271e13", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, fe1e66bc-f389-4bcf-8754-0675b6271e13 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 13:49:35 +0000 (0:00:00.055) 0:00:31.395 ****** 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, fe1e66bc-f389-4bcf-8754-0675b6271e13\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, fe1e66bc-f389-4bcf-8754-0675b6271e13 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, fe1e66bc-f389-4bcf-8754-0675b6271e13", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, fe1e66bc-f389-4bcf-8754-0675b6271e13 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 13:49:35 +0000 (0:00:00.022) 0:00:31.418 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 13:49:36 +0000 (0:00:00.022) 0:00:31.441 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 13 February 2024 13:49:36 +0000 (0:00:00.258) 0:00:31.699 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 13:49:36 +0000 (0:00:00.049) 0:00:31.748 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 13:49:36 +0000 (0:00:00.032) 0:00:31.781 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707832170.2498477, "block_size": 4096, "blocks": 0, "ctime": 1707832170.2498477, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26903, "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": 1707832170.2498477, "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_rewritev5xe9ek9/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 13:49:36 +0000 (0:00:00.250) 0:00:32.031 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 13 February 2024 13:49:36 +0000 (0:00:00.023) 0:00:32.054 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 13:49:36 +0000 (0:00:00.047) 0:00:32.101 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/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_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 13:49:36 +0000 (0:00:00.031) 0:00:32.133 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 13:49:36 +0000 (0:00:00.019) 0:00:32.152 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 13:49:37 +0000 (0:00:00.278) 0:00:32.430 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 13:49:37 +0000 (0:00:00.020) 0:00:32.450 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022836", "end": "2024-02-13 13:49:37.259962", "rc": 0, "start": "2024-02-13 13:49:37.237126" } 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_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 13:49:37 +0000 (0:00:00.269) 0:00:32.720 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 13:49:37 +0000 (0:00:00.022) 0:00:32.743 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 13:49:37 +0000 (0:00:00.019) 0:00:32.762 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 13:49:37 +0000 (0:00:00.019) 0:00:32.782 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 13:49:37 +0000 (0:00:00.019) 0:00:32.801 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 13:49:37 +0000 (0:00:00.019) 0:00:32.821 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 13:49:37 +0000 (0:00:00.022) 0:00:32.843 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 13:49:37 +0000 (0:00:00.023) 0:00:32.867 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 13 February 2024 13:49:37 +0000 (0:00:00.022) 0:00:32.889 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003970", "end": "2024-02-13 13:49:37.681431", "rc": 0, "start": "2024-02-13 13:49:37.677461" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.12.60 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.60 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_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 13 February 2024 13:49:37 +0000 (0:00:00.251) 0:00:33.141 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 13 February 2024 13:49:37 +0000 (0:00:00.021) 0:00:33.162 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004003", "end": "2024-02-13 13:49:37.955066", "rc": 0, "start": "2024-02-13 13:49:37.951063" } 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_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 13 February 2024 13:49:37 +0000 (0:00:00.262) 0:00:33.425 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 13 February 2024 13:49:38 +0000 (0:00:00.022) 0:00:33.448 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 13:49:38 +0000 (0:00:00.022) 0:00:33.470 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/.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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 13:49:38 +0000 (0:00:00.071) 0:00:33.541 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 13:49:38 +0000 (0:00:00.033) 0:00:33.575 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 13:49:38 +0000 (0:00:00.022) 0:00:33.598 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 13:49:38 +0000 (0:00:00.023) 0:00:33.621 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 13:49:40 +0000 (0:00:02.355) 0:00:35.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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 13:49:41 +0000 (0:00:00.834) 0:00:36.811 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 13:49:41 +0000 (0:00:00.025) 0:00:36.837 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 13:49:41 +0000 (0:00:00.027) 0:00:36.864 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 13:49:41 +0000 (0:00:00.023) 0:00:36.888 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 13:49:41 +0000 (0:00:00.068) 0:00:36.957 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 13:49:41 +0000 (0:00:00.026) 0:00:36.983 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 13:49:41 +0000 (0:00:00.023) 0:00:37.006 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 13:49:41 +0000 (0:00:00.035) 0:00:37.042 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 13:49:42 +0000 (0:00:00.504) 0:00:37.547 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 13:49:42 +0000 (0:00:00.034) 0:00:37.582 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 13:49:42 +0000 (0:00:00.019) 0:00:37.602 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 13:49:42 +0000 (0:00:00.020) 0:00:37.622 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 13:49:42 +0000 (0:00:00.510) 0:00:38.132 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 13:49:42 +0000 (0:00:00.025) 0:00:38.158 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 13:49:42 +0000 (0:00:00.023) 0:00:38.182 ****** 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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 13:49:42 +0000 (0:00:00.024) 0:00:38.206 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 13:49:42 +0000 (0:00:00.026) 0:00:38.232 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 13 February 2024 13:49:43 +0000 (0:00:00.257) 0:00:38.490 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 13:49:43 +0000 (0:00:00.052) 0:00:38.542 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 13:49:43 +0000 (0:00:00.019) 0:00:38.562 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 13:49:43 +0000 (0:00:00.018) 0:00:38.581 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 13:49:43 +0000 (0:00:00.064) 0:00:38.645 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 13:49:43 +0000 (0:00:00.030) 0:00:38.676 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003857", "end": "2024-02-13 13:49:43.468095", "rc": 0, "start": "2024-02-13 13:49:43.464238" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 13:49:43 +0000 (0:00:00.252) 0:00:38.928 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 13:49:43 +0000 (0:00:00.021) 0:00:38.950 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 13:49:43 +0000 (0:00:00.021) 0:00:38.971 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 13:49:45 +0000 (0:00:02.047) 0:00:41.019 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 13:49:45 +0000 (0:00:00.025) 0:00:41.044 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 13:49:45 +0000 (0:00:00.019) 0:00:41.064 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.021679", "end": "2024-02-13 13:49:45.875706", "rc": 0, "start": "2024-02-13 13:49:45.854027" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 13:49:45 +0000 (0:00:00.275) 0:00:41.340 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 13:49:45 +0000 (0:00:00.019) 0:00:41.360 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 13:49:45 +0000 (0:00:00.019) 0:00:41.380 ****** 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_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 13:49:45 +0000 (0:00:00.019) 0:00:41.400 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:153 Tuesday 13 February 2024 13:49:45 +0000 (0:00:00.018) 0:00:41.418 ****** included: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 13:49:46 +0000 (0:00:00.051) 0:00:41.470 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=126 changed=4 unreachable=0 failed=0 skipped=103 rescued=0 ignored=0 Tuesday 13 February 2024 13:49:46 +0000 (0:00:00.097) 0:00:41.567 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.44s /WORKDIR/git-bond_options_rewritev5xe9ek9/.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.36s /WORKDIR/git-bond_options_rewritev5xe9ek9/.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.36s /WORKDIR/git-bond_options_rewritev5xe9ek9/.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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.16s /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.08s /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.05s /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.05s /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.03s /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/tests_auto_gateway_nm.yml:6 --- fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-bond_options_rewritev5xe9ek9/.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_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.92s /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Create veth interface veth0 --------------------------------------------- 0.90s /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Check which packages are installed --- 0.90s /WORKDIR/git-bond_options_rewritev5xe9ek9/.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.83s /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 0.82s /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-bond_options_rewritev5xe9ek9/tests/playbooks/tests_auto_gateway.yml:3 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.63s /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.54s /WORKDIR/git-bond_options_rewritev5xe9ek9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.52s /WORKDIR/git-bond_options_rewritev5xe9ek9/.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. ---^---^---^---^---^---