# 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_type5j824erd/.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_type5j824erd/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_type5j824erd/tests/tests_auto_gateway_nm.yml:6 Monday 08 January 2024 14:11:45 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type5j824erd/tests/tests_auto_gateway_nm.yml:9 Monday 08 January 2024 14:11:46 +0000 (0:00:00.879) 0:00:00.893 ******** included: /WORKDIR/git-route_type5j824erd/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_type5j824erd/tests/tasks/el_repo_setup.yml:3 Monday 08 January 2024 14:11:46 +0000 (0:00:00.011) 0:00:00.905 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/el_repo_setup.yml:17 Monday 08 January 2024 14:11:47 +0000 (0:00:00.369) 0:00:01.274 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/el_repo_setup.yml:22 Monday 08 January 2024 14:11:47 +0000 (0:00:00.254) 0:00:01.529 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/el_repo_setup.yml:26 Monday 08 January 2024 14:11:47 +0000 (0:00:00.014) 0:00:01.544 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/el_repo_setup.yml:51 Monday 08 January 2024 14:11:47 +0000 (0:00:00.008) 0:00:01.553 ******** included: /WORKDIR/git-route_type5j824erd/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/enable_epel.yml:8 Monday 08 January 2024 14:11:47 +0000 (0:00:00.021) 0:00:01.574 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/enable_epel.yml:24 Monday 08 January 2024 14:11:47 +0000 (0:00:00.008) 0:00:01.583 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/enable_epel.yml:30 Monday 08 January 2024 14:11:47 +0000 (0:00:00.007) 0:00:01.591 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/enable_epel.yml:35 Monday 08 January 2024 14:11:47 +0000 (0:00:00.008) 0:00:01.599 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tasks/enable_epel.yml:40 Monday 08 January 2024 14:11:47 +0000 (0:00:00.007) 0:00:01.607 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type5j824erd/tests/tests_auto_gateway_nm.yml:11 Monday 08 January 2024 14:11:47 +0000 (0:00:00.010) 0:00:01.618 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:3 Monday 08 January 2024 14:11:47 +0000 (0:00:00.019) 0:00:01.637 ******** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:9 Monday 08 January 2024 14:11:48 +0000 (0:00:00.636) 0:00:02.274 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:11:48 +0000 (0:00:00.024) 0:00:02.298 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:11:48 +0000 (0:00:00.012) 0:00:02.311 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003334", "end": "2024-01-08 14:11:48.325956", "rc": 0, "start": "2024-01-08 14:11:48.322622" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:11:48 +0000 (0:00:00.272) 0:00:02.584 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:11:48 +0000 (0:00:00.026) 0:00:02.610 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:11 Monday 08 January 2024 14:11:48 +0000 (0:00:00.041) 0:00:02.651 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:11:48 +0000 (0:00:00.058) 0:00:02.710 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:11:48 +0000 (0:00:00.015) 0:00:02.726 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:11:48 +0000 (0:00:00.008) 0:00:02.735 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:11:48 +0000 (0:00:00.013) 0:00:02.748 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:11:48 +0000 (0:00:00.010) 0:00:02.759 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003382", "end": "2024-01-08 14:11:48.711042", "rc": 0, "start": "2024-01-08 14:11:48.707660" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:11:48 +0000 (0:00:00.196) 0:00:02.955 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:11:48 +0000 (0:00:00.013) 0:00:02.968 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:11:48 +0000 (0:00:00.012) 0:00:02.981 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:23 Monday 08 January 2024 14:11:50 +0000 (0:00:01.979) 0:00:04.960 ******** 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.020486", "end": "2024-01-08 14:11:50.936805", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-08 14:11:50.916319" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003816", "end": "2024-01-08 14:11:51.165006", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-08 14:11:51.161190" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004140", "end": "2024-01-08 14:11:51.356035", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-08 14:11:51.351895" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:31 Monday 08 January 2024 14:11:51 +0000 (0:00:00.641) 0:00:05.601 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.064125", "end": "2024-01-08 14:11:51.615035", "rc": 0, "start": "2024-01-08 14:11:51.550910" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:39 Monday 08 January 2024 14:11:51 +0000 (0:00:00.259) 0:00:05.861 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 08 January 2024 14:11:51 +0000 (0:00:00.010) 0:00:05.871 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:50 Monday 08 January 2024 14:11:51 +0000 (0:00:00.009) 0:00:05.880 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:56 Monday 08 January 2024 14:11:51 +0000 (0:00:00.009) 0:00:05.890 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:11:51 +0000 (0:00:00.010) 0:00:05.900 ******** 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_type5j824erd/tests/playbooks/tests_auto_gateway.yml:15 Monday 08 January 2024 14:11:51 +0000 (0:00:00.009) 0:00:05.910 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:11:51 +0000 (0:00:00.024) 0:00:05.934 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:11:51 +0000 (0:00:00.013) 0:00:05.947 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723110.9291422, "block_size": 4096, "blocks": 0, "ctime": 1704723110.9291422, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23090, "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": 1704723110.9291422, "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_type5j824erd/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:11:51 +0000 (0:00:00.194) 0:00:06.142 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:17 Monday 08 January 2024 14:11:51 +0000 (0:00:00.011) 0:00:06.153 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:11:51 +0000 (0:00:00.010) 0:00:06.163 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:11:51 +0000 (0:00:00.016) 0:00:06.179 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:11:51 +0000 (0:00:00.018) 0:00:06.198 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:11:51 +0000 (0:00:00.012) 0:00:06.210 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:11:51 +0000 (0:00:00.012) 0:00:06.222 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:11:53 +0000 (0:00:01.539) 0:00:07.761 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:11:54 +0000 (0:00:01.120) 0:00:08.882 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:11:54 +0000 (0:00:00.022) 0:00:08.905 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:11:54 +0000 (0:00:00.021) 0:00:08.926 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:11:54 +0000 (0:00:00.022) 0:00:08.949 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:11:54 +0000 (0:00:00.052) 0:00:09.001 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:11:54 +0000 (0:00:00.022) 0:00:09.023 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:11:54 +0000 (0:00:00.022) 0:00:09.046 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:11:54 +0000 (0:00:00.055) 0:00:09.101 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:11:55 +0000 (0:00:00.548) 0:00:09.650 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:11:55 +0000 (0:00:00.034) 0:00:09.685 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:11:55 +0000 (0:00:00.020) 0:00:09.705 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:11:55 +0000 (0:00:00.019) 0:00:09.724 ******** 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, e12b4a41-4fd4-40bb-810e-5271bbe81a14 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e12b4a41-4fd4-40bb-810e-5271bbe81a14 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:11:56 +0000 (0:00:00.665) 0:00:10.389 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:11:56 +0000 (0:00:00.022) 0:00:10.412 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e12b4a41-4fd4-40bb-810e-5271bbe81a14", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e12b4a41-4fd4-40bb-810e-5271bbe81a14 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:11:56 +0000 (0:00:00.027) 0:00:10.440 ******** 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, e12b4a41-4fd4-40bb-810e-5271bbe81a14\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e12b4a41-4fd4-40bb-810e-5271bbe81a14 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e12b4a41-4fd4-40bb-810e-5271bbe81a14", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e12b4a41-4fd4-40bb-810e-5271bbe81a14 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:11:56 +0000 (0:00:00.021) 0:00:10.461 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:11:56 +0000 (0:00:00.023) 0:00:10.485 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:42 Monday 08 January 2024 14:11:56 +0000 (0:00:00.304) 0:00:10.789 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:11:56 +0000 (0:00:00.041) 0:00:10.830 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:11:56 +0000 (0:00:00.028) 0:00:10.859 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723110.9291422, "block_size": 4096, "blocks": 0, "ctime": 1704723110.9291422, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23090, "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": 1704723110.9291422, "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_type5j824erd/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:11:56 +0000 (0:00:00.204) 0:00:11.063 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:44 Monday 08 January 2024 14:11:56 +0000 (0:00:00.020) 0:00:11.084 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:11:56 +0000 (0:00:00.068) 0:00:11.153 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:11:56 +0000 (0:00:00.031) 0:00:11.185 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:11:56 +0000 (0:00:00.019) 0:00:11.204 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:11:57 +0000 (0:00:00.203) 0:00:11.407 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:11:57 +0000 (0:00:00.023) 0:00:11.430 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.083827", "end": "2024-01-08 14:11:57.465314", "rc": 0, "start": "2024-01-08 14:11:57.381487" } 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:11:57 +0000 (0:00:00.291) 0:00:11.721 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:11:57 +0000 (0:00:00.023) 0:00:11.745 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:11:57 +0000 (0:00:00.029) 0:00:11.775 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:11:57 +0000 (0:00:00.019) 0:00:11.795 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:11:57 +0000 (0:00:00.019) 0:00:11.815 ******** 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_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:11:57 +0000 (0:00:00.021) 0:00:11.836 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:11:57 +0000 (0:00:00.021) 0:00:11.858 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:11:57 +0000 (0:00:00.021) 0:00:11.879 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:48 Monday 08 January 2024 14:11:57 +0000 (0:00:00.024) 0:00:11.904 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003873", "end": "2024-01-08 14:11:57.856062", "rc": 0, "start": "2024-01-08 14:11:57.852189" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.221 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.221 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_type5j824erd/tests/playbooks/tests_auto_gateway.yml:52 Monday 08 January 2024 14:11:57 +0000 (0:00:00.210) 0:00:12.114 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:58 Monday 08 January 2024 14:11:57 +0000 (0:00:00.032) 0:00:12.147 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003555", "end": "2024-01-08 14:11:58.097443", "rc": 0, "start": "2024-01-08 14:11:58.093888" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 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_type5j824erd/tests/playbooks/tests_auto_gateway.yml:62 Monday 08 January 2024 14:11:58 +0000 (0:00:00.204) 0:00:12.351 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:69 Monday 08 January 2024 14:11:58 +0000 (0:00:00.049) 0:00:12.401 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:11:58 +0000 (0:00:00.025) 0:00:12.427 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:11:58 +0000 (0:00:00.033) 0:00:12.460 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:11:58 +0000 (0:00:00.031) 0:00:12.491 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:11:58 +0000 (0:00:00.022) 0:00:12.513 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:11:58 +0000 (0:00:00.033) 0:00:12.547 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:11:59 +0000 (0:00:01.460) 0:00:14.008 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:12:00 +0000 (0:00:00.953) 0:00:14.962 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:12:00 +0000 (0:00:00.022) 0:00:14.984 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:12:00 +0000 (0:00:00.022) 0:00:15.006 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:12:00 +0000 (0:00:00.020) 0:00:15.027 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:12:00 +0000 (0:00:00.050) 0:00:15.077 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:12:00 +0000 (0:00:00.020) 0:00:15.098 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:12:00 +0000 (0:00:00.021) 0:00:15.119 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:12:00 +0000 (0:00:00.033) 0:00:15.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:12:01 +0000 (0:00:00.478) 0:00:15.631 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:12:01 +0000 (0:00:00.041) 0:00:15.672 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:12:01 +0000 (0:00:00.030) 0:00:15.703 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:12:01 +0000 (0:00:00.019) 0:00:15.722 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:12:01 +0000 (0:00:00.481) 0:00:16.204 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:12:02 +0000 (0:00:00.023) 0:00:16.227 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:12:02 +0000 (0:00:00.023) 0:00:16.251 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:12:02 +0000 (0:00:00.023) 0:00:16.274 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:12:02 +0000 (0:00:00.039) 0:00:16.314 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:81 Monday 08 January 2024 14:12:02 +0000 (0:00:00.215) 0:00:16.529 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:12:02 +0000 (0:00:00.048) 0:00:16.578 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:12:02 +0000 (0:00:00.021) 0:00:16.599 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:12:02 +0000 (0:00:00.017) 0:00:16.617 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:12:02 +0000 (0:00:00.030) 0:00:16.647 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:12:02 +0000 (0:00:00.057) 0:00:16.704 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003345", "end": "2024-01-08 14:12:02.659482", "rc": 0, "start": "2024-01-08 14:12:02.656137" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:12:02 +0000 (0:00:00.207) 0:00:16.912 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:12:02 +0000 (0:00:00.021) 0:00:16.934 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:12:02 +0000 (0:00:00.020) 0:00:16.954 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:23 Monday 08 January 2024 14:12:03 +0000 (0:00:00.898) 0:00:17.853 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:31 Monday 08 January 2024 14:12:03 +0000 (0:00:00.026) 0:00:17.879 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:39 Monday 08 January 2024 14:12:03 +0000 (0:00:00.018) 0:00:17.897 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.018420", "end": "2024-01-08 14:12:03.865803", "rc": 0, "start": "2024-01-08 14:12:03.847383" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 08 January 2024 14:12:03 +0000 (0:00:00.223) 0:00:18.121 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:50 Monday 08 January 2024 14:12:03 +0000 (0:00:00.019) 0:00:18.141 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:56 Monday 08 January 2024 14:12:03 +0000 (0:00:00.021) 0:00:18.162 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:12:03 +0000 (0:00:00.019) 0:00:18.182 ******** 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_type5j824erd/tests/playbooks/tests_auto_gateway.yml:85 Monday 08 January 2024 14:12:03 +0000 (0:00:00.019) 0:00:18.202 ******** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:89 Monday 08 January 2024 14:12:03 +0000 (0:00:00.020) 0:00:18.222 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:12:04 +0000 (0:00:00.045) 0:00:18.267 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:12:04 +0000 (0:00:00.017) 0:00:18.285 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:12:04 +0000 (0:00:00.017) 0:00:18.302 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:12:04 +0000 (0:00:00.028) 0:00:18.331 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:12:04 +0000 (0:00:00.055) 0:00:18.386 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003372", "end": "2024-01-08 14:12:04.336355", "rc": 0, "start": "2024-01-08 14:12:04.332983" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:12:04 +0000 (0:00:00.202) 0:00:18.589 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:12:04 +0000 (0:00:00.022) 0:00:18.612 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:12:04 +0000 (0:00:00.019) 0:00:18.631 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:23 Monday 08 January 2024 14:12:05 +0000 (0:00:00.910) 0:00:19.542 ******** 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.006651", "end": "2024-01-08 14:12:05.524243", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-08 14:12:05.517592" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003555", "end": "2024-01-08 14:12:05.742019", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-08 14:12:05.738464" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003776", "end": "2024-01-08 14:12:05.930930", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-08 14:12:05.927154" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:31 Monday 08 January 2024 14:12:05 +0000 (0:00:00.653) 0:00:20.195 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021707", "end": "2024-01-08 14:12:06.167604", "rc": 0, "start": "2024-01-08 14:12:06.145897" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:39 Monday 08 January 2024 14:12:06 +0000 (0:00:00.227) 0:00:20.422 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 08 January 2024 14:12:06 +0000 (0:00:00.019) 0:00:20.442 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:50 Monday 08 January 2024 14:12:06 +0000 (0:00:00.018) 0:00:20.460 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:56 Monday 08 January 2024 14:12:06 +0000 (0:00:00.018) 0:00:20.479 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:12:06 +0000 (0:00:00.018) 0:00:20.497 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:12:06 +0000 (0:00:00.018) 0:00:20.516 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:12:06 +0000 (0:00:00.032) 0:00:20.548 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:12:06 +0000 (0:00:00.032) 0:00:20.581 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:12:06 +0000 (0:00:00.021) 0:00:20.602 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:12:06 +0000 (0:00:00.021) 0:00:20.623 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:12:07 +0000 (0:00:01.531) 0:00:22.155 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:12:08 +0000 (0:00:00.946) 0:00:23.101 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:12:08 +0000 (0:00:00.022) 0:00:23.124 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:12:08 +0000 (0:00:00.021) 0:00:23.145 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:12:08 +0000 (0:00:00.021) 0:00:23.167 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:12:08 +0000 (0:00:00.051) 0:00:23.219 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:12:09 +0000 (0:00:00.026) 0:00:23.246 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:12:09 +0000 (0:00:00.024) 0:00:23.271 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:12:09 +0000 (0:00:00.036) 0:00:23.307 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:12:09 +0000 (0:00:00.404) 0:00:23.711 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:12:09 +0000 (0:00:00.035) 0:00:23.747 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:12:09 +0000 (0:00:00.019) 0:00:23.766 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:12:09 +0000 (0:00:00.018) 0:00:23.785 ******** 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, 9681cb06-8e8b-4b65-b4dc-5f996d3bd78a [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9681cb06-8e8b-4b65-b4dc-5f996d3bd78a (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:12:09 +0000 (0:00:00.411) 0:00:24.196 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:12:09 +0000 (0:00:00.025) 0:00:24.221 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9681cb06-8e8b-4b65-b4dc-5f996d3bd78a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9681cb06-8e8b-4b65-b4dc-5f996d3bd78a (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:12:10 +0000 (0:00:00.023) 0:00:24.245 ******** 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, 9681cb06-8e8b-4b65-b4dc-5f996d3bd78a\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9681cb06-8e8b-4b65-b4dc-5f996d3bd78a (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 9681cb06-8e8b-4b65-b4dc-5f996d3bd78a", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 9681cb06-8e8b-4b65-b4dc-5f996d3bd78a (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:12:10 +0000 (0:00:00.066) 0:00:24.311 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:12:10 +0000 (0:00:00.023) 0:00:24.334 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:110 Monday 08 January 2024 14:12:10 +0000 (0:00:00.215) 0:00:24.550 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:12:10 +0000 (0:00:00.045) 0:00:24.596 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:12:10 +0000 (0:00:00.028) 0:00:24.625 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723125.5220754, "block_size": 4096, "blocks": 0, "ctime": 1704723125.5220754, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23676, "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": 1704723125.5220754, "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_type5j824erd/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:12:10 +0000 (0:00:00.203) 0:00:24.828 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:112 Monday 08 January 2024 14:12:10 +0000 (0:00:00.021) 0:00:24.849 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:12:10 +0000 (0:00:00.045) 0:00:24.895 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:12:10 +0000 (0:00:00.029) 0:00:24.925 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:12:10 +0000 (0:00:00.021) 0:00:24.946 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:12:10 +0000 (0:00:00.199) 0:00:25.145 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:12:10 +0000 (0:00:00.019) 0:00:25.165 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021875", "end": "2024-01-08 14:12:11.136536", "rc": 0, "start": "2024-01-08 14:12:11.114661" } 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:12:11 +0000 (0:00:00.223) 0:00:25.389 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:12:11 +0000 (0:00:00.056) 0:00:25.445 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:12:11 +0000 (0:00:00.022) 0:00:25.468 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:12:11 +0000 (0:00:00.022) 0:00:25.490 ******** 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_type5j824erd/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:12:11 +0000 (0:00:00.020) 0:00:25.510 ******** 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_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:12:11 +0000 (0:00:00.018) 0:00:25.529 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:12:11 +0000 (0:00:00.022) 0:00:25.551 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:12:11 +0000 (0:00:00.022) 0:00:25.573 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:116 Monday 08 January 2024 14:12:11 +0000 (0:00:00.024) 0:00:25.598 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003481", "end": "2024-01-08 14:12:11.555412", "rc": 0, "start": "2024-01-08 14:12:11.551931" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.221 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.221 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_type5j824erd/tests/playbooks/tests_auto_gateway.yml:120 Monday 08 January 2024 14:12:11 +0000 (0:00:00.211) 0:00:25.810 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:126 Monday 08 January 2024 14:12:11 +0000 (0:00:00.021) 0:00:25.831 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003543", "end": "2024-01-08 14:12:11.780293", "rc": 0, "start": "2024-01-08 14:12:11.776750" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:130 Monday 08 January 2024 14:12:11 +0000 (0:00:00.201) 0:00:26.032 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:137 Monday 08 January 2024 14:12:11 +0000 (0:00:00.021) 0:00:26.054 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 08 January 2024 14:12:11 +0000 (0:00:00.020) 0:00:26.074 ******** included: /WORKDIR/git-route_type5j824erd/.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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 08 January 2024 14:12:11 +0000 (0:00:00.034) 0:00:26.108 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 08 January 2024 14:12:11 +0000 (0:00:00.046) 0:00:26.155 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 08 January 2024 14:12:11 +0000 (0:00:00.029) 0:00:26.184 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 08 January 2024 14:12:11 +0000 (0:00:00.023) 0:00:26.207 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 08 January 2024 14:12:13 +0000 (0:00:01.570) 0:00:27.777 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 08 January 2024 14:12:14 +0000 (0:00:00.976) 0:00:28.754 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 08 January 2024 14:12:14 +0000 (0:00:00.023) 0:00:28.777 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 08 January 2024 14:12:14 +0000 (0:00:00.021) 0:00:28.799 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 08 January 2024 14:12:14 +0000 (0:00:00.021) 0:00:28.821 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 08 January 2024 14:12:14 +0000 (0:00:00.054) 0:00:28.876 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 08 January 2024 14:12:14 +0000 (0:00:00.027) 0:00:28.904 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 08 January 2024 14:12:14 +0000 (0:00:00.028) 0:00:28.932 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 08 January 2024 14:12:14 +0000 (0:00:00.037) 0:00:28.969 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 08 January 2024 14:12:15 +0000 (0:00:00.392) 0:00:29.361 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 08 January 2024 14:12:15 +0000 (0:00:00.035) 0:00:29.397 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 08 January 2024 14:12:15 +0000 (0:00:00.022) 0:00:29.419 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 08 January 2024 14:12:15 +0000 (0:00:00.020) 0:00:29.439 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 08 January 2024 14:12:15 +0000 (0:00:00.453) 0:00:29.892 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 08 January 2024 14:12:15 +0000 (0:00:00.033) 0:00:29.926 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 08 January 2024 14:12:15 +0000 (0:00:00.021) 0:00:29.948 ******** 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_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 08 January 2024 14:12:15 +0000 (0:00:00.064) 0:00:30.012 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 08 January 2024 14:12:15 +0000 (0:00:00.023) 0:00:30.036 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:149 Monday 08 January 2024 14:12:16 +0000 (0:00:00.211) 0:00:30.248 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:12:16 +0000 (0:00:00.049) 0:00:30.297 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:12:16 +0000 (0:00:00.021) 0:00:30.319 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:12:16 +0000 (0:00:00.021) 0:00:30.340 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:12:16 +0000 (0:00:00.040) 0:00:30.380 ******** included: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:12:16 +0000 (0:00:00.031) 0:00:30.412 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003322", "end": "2024-01-08 14:12:16.374905", "rc": 0, "start": "2024-01-08 14:12:16.371583" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:12:16 +0000 (0:00:00.218) 0:00:30.631 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:12:16 +0000 (0:00:00.041) 0:00:30.672 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:12:16 +0000 (0:00:00.023) 0:00:30.696 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:23 Monday 08 January 2024 14:12:17 +0000 (0:00:00.901) 0:00:31.598 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:31 Monday 08 January 2024 14:12:17 +0000 (0:00:00.024) 0:00:31.623 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:39 Monday 08 January 2024 14:12:17 +0000 (0:00:00.018) 0:00:31.641 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.019046", "end": "2024-01-08 14:12:17.608651", "rc": 0, "start": "2024-01-08 14:12:17.589605" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:45 Monday 08 January 2024 14:12:17 +0000 (0:00:00.221) 0:00:31.863 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:50 Monday 08 January 2024 14:12:17 +0000 (0:00:00.055) 0:00:31.918 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:56 Monday 08 January 2024 14:12:17 +0000 (0:00:00.019) 0:00:31.938 ******** 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_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:12:17 +0000 (0:00:00.018) 0:00:31.956 ******** 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:12:17 +0000 (0:00:00.046) 0:00:32.003 ******** =============================================================================== Install iproute --------------------------------------------------------- 1.98s /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.46s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.12s /WORKDIR/git-route_type5j824erd/.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.98s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 0.91s /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.90s /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.90s /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.88s /WORKDIR/git-route_type5j824erd/tests/tests_auto_gateway_nm.yml:6 ------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.67s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:23 Create veth interface veth0 --------------------------------------------- 0.64s /WORKDIR/git-route_type5j824erd/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.64s /WORKDIR/git-route_type5j824erd/tests/playbooks/tests_auto_gateway.yml:3 ------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.55s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.48s /WORKDIR/git-route_type5j824erd/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.48s /WORKDIR/git-route_type5j824erd/.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. ---^---^---^---^---^---