# 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-route_typez43aqm9a/.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-route_typez43aqm9a/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-route_typez43aqm9a/tests/tests_auto_gateway_nm.yml:6 Monday 08 January 2024 14:00:18 +0000 (0:00:00.011) 0:00:00.011 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typez43aqm9a/tests/tests_auto_gateway_nm.yml:9 Monday 08 January 2024 14:00:19 +0000 (0:00:00.876) 0:00:00.887 ******** included: /WORKDIR/git-route_typez43aqm9a/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-route_typez43aqm9a/tests/tasks/el_repo_setup.yml:3 Monday 08 January 2024 14:00:19 +0000 (0:00:00.012) 0:00:00.899 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/tasks/el_repo_setup.yml:17 Monday 08 January 2024 14:00:20 +0000 (0:00:00.358) 0:00:01.258 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/tasks/el_repo_setup.yml:22 Monday 08 January 2024 14:00:20 +0000 (0:00:00.255) 0:00:01.513 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/tasks/el_repo_setup.yml:26 Monday 08 January 2024 14:00:20 +0000 (0:00:00.018) 0:00:01.531 ******** 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-route_typez43aqm9a/tests/tasks/el_repo_setup.yml:51 Monday 08 January 2024 14:00:20 +0000 (0:00:00.012) 0:00:01.543 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/tasks/enable_epel.yml:8 Monday 08 January 2024 14:00:20 +0000 (0:00:00.029) 0:00:01.572 ******** 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-route_typez43aqm9a/tests/tasks/enable_epel.yml:24 Monday 08 January 2024 14:00:20 +0000 (0:00:00.007) 0:00:01.580 ******** 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-route_typez43aqm9a/tests/tasks/enable_epel.yml:30 Monday 08 January 2024 14:00:20 +0000 (0:00:00.010) 0:00:01.590 ******** 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-route_typez43aqm9a/tests/tasks/enable_epel.yml:35 Monday 08 January 2024 14:00:20 +0000 (0:00:00.007) 0:00:01.598 ******** 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-route_typez43aqm9a/tests/tasks/enable_epel.yml:40 Monday 08 January 2024 14:00:20 +0000 (0:00:00.023) 0:00:01.621 ******** 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-route_typez43aqm9a/tests/tests_auto_gateway_nm.yml:11 Monday 08 January 2024 14:00:20 +0000 (0:00:00.007) 0:00:01.629 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:3 Monday 08 January 2024 14:00:20 +0000 (0:00:00.025) 0:00:01.654 ******** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:9 Monday 08 January 2024 14:00:21 +0000 (0:00:00.724) 0:00:02.378 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:00:21 +0000 (0:00:00.023) 0:00:02.402 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:00:21 +0000 (0:00:00.010) 0:00:02.412 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003566", "end": "2024-01-08 14:00:21.571129", "rc": 0, "start": "2024-01-08 14:00:21.567563" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:00:21 +0000 (0:00:00.259) 0:00:02.672 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:00:21 +0000 (0:00:00.010) 0:00:02.682 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:11 Monday 08 January 2024 14:00:21 +0000 (0:00:00.009) 0:00:02.692 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:00:21 +0000 (0:00:00.024) 0:00:02.717 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:00:21 +0000 (0:00:00.009) 0:00:02.727 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:00:21 +0000 (0:00:00.009) 0:00:02.737 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:00:21 +0000 (0:00:00.014) 0:00:02.751 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:00:21 +0000 (0:00:00.016) 0:00:02.768 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003653", "end": "2024-01-08 14:00:21.870199", "rc": 0, "start": "2024-01-08 14:00:21.866546" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:00:21 +0000 (0:00:00.204) 0:00:02.973 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:00:21 +0000 (0:00:00.014) 0:00:02.987 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:00:21 +0000 (0:00:00.012) 0:00:03.000 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:23 Monday 08 January 2024 14:00:24 +0000 (0:00:02.247) 0:00:05.248 ******** 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.033595", "end": "2024-01-08 14:00:24.383194", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-08 14:00:24.349599" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003820", "end": "2024-01-08 14:00:24.636281", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-08 14:00:24.632461" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004373", "end": "2024-01-08 14:00:24.831067", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-08 14:00:24.826694" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:31 Monday 08 January 2024 14:00:24 +0000 (0:00:00.686) 0:00:05.935 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.134969", "end": "2024-01-08 14:00:25.188989", "rc": 0, "start": "2024-01-08 14:00:25.054020" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:39 Monday 08 January 2024 14:00:25 +0000 (0:00:00.373) 0:00:06.308 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 08 January 2024 14:00:25 +0000 (0:00:00.010) 0:00:06.318 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:50 Monday 08 January 2024 14:00:25 +0000 (0:00:00.009) 0:00:06.328 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:56 Monday 08 January 2024 14:00:25 +0000 (0:00:00.009) 0:00:06.337 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:00:25 +0000 (0:00:00.010) 0:00:06.348 ******** 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-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:15 Monday 08 January 2024 14:00:25 +0000 (0:00:00.012) 0:00:06.360 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:00:25 +0000 (0:00:00.025) 0:00:06.385 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:00:25 +0000 (0:00:00.013) 0:00:06.399 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704722424.3796077, "block_size": 4096, "blocks": 0, "ctime": 1704722424.3796077, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26256, "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": 1704722424.3796077, "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-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:00:25 +0000 (0:00:00.217) 0:00:06.616 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:17 Monday 08 January 2024 14:00:25 +0000 (0:00:00.016) 0:00:06.633 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:00:25 +0000 (0:00:00.016) 0:00:06.649 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:00:25 +0000 (0:00:00.017) 0:00:06.666 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:00:25 +0000 (0:00:00.021) 0:00:06.688 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:00:25 +0000 (0:00:00.013) 0:00:06.702 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:00:25 +0000 (0:00:00.012) 0:00:06.714 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:00:27 +0000 (0:00:02.225) 0:00:08.940 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:00:28 +0000 (0:00:00.973) 0:00:09.914 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:00:28 +0000 (0:00:00.032) 0:00:09.946 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:00:28 +0000 (0:00:00.025) 0:00:09.971 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:00:28 +0000 (0:00:00.025) 0:00:09.996 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:00:28 +0000 (0:00:00.051) 0:00:10.048 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:00:29 +0000 (0:00:00.042) 0:00:10.091 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:00:29 +0000 (0:00:00.023) 0:00:10.115 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:00:29 +0000 (0:00:00.037) 0:00:10.152 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:00:29 +0000 (0:00:00.576) 0:00:10.729 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:00:29 +0000 (0:00:00.040) 0:00:10.770 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:00:29 +0000 (0:00:00.020) 0:00:10.790 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:00:29 +0000 (0:00:00.019) 0:00:10.809 ******** 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, 99f78218-fb5c-4a96-87ec-037991d06dad [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 99f78218-fb5c-4a96-87ec-037991d06dad (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:00:30 +0000 (0:00:00.725) 0:00:11.535 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:00:30 +0000 (0:00:00.023) 0:00:11.558 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 99f78218-fb5c-4a96-87ec-037991d06dad", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 99f78218-fb5c-4a96-87ec-037991d06dad (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:00:30 +0000 (0:00:00.023) 0:00:11.581 ******** 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, 99f78218-fb5c-4a96-87ec-037991d06dad\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 99f78218-fb5c-4a96-87ec-037991d06dad (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 99f78218-fb5c-4a96-87ec-037991d06dad", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 99f78218-fb5c-4a96-87ec-037991d06dad (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:00:30 +0000 (0:00:00.024) 0:00:11.606 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:00:30 +0000 (0:00:00.022) 0:00:11.629 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:42 Monday 08 January 2024 14:00:30 +0000 (0:00:00.318) 0:00:11.948 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:00:30 +0000 (0:00:00.047) 0:00:11.995 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:00:30 +0000 (0:00:00.063) 0:00:12.059 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704722424.3796077, "block_size": 4096, "blocks": 0, "ctime": 1704722424.3796077, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26256, "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": 1704722424.3796077, "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-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:00:31 +0000 (0:00:00.212) 0:00:12.271 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:44 Monday 08 January 2024 14:00:31 +0000 (0:00:00.020) 0:00:12.292 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:00:31 +0000 (0:00:00.043) 0:00:12.335 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:00:31 +0000 (0:00:00.032) 0:00:12.368 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:00:31 +0000 (0:00:00.022) 0:00:12.391 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:00:31 +0000 (0:00:00.211) 0:00:12.602 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:00:31 +0000 (0:00:00.029) 0:00:12.632 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.130911", "end": "2024-01-08 14:00:31.868306", "rc": 0, "start": "2024-01-08 14:00:31.737395" } 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:00:31 +0000 (0:00:00.357) 0:00:12.990 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:00:31 +0000 (0:00:00.023) 0:00:13.013 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:00:31 +0000 (0:00:00.037) 0:00:13.051 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:00:31 +0000 (0:00:00.019) 0:00:13.071 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:00:32 +0000 (0:00:00.022) 0:00:13.094 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:00:32 +0000 (0:00:00.020) 0:00:13.114 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:00:32 +0000 (0:00:00.053) 0:00:13.168 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:00:32 +0000 (0:00:00.022) 0:00:13.191 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:48 Monday 08 January 2024 14:00:32 +0000 (0:00:00.022) 0:00:13.214 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004156", "end": "2024-01-08 14:00:32.317416", "rc": 0, "start": "2024-01-08 14:00:32.313260" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.67 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.14.67 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-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:52 Monday 08 January 2024 14:00:32 +0000 (0:00:00.215) 0:00:13.429 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:58 Monday 08 January 2024 14:00:32 +0000 (0:00:00.021) 0:00:13.451 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003842", "end": "2024-01-08 14:00:32.552984", "rc": 0, "start": "2024-01-08 14:00:32.549142" } 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-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:62 Monday 08 January 2024 14:00:32 +0000 (0:00:00.213) 0:00:13.665 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:69 Monday 08 January 2024 14:00:32 +0000 (0:00:00.022) 0:00:13.687 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:00:32 +0000 (0:00:00.020) 0:00:13.708 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:00:32 +0000 (0:00:00.034) 0:00:13.743 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:00:32 +0000 (0:00:00.033) 0:00:13.776 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:00:32 +0000 (0:00:00.028) 0:00:13.805 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:00:32 +0000 (0:00:00.030) 0:00:13.835 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:00:34 +0000 (0:00:02.153) 0:00:15.989 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:00:35 +0000 (0:00:00.805) 0:00:16.794 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:00:35 +0000 (0:00:00.022) 0:00:16.817 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:00:35 +0000 (0:00:00.022) 0:00:16.839 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:00:35 +0000 (0:00:00.022) 0:00:16.862 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:00:35 +0000 (0:00:00.052) 0:00:16.914 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:00:35 +0000 (0:00:00.022) 0:00:16.936 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:00:35 +0000 (0:00:00.021) 0:00:16.958 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:00:35 +0000 (0:00:00.033) 0:00:16.991 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:00:36 +0000 (0:00:00.403) 0:00:17.395 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:00:36 +0000 (0:00:00.036) 0:00:17.431 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:00:36 +0000 (0:00:00.020) 0:00:17.452 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:00:36 +0000 (0:00:00.019) 0:00:17.472 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:00:36 +0000 (0:00:00.458) 0:00:17.931 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:00:36 +0000 (0:00:00.031) 0:00:17.962 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:00:36 +0000 (0:00:00.032) 0:00:17.995 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:00:36 +0000 (0:00:00.034) 0:00:18.029 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:00:37 +0000 (0:00:00.077) 0:00:18.106 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:81 Monday 08 January 2024 14:00:37 +0000 (0:00:00.239) 0:00:18.346 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:00:37 +0000 (0:00:00.061) 0:00:18.407 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:00:37 +0000 (0:00:00.026) 0:00:18.434 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:00:37 +0000 (0:00:00.023) 0:00:18.457 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:00:37 +0000 (0:00:00.035) 0:00:18.492 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:00:37 +0000 (0:00:00.036) 0:00:18.529 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003478", "end": "2024-01-08 14:00:37.664968", "rc": 0, "start": "2024-01-08 14:00:37.661490" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:00:37 +0000 (0:00:00.252) 0:00:18.781 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:00:37 +0000 (0:00:00.035) 0:00:18.817 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:00:37 +0000 (0:00:00.027) 0:00:18.844 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:23 Monday 08 January 2024 14:00:39 +0000 (0:00:02.195) 0:00:21.039 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:31 Monday 08 January 2024 14:00:40 +0000 (0:00:00.078) 0:00:21.117 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:39 Monday 08 January 2024 14:00:40 +0000 (0:00:00.078) 0:00:21.196 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.007882", "end": "2024-01-08 14:00:40.354275", "rc": 0, "start": "2024-01-08 14:00:40.346393" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 08 January 2024 14:00:40 +0000 (0:00:00.290) 0:00:21.486 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:50 Monday 08 January 2024 14:00:40 +0000 (0:00:00.020) 0:00:21.507 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:56 Monday 08 January 2024 14:00:40 +0000 (0:00:00.022) 0:00:21.529 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:00:40 +0000 (0:00:00.019) 0:00:21.549 ******** 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-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:85 Monday 08 January 2024 14:00:40 +0000 (0:00:00.025) 0:00:21.574 ******** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:89 Monday 08 January 2024 14:00:40 +0000 (0:00:00.021) 0:00:21.596 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:00:40 +0000 (0:00:00.068) 0:00:21.665 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:00:40 +0000 (0:00:00.038) 0:00:21.703 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:00:40 +0000 (0:00:00.037) 0:00:21.741 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:00:40 +0000 (0:00:00.072) 0:00:21.814 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:00:40 +0000 (0:00:00.050) 0:00:21.865 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003736", "end": "2024-01-08 14:00:40.977653", "rc": 0, "start": "2024-01-08 14:00:40.973917" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:00:41 +0000 (0:00:00.229) 0:00:22.094 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:00:41 +0000 (0:00:00.064) 0:00:22.159 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:00:41 +0000 (0:00:00.039) 0:00:22.198 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:23 Monday 08 January 2024 14:00:43 +0000 (0:00:02.163) 0:00:24.362 ******** 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.005951", "end": "2024-01-08 14:00:43.471040", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-08 14:00:43.465089" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003681", "end": "2024-01-08 14:00:43.718533", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-08 14:00:43.714852" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003875", "end": "2024-01-08 14:00:43.913245", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-08 14:00:43.909370" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:31 Monday 08 January 2024 14:00:43 +0000 (0:00:00.664) 0:00:25.026 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022337", "end": "2024-01-08 14:00:44.166722", "rc": 0, "start": "2024-01-08 14:00:44.144385" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:39 Monday 08 January 2024 14:00:44 +0000 (0:00:00.254) 0:00:25.281 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 08 January 2024 14:00:44 +0000 (0:00:00.025) 0:00:25.306 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:50 Monday 08 January 2024 14:00:44 +0000 (0:00:00.021) 0:00:25.327 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:56 Monday 08 January 2024 14:00:44 +0000 (0:00:00.023) 0:00:25.351 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:00:44 +0000 (0:00:00.020) 0:00:25.371 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:00:44 +0000 (0:00:00.019) 0:00:25.391 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:00:44 +0000 (0:00:00.034) 0:00:25.425 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:00:44 +0000 (0:00:00.032) 0:00:25.458 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:00:44 +0000 (0:00:00.021) 0:00:25.479 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:00:44 +0000 (0:00:00.021) 0:00:25.500 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:00:46 +0000 (0:00:02.152) 0:00:27.653 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:00:47 +0000 (0:00:00.869) 0:00:28.522 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:00:47 +0000 (0:00:00.023) 0:00:28.546 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:00:47 +0000 (0:00:00.024) 0:00:28.571 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:00:47 +0000 (0:00:00.023) 0:00:28.594 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:00:47 +0000 (0:00:00.052) 0:00:28.646 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:00:47 +0000 (0:00:00.022) 0:00:28.669 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:00:47 +0000 (0:00:00.021) 0:00:28.690 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:00:47 +0000 (0:00:00.034) 0:00:28.725 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:00:48 +0000 (0:00:00.416) 0:00:29.141 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:00:48 +0000 (0:00:00.038) 0:00:29.179 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:00:48 +0000 (0:00:00.034) 0:00:29.214 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:00:48 +0000 (0:00:00.030) 0:00:29.245 ******** 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, dde587cb-5548-4cfd-831b-10e33f26d1e0 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, dde587cb-5548-4cfd-831b-10e33f26d1e0 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:00:48 +0000 (0:00:00.518) 0:00:29.763 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:00:48 +0000 (0:00:00.022) 0:00:29.786 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, dde587cb-5548-4cfd-831b-10e33f26d1e0", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, dde587cb-5548-4cfd-831b-10e33f26d1e0 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:00:48 +0000 (0:00:00.052) 0:00:29.838 ******** 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, dde587cb-5548-4cfd-831b-10e33f26d1e0\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, dde587cb-5548-4cfd-831b-10e33f26d1e0 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, dde587cb-5548-4cfd-831b-10e33f26d1e0", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, dde587cb-5548-4cfd-831b-10e33f26d1e0 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:00:48 +0000 (0:00:00.023) 0:00:29.862 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:00:48 +0000 (0:00:00.030) 0:00:29.893 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:110 Monday 08 January 2024 14:00:49 +0000 (0:00:00.222) 0:00:30.115 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:00:49 +0000 (0:00:00.048) 0:00:30.163 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:00:49 +0000 (0:00:00.033) 0:00:30.197 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704722443.4689496, "block_size": 4096, "blocks": 0, "ctime": 1704722443.4689496, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26842, "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": 1704722443.4689496, "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-route_typez43aqm9a/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:00:49 +0000 (0:00:00.210) 0:00:30.408 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:112 Monday 08 January 2024 14:00:49 +0000 (0:00:00.024) 0:00:30.432 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:00:49 +0000 (0:00:00.066) 0:00:30.499 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:00:49 +0000 (0:00:00.032) 0:00:30.532 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:00:49 +0000 (0:00:00.021) 0:00:30.553 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:00:49 +0000 (0:00:00.251) 0:00:30.805 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:00:49 +0000 (0:00:00.020) 0:00:30.825 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022016", "end": "2024-01-08 14:00:49.950861", "rc": 0, "start": "2024-01-08 14:00:49.928845" } 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:00:49 +0000 (0:00:00.239) 0:00:31.065 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:00:50 +0000 (0:00:00.022) 0:00:31.087 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:00:50 +0000 (0:00:00.019) 0:00:31.107 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:00:50 +0000 (0:00:00.019) 0:00:31.126 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:00:50 +0000 (0:00:00.019) 0:00:31.146 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:00:50 +0000 (0:00:00.019) 0:00:31.165 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:00:50 +0000 (0:00:00.022) 0:00:31.187 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:00:50 +0000 (0:00:00.021) 0:00:31.209 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:116 Monday 08 January 2024 14:00:50 +0000 (0:00:00.020) 0:00:31.230 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003760", "end": "2024-01-08 14:00:50.334003", "rc": 0, "start": "2024-01-08 14:00:50.330243" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.67 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.67 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-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:120 Monday 08 January 2024 14:00:50 +0000 (0:00:00.215) 0:00:31.446 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:126 Monday 08 January 2024 14:00:50 +0000 (0:00:00.021) 0:00:31.467 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003713", "end": "2024-01-08 14:00:50.568098", "rc": 0, "start": "2024-01-08 14:00:50.564385" } 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-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:130 Monday 08 January 2024 14:00:50 +0000 (0:00:00.213) 0:00:31.680 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:137 Monday 08 January 2024 14:00:50 +0000 (0:00:00.022) 0:00:31.702 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:00:50 +0000 (0:00:00.020) 0:00:31.723 ******** included: /WORKDIR/git-route_typez43aqm9a/.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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:00:50 +0000 (0:00:00.069) 0:00:31.793 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:00:50 +0000 (0:00:00.033) 0:00:31.826 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:00:50 +0000 (0:00:00.022) 0:00:31.849 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:00:50 +0000 (0:00:00.022) 0:00:31.872 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:00:52 +0000 (0:00:02.158) 0:00:34.030 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:00:53 +0000 (0:00:00.746) 0:00:34.777 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:00:53 +0000 (0:00:00.021) 0:00:34.799 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:00:53 +0000 (0:00:00.022) 0:00:34.821 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:00:53 +0000 (0:00:00.022) 0:00:34.844 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:00:53 +0000 (0:00:00.053) 0:00:34.897 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:00:53 +0000 (0:00:00.023) 0:00:34.920 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:00:53 +0000 (0:00:00.022) 0:00:34.942 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:00:53 +0000 (0:00:00.034) 0:00:34.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:00:54 +0000 (0:00:00.467) 0:00:35.443 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:00:54 +0000 (0:00:00.035) 0:00:35.479 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:00:54 +0000 (0:00:00.021) 0:00:35.500 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:00:54 +0000 (0:00:00.021) 0:00:35.522 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:00:54 +0000 (0:00:00.452) 0:00:35.975 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:00:54 +0000 (0:00:00.022) 0:00:35.998 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:00:54 +0000 (0:00:00.022) 0:00:36.021 ******** 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-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:00:54 +0000 (0:00:00.022) 0:00:36.043 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:00:54 +0000 (0:00:00.023) 0:00:36.066 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:149 Monday 08 January 2024 14:00:55 +0000 (0:00:00.219) 0:00:36.286 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:00:55 +0000 (0:00:00.049) 0:00:36.335 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:00:55 +0000 (0:00:00.019) 0:00:36.354 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:00:55 +0000 (0:00:00.018) 0:00:36.373 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:00:55 +0000 (0:00:00.031) 0:00:36.405 ******** included: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:00:55 +0000 (0:00:00.060) 0:00:36.465 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003581", "end": "2024-01-08 14:00:55.567392", "rc": 0, "start": "2024-01-08 14:00:55.563811" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:00:55 +0000 (0:00:00.213) 0:00:36.678 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:00:55 +0000 (0:00:00.024) 0:00:36.703 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:00:55 +0000 (0:00:00.022) 0:00:36.726 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:23 Monday 08 January 2024 14:00:57 +0000 (0:00:02.152) 0:00:38.878 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:31 Monday 08 January 2024 14:00:57 +0000 (0:00:00.030) 0:00:38.909 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:39 Monday 08 January 2024 14:00:57 +0000 (0:00:00.021) 0:00:38.930 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.018924", "end": "2024-01-08 14:00:58.056939", "rc": 0, "start": "2024-01-08 14:00:58.038015" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 08 January 2024 14:00:58 +0000 (0:00:00.241) 0:00:39.171 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:50 Monday 08 January 2024 14:00:58 +0000 (0:00:00.022) 0:00:39.194 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:56 Monday 08 January 2024 14:00:58 +0000 (0:00:00.022) 0:00:39.216 ******** 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-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:00:58 +0000 (0:00:00.019) 0:00:39.235 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Monday 08 January 2024 14:00:58 +0000 (0:00:00.051) 0:00:39.286 ******** =============================================================================== Install iproute --------------------------------------------------------- 2.25s /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.23s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.20s /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.16s /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.16s /WORKDIR/git-route_typez43aqm9a/.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.15s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.15s /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.15s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.88s /WORKDIR/git-route_typez43aqm9a/tests/tests_auto_gateway_nm.yml:6 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.87s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /WORKDIR/git-route_typez43aqm9a/.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.75s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.73s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tests_auto_gateway.yml:3 ------ Create veth interface veth0 --------------------------------------------- 0.69s /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:23 Create veth interface veth0 --------------------------------------------- 0.66s /WORKDIR/git-route_typez43aqm9a/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.58s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.52s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.47s /WORKDIR/git-route_typez43aqm9a/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---