# 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_typewcur7fxl/.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_typewcur7fxl/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_typewcur7fxl/tests/tests_auto_gateway_nm.yml:6 Wednesday 10 January 2024 23:49:46 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typewcur7fxl/tests/tests_auto_gateway_nm.yml:9 Wednesday 10 January 2024 23:49:47 +0000 (0:00:00.908) 0:00:00.920 ***** included: /WORKDIR/git-route_typewcur7fxl/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_typewcur7fxl/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 23:49:47 +0000 (0:00:00.011) 0:00:00.931 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/tasks/el_repo_setup.yml:17 Wednesday 10 January 2024 23:49:47 +0000 (0:00:00.356) 0:00:01.288 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/tasks/el_repo_setup.yml:22 Wednesday 10 January 2024 23:49:48 +0000 (0:00:00.313) 0:00:01.602 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/tasks/el_repo_setup.yml:26 Wednesday 10 January 2024 23:49:48 +0000 (0:00:00.013) 0:00:01.616 ***** 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_typewcur7fxl/tests/tasks/el_repo_setup.yml:51 Wednesday 10 January 2024 23:49:48 +0000 (0:00:00.007) 0:00:01.623 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 23:49:48 +0000 (0:00:00.024) 0:00:01.648 ***** 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_typewcur7fxl/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 23:49:48 +0000 (0:00:00.025) 0:00:01.673 ***** 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_typewcur7fxl/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 23:49:48 +0000 (0:00:00.007) 0:00:01.681 ***** 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_typewcur7fxl/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 23:49:48 +0000 (0:00:00.007) 0:00:01.688 ***** 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_typewcur7fxl/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 23:49:48 +0000 (0:00:00.010) 0:00:01.699 ***** 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_typewcur7fxl/tests/tests_auto_gateway_nm.yml:11 Wednesday 10 January 2024 23:49:48 +0000 (0:00:00.014) 0:00:01.714 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 10 January 2024 23:49:48 +0000 (0:00:00.032) 0:00:01.746 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 10 January 2024 23:49:48 +0000 (0:00:00.724) 0:00:02.470 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:49:49 +0000 (0:00:00.067) 0:00:02.538 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:49:49 +0000 (0:00:00.017) 0:00:02.555 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003799", "end": "2024-01-10 23:49:49.296375", "rc": 0, "start": "2024-01-10 23:49:49.292576" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:49:49 +0000 (0:00:00.289) 0:00:02.845 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:49:49 +0000 (0:00:00.020) 0:00:02.866 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 10 January 2024 23:49:49 +0000 (0:00:00.028) 0:00:02.894 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 23:49:49 +0000 (0:00:00.035) 0:00:02.930 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 23:49:49 +0000 (0:00:00.029) 0:00:02.959 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 23:49:49 +0000 (0:00:00.038) 0:00:02.998 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:49:49 +0000 (0:00:00.020) 0:00:03.018 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:49:49 +0000 (0:00:00.021) 0:00:03.040 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003713", "end": "2024-01-10 23:49:49.719343", "rc": 0, "start": "2024-01-10 23:49:49.715630" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:49:49 +0000 (0:00:00.226) 0:00:03.266 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:49:49 +0000 (0:00:00.010) 0:00:03.277 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 23:49:49 +0000 (0:00:00.011) 0:00:03.288 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 23:49:52 +0000 (0:00:02.311) 0:00:05.600 ***** 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.010334", "end": "2024-01-10 23:49:52.272074", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-10 23:49:52.261740" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004207", "end": "2024-01-10 23:49:52.529837", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-10 23:49:52.525630" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004783", "end": "2024-01-10 23:49:52.732937", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-10 23:49:52.728154" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 23:49:52 +0000 (0:00:00.692) 0:00:06.292 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.155331", "end": "2024-01-10 23:49:53.120006", "rc": 0, "start": "2024-01-10 23:49:52.964675" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 23:49:53 +0000 (0:00:00.382) 0:00:06.674 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 23:49:53 +0000 (0:00:00.010) 0:00:06.685 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 23:49:53 +0000 (0:00:00.009) 0:00:06.694 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 23:49:53 +0000 (0:00:00.009) 0:00:06.703 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 23:49:53 +0000 (0:00:00.008) 0:00:06.712 ***** 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_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 10 January 2024 23:49:53 +0000 (0:00:00.007) 0:00:06.720 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 23:49:53 +0000 (0:00:00.022) 0:00:06.742 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:49:53 +0000 (0:00:00.010) 0:00:06.752 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704930592.2659853, "block_size": 4096, "blocks": 0, "ctime": 1704930592.2659853, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28240, "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": 1704930592.2659853, "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_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 23:49:53 +0000 (0:00:00.204) 0:00:06.957 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 10 January 2024 23:49:53 +0000 (0:00:00.012) 0:00:06.969 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:49:53 +0000 (0:00:00.010) 0:00:06.980 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:49:53 +0000 (0:00:00.040) 0:00:07.021 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:49:53 +0000 (0:00:00.018) 0:00:07.039 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:49:53 +0000 (0:00:00.013) 0:00:07.052 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:49:53 +0000 (0:00:00.011) 0:00:07.064 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:49:55 +0000 (0:00:02.365) 0:00:09.429 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:49:56 +0000 (0:00:00.951) 0:00:10.381 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:49:56 +0000 (0:00:00.021) 0:00:10.402 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:49:56 +0000 (0:00:00.020) 0:00:10.423 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:49:56 +0000 (0:00:00.020) 0:00:10.443 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:49:56 +0000 (0:00:00.055) 0:00:10.499 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:49:57 +0000 (0:00:00.040) 0:00:10.539 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:49:57 +0000 (0:00:00.022) 0:00:10.562 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:49:57 +0000 (0:00:00.035) 0:00:10.597 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:49:57 +0000 (0:00:00.571) 0:00:11.169 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:49:57 +0000 (0:00:00.032) 0:00:11.202 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:49:57 +0000 (0:00:00.018) 0:00:11.221 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:49:57 +0000 (0:00:00.019) 0:00:11.241 ***** 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, 8d04b865-0faf-45dd-902d-ae215ab9135b [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8d04b865-0faf-45dd-902d-ae215ab9135b (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:49:58 +0000 (0:00:00.606) 0:00:11.848 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:49:58 +0000 (0:00:00.022) 0:00:11.870 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 8d04b865-0faf-45dd-902d-ae215ab9135b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8d04b865-0faf-45dd-902d-ae215ab9135b (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:49:58 +0000 (0:00:00.021) 0:00:11.892 ***** 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, 8d04b865-0faf-45dd-902d-ae215ab9135b\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8d04b865-0faf-45dd-902d-ae215ab9135b (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 8d04b865-0faf-45dd-902d-ae215ab9135b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8d04b865-0faf-45dd-902d-ae215ab9135b (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:49:58 +0000 (0:00:00.021) 0:00:11.913 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:49:58 +0000 (0:00:00.021) 0:00:11.935 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 10 January 2024 23:49:58 +0000 (0:00:00.309) 0:00:12.244 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 23:49:58 +0000 (0:00:00.045) 0:00:12.289 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:49:58 +0000 (0:00:00.056) 0:00:12.346 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704930592.2659853, "block_size": 4096, "blocks": 0, "ctime": 1704930592.2659853, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28240, "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": 1704930592.2659853, "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_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 23:49:59 +0000 (0:00:00.215) 0:00:12.561 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 10 January 2024 23:49:59 +0000 (0:00:00.023) 0:00:12.585 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 23:49:59 +0000 (0:00:00.047) 0:00:12.632 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 23:49:59 +0000 (0:00:00.033) 0:00:12.666 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 23:49:59 +0000 (0:00:00.029) 0:00:12.695 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 23:49:59 +0000 (0:00:00.212) 0:00:12.907 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 23:49:59 +0000 (0:00:00.018) 0:00:12.926 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.127317", "end": "2024-01-10 23:49:59.709552", "rc": 0, "start": "2024-01-10 23:49:59.582235" } 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 23:49:59 +0000 (0:00:00.342) 0:00:13.269 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 23:49:59 +0000 (0:00:00.021) 0:00:13.290 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 23:49:59 +0000 (0:00:00.018) 0:00:13.309 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 23:49:59 +0000 (0:00:00.018) 0:00:13.327 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 23:49:59 +0000 (0:00:00.018) 0:00:13.345 ***** 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_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 23:49:59 +0000 (0:00:00.018) 0:00:13.364 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 23:49:59 +0000 (0:00:00.047) 0:00:13.411 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 23:49:59 +0000 (0:00:00.023) 0:00:13.435 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 10 January 2024 23:49:59 +0000 (0:00:00.021) 0:00:13.456 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004510", "end": "2024-01-10 23:50:00.124614", "rc": 0, "start": "2024-01-10 23:50:00.120104" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.162 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.162 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_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 10 January 2024 23:50:00 +0000 (0:00:00.225) 0:00:13.682 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 10 January 2024 23:50:00 +0000 (0:00:00.020) 0:00:13.703 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004396", "end": "2024-01-10 23:50:00.365853", "rc": 0, "start": "2024-01-10 23:50:00.361457" } 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_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 10 January 2024 23:50:00 +0000 (0:00:00.221) 0:00:13.924 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 10 January 2024 23:50:00 +0000 (0:00:00.022) 0:00:13.947 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:50:00 +0000 (0:00:00.022) 0:00:13.969 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:50:00 +0000 (0:00:00.035) 0:00:14.004 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:50:00 +0000 (0:00:00.033) 0:00:14.037 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:50:00 +0000 (0:00:00.022) 0:00:14.060 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:50:00 +0000 (0:00:00.024) 0:00:14.085 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:50:02 +0000 (0:00:02.270) 0:00:16.355 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:50:03 +0000 (0:00:00.820) 0:00:17.176 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:50:03 +0000 (0:00:00.021) 0:00:17.197 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:50:03 +0000 (0:00:00.022) 0:00:17.219 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:50:03 +0000 (0:00:00.021) 0:00:17.240 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:50:03 +0000 (0:00:00.051) 0:00:17.292 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:50:03 +0000 (0:00:00.028) 0:00:17.321 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:50:03 +0000 (0:00:00.022) 0:00:17.343 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:50:03 +0000 (0:00:00.041) 0:00:17.384 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:50:04 +0000 (0:00:00.421) 0:00:17.806 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:50:04 +0000 (0:00:00.038) 0:00:17.845 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:50:04 +0000 (0:00:00.019) 0:00:17.864 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:50:04 +0000 (0:00:00.020) 0:00:17.884 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:50:04 +0000 (0:00:00.467) 0:00:18.352 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:50:04 +0000 (0:00:00.029) 0:00:18.381 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:50:04 +0000 (0:00:00.024) 0:00:18.406 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:50:04 +0000 (0:00:00.022) 0:00:18.428 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:50:04 +0000 (0:00:00.058) 0:00:18.486 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 10 January 2024 23:50:05 +0000 (0:00:00.254) 0:00:18.741 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 23:50:05 +0000 (0:00:00.054) 0:00:18.796 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 23:50:05 +0000 (0:00:00.020) 0:00:18.817 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 23:50:05 +0000 (0:00:00.020) 0:00:18.837 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:50:05 +0000 (0:00:00.039) 0:00:18.877 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:50:05 +0000 (0:00:00.030) 0:00:18.907 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003755", "end": "2024-01-10 23:50:05.568708", "rc": 0, "start": "2024-01-10 23:50:05.564953" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:50:05 +0000 (0:00:00.219) 0:00:19.127 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:50:05 +0000 (0:00:00.021) 0:00:19.148 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 23:50:05 +0000 (0:00:00.019) 0:00:19.168 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 23:50:07 +0000 (0:00:02.195) 0:00:21.363 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 23:50:07 +0000 (0:00:00.033) 0:00:21.397 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 23:50:07 +0000 (0:00:00.066) 0:00:21.464 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.021138", "end": "2024-01-10 23:50:08.225648", "rc": 0, "start": "2024-01-10 23:50:08.204510" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 23:50:08 +0000 (0:00:00.322) 0:00:21.787 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 23:50:08 +0000 (0:00:00.028) 0:00:21.815 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 23:50:08 +0000 (0:00:00.022) 0:00:21.838 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 23:50:08 +0000 (0:00:00.028) 0:00:21.867 ***** 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_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 10 January 2024 23:50:08 +0000 (0:00:00.028) 0:00:21.896 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 10 January 2024 23:50:08 +0000 (0:00:00.025) 0:00:21.921 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 23:50:08 +0000 (0:00:00.056) 0:00:21.977 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 23:50:08 +0000 (0:00:00.022) 0:00:22.000 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 23:50:08 +0000 (0:00:00.023) 0:00:22.023 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:50:08 +0000 (0:00:00.031) 0:00:22.055 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:50:08 +0000 (0:00:00.029) 0:00:22.084 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003893", "end": "2024-01-10 23:50:08.745738", "rc": 0, "start": "2024-01-10 23:50:08.741845" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:50:08 +0000 (0:00:00.219) 0:00:22.303 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:50:08 +0000 (0:00:00.051) 0:00:22.355 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 23:50:08 +0000 (0:00:00.020) 0:00:22.376 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 23:50:11 +0000 (0:00:02.283) 0:00:24.659 ***** 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.009051", "end": "2024-01-10 23:50:11.332841", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-10 23:50:11.323790" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004347", "end": "2024-01-10 23:50:11.597864", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-10 23:50:11.593517" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005180", "end": "2024-01-10 23:50:11.802059", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-10 23:50:11.796879" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 23:50:11 +0000 (0:00:00.700) 0:00:25.359 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022618", "end": "2024-01-10 23:50:12.040855", "rc": 0, "start": "2024-01-10 23:50:12.018237" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 23:50:12 +0000 (0:00:00.240) 0:00:25.600 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 23:50:12 +0000 (0:00:00.022) 0:00:25.622 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 23:50:12 +0000 (0:00:00.019) 0:00:25.642 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 23:50:12 +0000 (0:00:00.019) 0:00:25.661 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 23:50:12 +0000 (0:00:00.020) 0:00:25.682 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:50:12 +0000 (0:00:00.020) 0:00:25.702 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:50:12 +0000 (0:00:00.034) 0:00:25.736 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:50:12 +0000 (0:00:00.032) 0:00:25.769 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:50:12 +0000 (0:00:00.025) 0:00:25.794 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:50:12 +0000 (0:00:00.024) 0:00:25.818 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:50:14 +0000 (0:00:02.224) 0:00:28.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 : Print network provider] ************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:50:15 +0000 (0:00:00.831) 0:00:28.874 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:50:15 +0000 (0:00:00.022) 0:00:28.897 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:50:15 +0000 (0:00:00.025) 0:00:28.922 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:50:15 +0000 (0:00:00.024) 0:00:28.946 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:50:15 +0000 (0:00:00.061) 0:00:29.008 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:50:15 +0000 (0:00:00.022) 0:00:29.030 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:50:15 +0000 (0:00:00.021) 0:00:29.052 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:50:15 +0000 (0:00:00.033) 0:00:29.085 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:50:15 +0000 (0:00:00.407) 0:00:29.493 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:50:16 +0000 (0:00:00.033) 0:00:29.527 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:50:16 +0000 (0:00:00.019) 0:00:29.547 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:50:16 +0000 (0:00:00.019) 0:00:29.566 ***** 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, 96666774-92f2-4bdf-8e43-ec497d923b82 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 96666774-92f2-4bdf-8e43-ec497d923b82 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:50:16 +0000 (0:00:00.439) 0:00:30.006 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:50:16 +0000 (0:00:00.022) 0:00:30.029 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 96666774-92f2-4bdf-8e43-ec497d923b82", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 96666774-92f2-4bdf-8e43-ec497d923b82 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:50:16 +0000 (0:00:00.053) 0:00:30.083 ***** 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, 96666774-92f2-4bdf-8e43-ec497d923b82\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 96666774-92f2-4bdf-8e43-ec497d923b82 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 96666774-92f2-4bdf-8e43-ec497d923b82", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 96666774-92f2-4bdf-8e43-ec497d923b82 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:50:16 +0000 (0:00:00.024) 0:00:30.107 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:50:16 +0000 (0:00:00.023) 0:00:30.131 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 10 January 2024 23:50:16 +0000 (0:00:00.221) 0:00:30.352 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 23:50:16 +0000 (0:00:00.047) 0:00:30.400 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:50:16 +0000 (0:00:00.030) 0:00:30.431 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704930611.328805, "block_size": 4096, "blocks": 0, "ctime": 1704930611.328805, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28826, "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": 1704930611.328805, "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_typewcur7fxl/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 23:50:17 +0000 (0:00:00.213) 0:00:30.645 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 10 January 2024 23:50:17 +0000 (0:00:00.020) 0:00:30.665 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 23:50:17 +0000 (0:00:00.046) 0:00:30.711 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 23:50:17 +0000 (0:00:00.030) 0:00:30.742 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 23:50:17 +0000 (0:00:00.019) 0:00:30.762 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 23:50:17 +0000 (0:00:00.248) 0:00:31.010 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 23:50:17 +0000 (0:00:00.020) 0:00:31.031 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023422", "end": "2024-01-10 23:50:17.713356", "rc": 0, "start": "2024-01-10 23:50:17.689934" } 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 23:50:17 +0000 (0:00:00.243) 0:00:31.274 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 23:50:17 +0000 (0:00:00.023) 0:00:31.297 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 23:50:17 +0000 (0:00:00.020) 0:00:31.317 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 23:50:17 +0000 (0:00:00.020) 0:00:31.338 ***** 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_typewcur7fxl/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 23:50:17 +0000 (0:00:00.021) 0:00:31.359 ***** 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_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 23:50:17 +0000 (0:00:00.027) 0:00:31.386 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 23:50:17 +0000 (0:00:00.026) 0:00:31.412 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 23:50:17 +0000 (0:00:00.024) 0:00:31.437 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 10 January 2024 23:50:17 +0000 (0:00:00.027) 0:00:31.464 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004072", "end": "2024-01-10 23:50:18.125122", "rc": 0, "start": "2024-01-10 23:50:18.121050" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.162 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.162 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_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 10 January 2024 23:50:18 +0000 (0:00:00.220) 0:00:31.684 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 10 January 2024 23:50:18 +0000 (0:00:00.021) 0:00:31.706 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004338", "end": "2024-01-10 23:50:18.367297", "rc": 0, "start": "2024-01-10 23:50:18.362959" } 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_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 10 January 2024 23:50:18 +0000 (0:00:00.229) 0:00:31.936 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 10 January 2024 23:50:18 +0000 (0:00:00.048) 0:00:31.984 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 23:50:18 +0000 (0:00:00.056) 0:00:32.040 ***** included: /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:50:18 +0000 (0:00:00.072) 0:00:32.113 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 23:50:18 +0000 (0:00:00.058) 0:00:32.171 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 23:50:18 +0000 (0:00:00.027) 0:00:32.199 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 23:50:18 +0000 (0:00:00.024) 0:00:32.223 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 23:50:21 +0000 (0:00:02.316) 0:00:34.540 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 23:50:21 +0000 (0:00:00.798) 0:00:35.338 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 23:50:21 +0000 (0:00:00.023) 0:00:35.362 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 23:50:21 +0000 (0:00:00.023) 0:00:35.385 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 23:50:21 +0000 (0:00:00.031) 0:00:35.417 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 23:50:21 +0000 (0:00:00.054) 0:00:35.471 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 23:50:21 +0000 (0:00:00.025) 0:00:35.496 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 23:50:22 +0000 (0:00:00.039) 0:00:35.536 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 23:50:22 +0000 (0:00:00.039) 0:00:35.575 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 23:50:22 +0000 (0:00:00.484) 0:00:36.060 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 23:50:22 +0000 (0:00:00.046) 0:00:36.107 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 23:50:22 +0000 (0:00:00.020) 0:00:36.127 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 23:50:22 +0000 (0:00:00.019) 0:00:36.147 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 23:50:23 +0000 (0:00:00.465) 0:00:36.612 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 23:50:23 +0000 (0:00:00.025) 0:00:36.638 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 23:50:23 +0000 (0:00:00.025) 0:00:36.663 ***** 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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 23:50:23 +0000 (0:00:00.022) 0:00:36.686 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 23:50:23 +0000 (0:00:00.022) 0:00:36.708 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 10 January 2024 23:50:23 +0000 (0:00:00.222) 0:00:36.931 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 23:50:23 +0000 (0:00:00.051) 0:00:36.982 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 23:50:23 +0000 (0:00:00.020) 0:00:37.002 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 23:50:23 +0000 (0:00:00.018) 0:00:37.020 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:50:23 +0000 (0:00:00.068) 0:00:37.089 ***** included: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:50:23 +0000 (0:00:00.031) 0:00:37.120 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003925", "end": "2024-01-10 23:50:23.781781", "rc": 0, "start": "2024-01-10 23:50:23.777856" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:50:23 +0000 (0:00:00.223) 0:00:37.343 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:50:23 +0000 (0:00:00.021) 0:00:37.365 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 23:50:23 +0000 (0:00:00.025) 0:00:37.390 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 23:50:26 +0000 (0:00:02.209) 0:00:39.599 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 23:50:26 +0000 (0:00:00.029) 0:00:39.629 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 23:50:26 +0000 (0:00:00.029) 0:00:39.658 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.020760", "end": "2024-01-10 23:50:26.345693", "rc": 0, "start": "2024-01-10 23:50:26.324933" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 23:50:26 +0000 (0:00:00.249) 0:00:39.908 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 23:50:26 +0000 (0:00:00.020) 0:00:39.928 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 23:50:26 +0000 (0:00:00.020) 0:00:39.948 ***** 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_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 23:50:26 +0000 (0:00:00.019) 0:00:39.968 ***** 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 23:50:26 +0000 (0:00:00.049) 0:00:40.018 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.37s /WORKDIR/git-route_typewcur7fxl/.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.32s /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.31s /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.28s /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.27s /WORKDIR/git-route_typewcur7fxl/.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_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.21s /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.20s /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-route_typewcur7fxl/tests/tests_auto_gateway_nm.yml:6 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.83s /WORKDIR/git-route_typewcur7fxl/.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.82s /WORKDIR/git-route_typewcur7fxl/.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.80s /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tests_auto_gateway.yml:3 ------ Create veth interface veth0 --------------------------------------------- 0.70s /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:23 Create veth interface veth0 --------------------------------------------- 0.69s /WORKDIR/git-route_typewcur7fxl/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.61s /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.57s /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.48s /WORKDIR/git-route_typewcur7fxl/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.47s /WORKDIR/git-route_typewcur7fxl/.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. ---^---^---^---^---^---