# 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_typeaxyzuq08/.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_typeaxyzuq08/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_typeaxyzuq08/tests/tests_auto_gateway_nm.yml:6 Wednesday 10 January 2024 15:20:06 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeaxyzuq08/tests/tests_auto_gateway_nm.yml:9 Wednesday 10 January 2024 15:20:06 +0000 (0:00:00.864) 0:00:00.875 ***** included: /WORKDIR/git-route_typeaxyzuq08/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_typeaxyzuq08/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 15:20:06 +0000 (0:00:00.010) 0:00:00.886 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/tasks/el_repo_setup.yml:17 Wednesday 10 January 2024 15:20:07 +0000 (0:00:00.357) 0:00:01.244 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/tasks/el_repo_setup.yml:22 Wednesday 10 January 2024 15:20:07 +0000 (0:00:00.257) 0:00:01.501 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/tasks/el_repo_setup.yml:26 Wednesday 10 January 2024 15:20:07 +0000 (0:00:00.013) 0:00:01.515 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/tasks/el_repo_setup.yml:51 Wednesday 10 January 2024 15:20:07 +0000 (0:00:00.007) 0:00:01.522 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 15:20:07 +0000 (0:00:00.019) 0:00:01.542 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 15:20:07 +0000 (0:00:00.007) 0:00:01.549 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 15:20:07 +0000 (0:00:00.007) 0:00:01.556 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 15:20:07 +0000 (0:00:00.006) 0:00:01.563 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 15:20:07 +0000 (0:00:00.006) 0:00:01.569 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/tests_auto_gateway_nm.yml:11 Wednesday 10 January 2024 15:20:07 +0000 (0:00:00.006) 0:00:01.576 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 10 January 2024 15:20:07 +0000 (0:00:00.014) 0:00:01.591 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 10 January 2024 15:20:08 +0000 (0:00:00.718) 0:00:02.309 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:20:08 +0000 (0:00:00.021) 0:00:02.331 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:20:08 +0000 (0:00:00.009) 0:00:02.341 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003949", "end": "2024-01-10 15:20:08.662723", "rc": 0, "start": "2024-01-10 15:20:08.658774" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:20:08 +0000 (0:00:00.265) 0:00:02.606 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:20:08 +0000 (0:00:00.010) 0:00:02.616 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 10 January 2024 15:20:08 +0000 (0:00:00.009) 0:00:02.625 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 15:20:08 +0000 (0:00:00.024) 0:00:02.650 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 15:20:08 +0000 (0:00:00.007) 0:00:02.657 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 15:20:08 +0000 (0:00:00.008) 0:00:02.666 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:20:08 +0000 (0:00:00.011) 0:00:02.678 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:20:08 +0000 (0:00:00.010) 0:00:02.688 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003891", "end": "2024-01-10 15:20:08.954681", "rc": 0, "start": "2024-01-10 15:20:08.950790" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:20:08 +0000 (0:00:00.214) 0:00:02.902 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:20:08 +0000 (0:00:00.011) 0:00:02.913 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 15:20:09 +0000 (0:00:00.011) 0:00:02.924 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 15:20:11 +0000 (0:00:02.504) 0:00:05.429 ***** 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.234505", "end": "2024-01-10 15:20:11.932947", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-10 15:20:11.698442" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004339", "end": "2024-01-10 15:20:12.197074", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-10 15:20:12.192735" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004461", "end": "2024-01-10 15:20:12.401455", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-10 15:20:12.396994" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 15:20:12 +0000 (0:00:00.916) 0:00:06.346 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.205101", "end": "2024-01-10 15:20:12.812662", "rc": 0, "start": "2024-01-10 15:20:12.607561" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 15:20:12 +0000 (0:00:00.410) 0:00:06.756 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 15:20:12 +0000 (0:00:00.010) 0:00:06.766 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 15:20:12 +0000 (0:00:00.009) 0:00:06.776 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 15:20:12 +0000 (0:00:00.010) 0:00:06.786 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 15:20:12 +0000 (0:00:00.009) 0:00:06.795 ***** 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_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 10 January 2024 15:20:12 +0000 (0:00:00.008) 0:00:06.804 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:20:12 +0000 (0:00:00.022) 0:00:06.827 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:20:12 +0000 (0:00:00.013) 0:00:06.840 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900011.9292595, "block_size": 4096, "blocks": 0, "ctime": 1704900011.9292595, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26247, "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": 1704900011.9292595, "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_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:20:13 +0000 (0:00:00.206) 0:00:07.046 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 10 January 2024 15:20:13 +0000 (0:00:00.010) 0:00:07.057 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:20:13 +0000 (0:00:00.009) 0:00:07.067 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:20:13 +0000 (0:00:00.016) 0:00:07.083 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:20:13 +0000 (0:00:00.017) 0:00:07.101 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:20:13 +0000 (0:00:00.011) 0:00:07.112 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:20:13 +0000 (0:00:00.010) 0:00:07.123 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:20:15 +0000 (0:00:02.297) 0:00:09.420 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:20:16 +0000 (0:00:00.938) 0:00:10.359 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:20:16 +0000 (0:00:00.021) 0:00:10.380 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:20:16 +0000 (0:00:00.032) 0:00:10.413 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:20:16 +0000 (0:00:00.025) 0:00:10.438 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:20:16 +0000 (0:00:00.068) 0:00:10.507 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:20:16 +0000 (0:00:00.039) 0:00:10.546 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:20:16 +0000 (0:00:00.021) 0:00:10.568 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:20:16 +0000 (0:00:00.033) 0:00:10.602 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:20:17 +0000 (0:00:00.576) 0:00:11.179 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:20:17 +0000 (0:00:00.033) 0:00:11.212 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:20:17 +0000 (0:00:00.019) 0:00:11.231 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:20:17 +0000 (0:00:00.020) 0:00:11.252 ***** 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, 4585cb4d-e173-40f9-a817-702da047c732 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4585cb4d-e173-40f9-a817-702da047c732 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:20:18 +0000 (0:00:01.069) 0:00:12.322 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:20:18 +0000 (0:00:00.022) 0:00:12.345 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4585cb4d-e173-40f9-a817-702da047c732", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4585cb4d-e173-40f9-a817-702da047c732 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:20:18 +0000 (0:00:00.022) 0:00:12.367 ***** 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, 4585cb4d-e173-40f9-a817-702da047c732\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4585cb4d-e173-40f9-a817-702da047c732 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4585cb4d-e173-40f9-a817-702da047c732", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4585cb4d-e173-40f9-a817-702da047c732 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:20:18 +0000 (0:00:00.025) 0:00:12.393 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:20:18 +0000 (0:00:00.024) 0:00:12.417 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 10 January 2024 15:20:18 +0000 (0:00:00.312) 0:00:12.730 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:20:18 +0000 (0:00:00.043) 0:00:12.774 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:20:18 +0000 (0:00:00.052) 0:00:12.826 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900011.9292595, "block_size": 4096, "blocks": 0, "ctime": 1704900011.9292595, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26247, "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": 1704900011.9292595, "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_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:20:19 +0000 (0:00:00.215) 0:00:13.041 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 10 January 2024 15:20:19 +0000 (0:00:00.020) 0:00:13.062 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:20:19 +0000 (0:00:00.042) 0:00:13.104 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:20:19 +0000 (0:00:00.030) 0:00:13.135 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:20:19 +0000 (0:00:00.019) 0:00:13.155 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:20:19 +0000 (0:00:00.212) 0:00:13.367 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:20:19 +0000 (0:00:00.018) 0:00:13.385 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.133396", "end": "2024-01-10 15:20:19.780759", "rc": 0, "start": "2024-01-10 15:20:19.647363" } 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:20:19 +0000 (0:00:00.347) 0:00:13.732 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:20:19 +0000 (0:00:00.021) 0:00:13.754 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:20:19 +0000 (0:00:00.018) 0:00:13.773 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:20:19 +0000 (0:00:00.019) 0:00:13.792 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:20:19 +0000 (0:00:00.019) 0:00:13.812 ***** 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_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:20:19 +0000 (0:00:00.018) 0:00:13.830 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:20:19 +0000 (0:00:00.048) 0:00:13.879 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:20:19 +0000 (0:00:00.023) 0:00:13.902 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 10 January 2024 15:20:20 +0000 (0:00:00.021) 0:00:13.923 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004408", "end": "2024-01-10 15:20:20.191069", "rc": 0, "start": "2024-01-10 15:20:20.186661" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.140 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.46.140 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_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 10 January 2024 15:20:20 +0000 (0:00:00.219) 0:00:14.142 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 10 January 2024 15:20:20 +0000 (0:00:00.020) 0:00:14.163 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004018", "end": "2024-01-10 15:20:20.429242", "rc": 0, "start": "2024-01-10 15:20:20.425224" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 10 January 2024 15:20:20 +0000 (0:00:00.215) 0:00:14.379 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 10 January 2024 15:20:20 +0000 (0:00:00.021) 0:00:14.400 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:20:20 +0000 (0:00:00.019) 0:00:14.420 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:20:20 +0000 (0:00:00.034) 0:00:14.455 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:20:20 +0000 (0:00:00.032) 0:00:14.488 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:20:20 +0000 (0:00:00.022) 0:00:14.510 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:20:20 +0000 (0:00:00.022) 0:00:14.532 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:20:22 +0000 (0:00:02.147) 0:00:16.680 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:20:23 +0000 (0:00:00.811) 0:00:17.491 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:20:23 +0000 (0:00:00.022) 0:00:17.513 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:20:23 +0000 (0:00:00.023) 0:00:17.537 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:20:23 +0000 (0:00:00.024) 0:00:17.561 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:20:23 +0000 (0:00:00.054) 0:00:17.615 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:20:23 +0000 (0:00:00.023) 0:00:17.639 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:20:23 +0000 (0:00:00.023) 0:00:17.662 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:20:23 +0000 (0:00:00.034) 0:00:17.696 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:20:24 +0000 (0:00:00.409) 0:00:18.106 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:20:24 +0000 (0:00:00.034) 0:00:18.141 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:20:24 +0000 (0:00:00.019) 0:00:18.160 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:20:24 +0000 (0:00:00.019) 0:00:18.180 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:20:24 +0000 (0:00:00.462) 0:00:18.642 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:20:24 +0000 (0:00:00.023) 0:00:18.665 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:20:24 +0000 (0:00:00.022) 0:00:18.687 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:20:24 +0000 (0:00:00.023) 0:00:18.711 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:20:24 +0000 (0:00:00.055) 0:00:18.767 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 10 January 2024 15:20:25 +0000 (0:00:00.218) 0:00:18.985 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 15:20:25 +0000 (0:00:00.048) 0:00:19.033 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 15:20:25 +0000 (0:00:00.019) 0:00:19.052 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 15:20:25 +0000 (0:00:00.019) 0:00:19.071 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:20:25 +0000 (0:00:00.030) 0:00:19.102 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:20:25 +0000 (0:00:00.029) 0:00:19.132 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003618", "end": "2024-01-10 15:20:25.396330", "rc": 0, "start": "2024-01-10 15:20:25.392712" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:20:25 +0000 (0:00:00.214) 0:00:19.347 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:20:25 +0000 (0:00:00.021) 0:00:19.368 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 15:20:25 +0000 (0:00:00.021) 0:00:19.390 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 15:20:27 +0000 (0:00:02.180) 0:00:21.570 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 15:20:27 +0000 (0:00:00.025) 0:00:21.595 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 15:20:27 +0000 (0:00:00.044) 0:00:21.640 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008693", "end": "2024-01-10 15:20:27.913071", "rc": 0, "start": "2024-01-10 15:20:27.904378" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 15:20:27 +0000 (0:00:00.236) 0:00:21.877 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 15:20:27 +0000 (0:00:00.019) 0:00:21.896 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 15:20:27 +0000 (0:00:00.020) 0:00:21.917 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 15:20:28 +0000 (0:00:00.019) 0:00:21.937 ***** 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_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 10 January 2024 15:20:28 +0000 (0:00:00.019) 0:00:21.956 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 10 January 2024 15:20:28 +0000 (0:00:00.020) 0:00:21.976 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 15:20:28 +0000 (0:00:00.046) 0:00:22.022 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 15:20:28 +0000 (0:00:00.020) 0:00:22.042 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 15:20:28 +0000 (0:00:00.021) 0:00:22.063 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:20:28 +0000 (0:00:00.030) 0:00:22.094 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:20:28 +0000 (0:00:00.028) 0:00:22.122 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003813", "end": "2024-01-10 15:20:28.387202", "rc": 0, "start": "2024-01-10 15:20:28.383389" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:20:28 +0000 (0:00:00.214) 0:00:22.337 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:20:28 +0000 (0:00:00.047) 0:00:22.384 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 15:20:28 +0000 (0:00:00.020) 0:00:22.405 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 15:20:30 +0000 (0:00:02.180) 0:00:24.586 ***** 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.008259", "end": "2024-01-10 15:20:30.857340", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-10 15:20:30.849081" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004092", "end": "2024-01-10 15:20:31.132452", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-10 15:20:31.128360" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004532", "end": "2024-01-10 15:20:31.331118", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-10 15:20:31.326586" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 15:20:31 +0000 (0:00:00.698) 0:00:25.284 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024133", "end": "2024-01-10 15:20:31.570095", "rc": 0, "start": "2024-01-10 15:20:31.545962" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 15:20:31 +0000 (0:00:00.238) 0:00:25.523 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 15:20:31 +0000 (0:00:00.019) 0:00:25.542 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 15:20:31 +0000 (0:00:00.019) 0:00:25.561 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 15:20:31 +0000 (0:00:00.019) 0:00:25.581 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 15:20:31 +0000 (0:00:00.020) 0:00:25.601 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:20:31 +0000 (0:00:00.019) 0:00:25.621 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:20:31 +0000 (0:00:00.035) 0:00:25.657 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:20:31 +0000 (0:00:00.040) 0:00:25.698 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:20:31 +0000 (0:00:00.027) 0:00:25.725 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:20:31 +0000 (0:00:00.023) 0:00:25.749 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:20:34 +0000 (0:00:02.219) 0:00:27.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 : Print network provider] ************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:20:34 +0000 (0:00:00.861) 0:00:28.831 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:20:34 +0000 (0:00:00.023) 0:00:28.854 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:20:34 +0000 (0:00:00.023) 0:00:28.877 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:20:34 +0000 (0:00:00.022) 0:00:28.900 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:20:35 +0000 (0:00:00.062) 0:00:28.962 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:20:35 +0000 (0:00:00.023) 0:00:28.986 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:20:35 +0000 (0:00:00.022) 0:00:29.008 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:20:35 +0000 (0:00:00.035) 0:00:29.043 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:20:35 +0000 (0:00:00.415) 0:00:29.459 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:20:35 +0000 (0:00:00.034) 0:00:29.494 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:20:35 +0000 (0:00:00.023) 0:00:29.517 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:20:35 +0000 (0:00:00.019) 0:00:29.536 ***** 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, ff0fb8dd-e548-487c-a835-fa24bcf0dfc3 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ff0fb8dd-e548-487c-a835-fa24bcf0dfc3 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:20:36 +0000 (0:00:00.480) 0:00:30.017 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:20:36 +0000 (0:00:00.025) 0:00:30.042 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, ff0fb8dd-e548-487c-a835-fa24bcf0dfc3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ff0fb8dd-e548-487c-a835-fa24bcf0dfc3 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:20:36 +0000 (0:00:00.055) 0:00:30.098 ***** 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, ff0fb8dd-e548-487c-a835-fa24bcf0dfc3\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ff0fb8dd-e548-487c-a835-fa24bcf0dfc3 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, ff0fb8dd-e548-487c-a835-fa24bcf0dfc3", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ff0fb8dd-e548-487c-a835-fa24bcf0dfc3 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:20:36 +0000 (0:00:00.022) 0:00:30.121 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:20:36 +0000 (0:00:00.022) 0:00:30.143 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 10 January 2024 15:20:36 +0000 (0:00:00.222) 0:00:30.366 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:20:36 +0000 (0:00:00.054) 0:00:30.420 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:20:36 +0000 (0:00:00.032) 0:00:30.453 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704900030.854204, "block_size": 4096, "blocks": 0, "ctime": 1704900030.854204, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26833, "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": 1704900030.854204, "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_typeaxyzuq08/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:20:36 +0000 (0:00:00.214) 0:00:30.668 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 10 January 2024 15:20:36 +0000 (0:00:00.020) 0:00:30.688 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:20:36 +0000 (0:00:00.045) 0:00:30.734 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:20:36 +0000 (0:00:00.030) 0:00:30.764 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:20:36 +0000 (0:00:00.019) 0:00:30.784 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:20:37 +0000 (0:00:00.240) 0:00:31.025 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:20:37 +0000 (0:00:00.018) 0:00:31.043 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022279", "end": "2024-01-10 15:20:37.331347", "rc": 0, "start": "2024-01-10 15:20:37.309068" } 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:20:37 +0000 (0:00:00.239) 0:00:31.283 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:20:37 +0000 (0:00:00.024) 0:00:31.307 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:20:37 +0000 (0:00:00.021) 0:00:31.329 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:20:37 +0000 (0:00:00.022) 0:00:31.352 ***** 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_typeaxyzuq08/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:20:37 +0000 (0:00:00.021) 0:00:31.373 ***** 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_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:20:37 +0000 (0:00:00.019) 0:00:31.393 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:20:37 +0000 (0:00:00.023) 0:00:31.416 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:20:37 +0000 (0:00:00.023) 0:00:31.439 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 10 January 2024 15:20:37 +0000 (0:00:00.020) 0:00:31.460 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003982", "end": "2024-01-10 15:20:37.725791", "rc": 0, "start": "2024-01-10 15:20:37.721809" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.140 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.140 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_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 10 January 2024 15:20:37 +0000 (0:00:00.218) 0:00:31.678 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 10 January 2024 15:20:37 +0000 (0:00:00.021) 0:00:31.699 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004069", "end": "2024-01-10 15:20:37.964682", "rc": 0, "start": "2024-01-10 15:20:37.960613" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 10 January 2024 15:20:37 +0000 (0:00:00.218) 0:00:31.918 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 10 January 2024 15:20:38 +0000 (0:00:00.022) 0:00:31.940 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 15:20:38 +0000 (0:00:00.021) 0:00:31.962 ***** included: /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:20:38 +0000 (0:00:00.067) 0:00:32.030 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 15:20:38 +0000 (0:00:00.032) 0:00:32.063 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 15:20:38 +0000 (0:00:00.022) 0:00:32.085 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 15:20:38 +0000 (0:00:00.025) 0:00:32.110 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 15:20:40 +0000 (0:00:02.222) 0:00:34.333 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 15:20:41 +0000 (0:00:00.759) 0:00:35.093 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 15:20:41 +0000 (0:00:00.022) 0:00:35.115 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 15:20:41 +0000 (0:00:00.024) 0:00:35.139 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 15:20:41 +0000 (0:00:00.024) 0:00:35.164 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 15:20:41 +0000 (0:00:00.057) 0:00:35.221 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 15:20:41 +0000 (0:00:00.023) 0:00:35.245 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 15:20:41 +0000 (0:00:00.022) 0:00:35.268 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 15:20:41 +0000 (0:00:00.034) 0:00:35.302 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 15:20:41 +0000 (0:00:00.462) 0:00:35.765 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 15:20:41 +0000 (0:00:00.037) 0:00:35.803 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 15:20:41 +0000 (0:00:00.023) 0:00:35.826 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 15:20:41 +0000 (0:00:00.022) 0:00:35.848 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 15:20:42 +0000 (0:00:00.475) 0:00:36.324 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 15:20:42 +0000 (0:00:00.024) 0:00:36.349 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 15:20:42 +0000 (0:00:00.033) 0:00:36.383 ***** 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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 15:20:42 +0000 (0:00:00.028) 0:00:36.411 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 15:20:42 +0000 (0:00:00.037) 0:00:36.448 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 10 January 2024 15:20:42 +0000 (0:00:00.250) 0:00:36.698 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 15:20:42 +0000 (0:00:00.059) 0:00:36.757 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 15:20:42 +0000 (0:00:00.021) 0:00:36.779 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 15:20:42 +0000 (0:00:00.018) 0:00:36.798 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:20:42 +0000 (0:00:00.032) 0:00:36.831 ***** included: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:20:42 +0000 (0:00:00.066) 0:00:36.897 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003745", "end": "2024-01-10 15:20:43.201330", "rc": 0, "start": "2024-01-10 15:20:43.197585" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:20:43 +0000 (0:00:00.273) 0:00:37.170 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:20:43 +0000 (0:00:00.036) 0:00:37.207 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 15:20:43 +0000 (0:00:00.037) 0:00:37.245 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 15:20:45 +0000 (0:00:02.203) 0:00:39.448 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 15:20:45 +0000 (0:00:00.026) 0:00:39.475 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 15:20:45 +0000 (0:00:00.022) 0:00:39.497 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010453", "end": "2024-01-10 15:20:45.771834", "rc": 0, "start": "2024-01-10 15:20:45.761381" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 15:20:45 +0000 (0:00:00.233) 0:00:39.731 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 15:20:45 +0000 (0:00:00.024) 0:00:39.756 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 15:20:45 +0000 (0:00:00.022) 0:00:39.778 ***** 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_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 15:20:45 +0000 (0:00:00.021) 0:00:39.800 ***** 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 Wednesday 10 January 2024 15:20:45 +0000 (0:00:00.063) 0:00:39.864 ***** =============================================================================== Install iproute --------------------------------------------------------- 2.50s /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.30s /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.22s /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.22s /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.20s /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.18s /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.18s /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.15s /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.07s /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 0.92s /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-route_typeaxyzuq08/tests/tests_auto_gateway_nm.yml:6 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.86s /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /WORKDIR/git-route_typeaxyzuq08/.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.76s /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tests_auto_gateway.yml:3 ------ Create veth interface veth0 --------------------------------------------- 0.70s /WORKDIR/git-route_typeaxyzuq08/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.58s /WORKDIR/git-route_typeaxyzuq08/.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_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.48s /WORKDIR/git-route_typeaxyzuq08/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---