# 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_typeqew44wn4/.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_typeqew44wn4/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_typeqew44wn4/tests/tests_auto_gateway_nm.yml:6 Tuesday 09 January 2024 20:07:54 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeqew44wn4/tests/tests_auto_gateway_nm.yml:9 Tuesday 09 January 2024 20:07:55 +0000 (0:00:00.749) 0:00:00.760 ******* included: /WORKDIR/git-route_typeqew44wn4/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_typeqew44wn4/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:07:55 +0000 (0:00:00.011) 0:00:00.772 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/tasks/el_repo_setup.yml:17 Tuesday 09 January 2024 20:07:55 +0000 (0:00:00.362) 0:00:01.134 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/tasks/el_repo_setup.yml:22 Tuesday 09 January 2024 20:07:55 +0000 (0:00:00.242) 0:00:01.377 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/tasks/el_repo_setup.yml:26 Tuesday 09 January 2024 20:07:55 +0000 (0:00:00.013) 0:00:01.390 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/tasks/el_repo_setup.yml:51 Tuesday 09 January 2024 20:07:55 +0000 (0:00:00.007) 0:00:01.398 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:07:55 +0000 (0:00:00.019) 0:00:01.418 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:07:55 +0000 (0:00:00.007) 0:00:01.425 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:07:55 +0000 (0:00:00.007) 0:00:01.432 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:07:55 +0000 (0:00:00.007) 0:00:01.439 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:07:55 +0000 (0:00:00.006) 0:00:01.446 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/tests_auto_gateway_nm.yml:11 Tuesday 09 January 2024 20:07:55 +0000 (0:00:00.007) 0:00:01.453 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 09 January 2024 20:07:55 +0000 (0:00:00.014) 0:00:01.468 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 09 January 2024 20:07:56 +0000 (0:00:00.608) 0:00:02.077 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:07:56 +0000 (0:00:00.022) 0:00:02.099 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:07:56 +0000 (0:00:00.010) 0:00:02.110 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004448", "end": "2024-01-09 20:07:57.624508", "rc": 0, "start": "2024-01-09 20:07:56.620060" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:07:57 +0000 (0:00:01.249) 0:00:03.360 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:07:57 +0000 (0:00:00.020) 0:00:03.380 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 09 January 2024 20:07:57 +0000 (0:00:00.016) 0:00:03.397 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:07:57 +0000 (0:00:00.024) 0:00:03.422 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:07:57 +0000 (0:00:00.008) 0:00:03.431 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:07:57 +0000 (0:00:00.007) 0:00:03.439 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:07:57 +0000 (0:00:00.011) 0:00:03.450 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:07:57 +0000 (0:00:00.015) 0:00:03.466 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003238", "end": "2024-01-09 20:07:57.922602", "rc": 0, "start": "2024-01-09 20:07:57.919364" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:07:57 +0000 (0:00:00.191) 0:00:03.657 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:07:57 +0000 (0:00:00.010) 0:00:03.667 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:07:57 +0000 (0:00:00.010) 0:00:03.678 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 20:07:59 +0000 (0:00:01.933) 0:00:05.612 ******* 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.021736", "end": "2024-01-09 20:08:00.092243", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 20:08:00.070507" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003483", "end": "2024-01-09 20:08:00.310979", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 20:08:00.307496" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003957", "end": "2024-01-09 20:08:00.512765", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 20:08:00.508808" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 20:08:00 +0000 (0:00:00.636) 0:00:06.249 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.086214", "end": "2024-01-09 20:08:00.788838", "rc": 0, "start": "2024-01-09 20:08:00.702624" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 20:08:00 +0000 (0:00:00.291) 0:00:06.540 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 20:08:00 +0000 (0:00:00.015) 0:00:06.555 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 20:08:00 +0000 (0:00:00.017) 0:00:06.573 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 20:08:00 +0000 (0:00:00.021) 0:00:06.594 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:08:00 +0000 (0:00:00.012) 0:00:06.606 ******* 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_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 09 January 2024 20:08:00 +0000 (0:00:00.008) 0:00:06.614 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:08:00 +0000 (0:00:00.022) 0:00:06.637 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:08:00 +0000 (0:00:00.010) 0:00:06.647 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830880.08436, "block_size": 4096, "blocks": 0, "ctime": 1704830880.08436, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22953, "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": 1704830880.08436, "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_typeqew44wn4/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:08:01 +0000 (0:00:00.195) 0:00:06.843 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 09 January 2024 20:08:01 +0000 (0:00:00.011) 0:00:06.854 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 20:08:01 +0000 (0:00:00.008) 0:00:06.863 ******* included: /WORKDIR/git-route_typeqew44wn4/.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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:08:01 +0000 (0:00:00.015) 0:00:06.879 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 20:08:01 +0000 (0:00:00.017) 0:00:06.896 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 20:08:01 +0000 (0:00:00.010) 0:00:06.906 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 20:08:01 +0000 (0:00:00.010) 0:00:06.917 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 20:08:02 +0000 (0:00:01.557) 0:00:08.475 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 20:08:03 +0000 (0:00:01.130) 0:00:09.606 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 20:08:03 +0000 (0:00:00.020) 0:00:09.626 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 20:08:03 +0000 (0:00:00.021) 0:00:09.647 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 20:08:03 +0000 (0:00:00.021) 0:00:09.669 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 20:08:04 +0000 (0:00:00.048) 0:00:09.717 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 20:08:04 +0000 (0:00:00.020) 0:00:09.738 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 20:08:04 +0000 (0:00:00.024) 0:00:09.763 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 20:08:04 +0000 (0:00:00.056) 0:00:09.819 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 20:08:04 +0000 (0:00:00.545) 0:00:10.364 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 20:08:04 +0000 (0:00:00.033) 0:00:10.398 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 20:08:04 +0000 (0:00:00.019) 0:00:10.417 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 20:08:04 +0000 (0:00:00.018) 0:00:10.435 ******* 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, 43b9b056-d915-41da-ae94-f1241a7abe15 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 43b9b056-d915-41da-ae94-f1241a7abe15 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 20:08:05 +0000 (0:00:00.786) 0:00:11.222 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 20:08:05 +0000 (0:00:00.021) 0:00:11.243 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 43b9b056-d915-41da-ae94-f1241a7abe15", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 43b9b056-d915-41da-ae94-f1241a7abe15 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 20:08:05 +0000 (0:00:00.020) 0:00:11.263 ******* 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, 43b9b056-d915-41da-ae94-f1241a7abe15\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 43b9b056-d915-41da-ae94-f1241a7abe15 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 43b9b056-d915-41da-ae94-f1241a7abe15", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 43b9b056-d915-41da-ae94-f1241a7abe15 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 20:08:05 +0000 (0:00:00.020) 0:00:11.284 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 20:08:05 +0000 (0:00:00.019) 0:00:11.304 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 09 January 2024 20:08:05 +0000 (0:00:00.294) 0:00:11.598 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:08:05 +0000 (0:00:00.040) 0:00:11.639 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:08:05 +0000 (0:00:00.028) 0:00:11.668 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830880.08436, "block_size": 4096, "blocks": 0, "ctime": 1704830880.08436, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22953, "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": 1704830880.08436, "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_typeqew44wn4/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:08:06 +0000 (0:00:00.200) 0:00:11.868 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 09 January 2024 20:08:06 +0000 (0:00:00.020) 0:00:11.888 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:08:06 +0000 (0:00:00.064) 0:00:11.953 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:08:06 +0000 (0:00:00.030) 0:00:11.984 ******* 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_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:08:06 +0000 (0:00:00.018) 0:00:12.003 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:08:06 +0000 (0:00:00.198) 0:00:12.201 ******* 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_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:08:06 +0000 (0:00:00.029) 0:00:12.231 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.111539", "end": "2024-01-09 20:08:06.798029", "rc": 0, "start": "2024-01-09 20:08:06.686490" } 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_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:08:06 +0000 (0:00:00.309) 0:00:12.541 ******* 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_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:08:06 +0000 (0:00:00.021) 0:00:12.563 ******* 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_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:08:06 +0000 (0:00:00.018) 0:00:12.581 ******* 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_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:08:06 +0000 (0:00:00.019) 0:00:12.600 ******* 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_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:08:06 +0000 (0:00:00.019) 0:00:12.619 ******* 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_typeqew44wn4/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:08:06 +0000 (0:00:00.019) 0:00:12.639 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:08:06 +0000 (0:00:00.025) 0:00:12.664 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:08:06 +0000 (0:00:00.021) 0:00:12.685 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 09 January 2024 20:08:06 +0000 (0:00:00.020) 0:00:12.706 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003536", "end": "2024-01-09 20:08:07.172208", "rc": 0, "start": "2024-01-09 20:08:07.168672" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.15 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.15 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_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 09 January 2024 20:08:07 +0000 (0:00:00.210) 0:00:12.917 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 09 January 2024 20:08:07 +0000 (0:00:00.021) 0:00:12.938 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003560", "end": "2024-01-09 20:08:07.394916", "rc": 0, "start": "2024-01-09 20:08:07.391356" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 09 January 2024 20:08:07 +0000 (0:00:00.200) 0:00:13.138 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 09 January 2024 20:08:07 +0000 (0:00:00.049) 0:00:13.188 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 20:08:07 +0000 (0:00:00.030) 0:00:13.218 ******* included: /WORKDIR/git-route_typeqew44wn4/.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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:08:07 +0000 (0:00:00.036) 0:00:13.254 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 20:08:07 +0000 (0:00:00.043) 0:00:13.298 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 20:08:07 +0000 (0:00:00.023) 0:00:13.321 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 20:08:07 +0000 (0:00:00.021) 0:00:13.342 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 20:08:09 +0000 (0:00:01.467) 0:00:14.810 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 20:08:10 +0000 (0:00:00.942) 0:00:15.753 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 20:08:10 +0000 (0:00:00.020) 0:00:15.773 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 20:08:10 +0000 (0:00:00.020) 0:00:15.793 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 20:08:10 +0000 (0:00:00.019) 0:00:15.813 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 20:08:10 +0000 (0:00:00.050) 0:00:15.863 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 20:08:10 +0000 (0:00:00.022) 0:00:15.886 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 20:08:10 +0000 (0:00:00.022) 0:00:15.909 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 20:08:10 +0000 (0:00:00.032) 0:00:15.941 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 20:08:10 +0000 (0:00:00.458) 0:00:16.399 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 20:08:10 +0000 (0:00:00.035) 0:00:16.434 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 20:08:10 +0000 (0:00:00.018) 0:00:16.453 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 20:08:10 +0000 (0:00:00.020) 0:00:16.473 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 20:08:11 +0000 (0:00:00.445) 0:00:16.918 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 20:08:11 +0000 (0:00:00.021) 0:00:16.940 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 20:08:11 +0000 (0:00:00.023) 0:00:16.963 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 20:08:11 +0000 (0:00:00.021) 0:00:16.985 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 20:08:11 +0000 (0:00:00.022) 0:00:17.007 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 09 January 2024 20:08:11 +0000 (0:00:00.203) 0:00:17.211 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:08:11 +0000 (0:00:00.043) 0:00:17.254 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:08:11 +0000 (0:00:00.018) 0:00:17.272 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:08:11 +0000 (0:00:00.017) 0:00:17.290 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:08:11 +0000 (0:00:00.028) 0:00:17.318 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:08:11 +0000 (0:00:00.050) 0:00:17.369 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003298", "end": "2024-01-09 20:08:11.826798", "rc": 0, "start": "2024-01-09 20:08:11.823500" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:08:11 +0000 (0:00:00.200) 0:00:17.569 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:08:11 +0000 (0:00:00.020) 0:00:17.589 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:08:11 +0000 (0:00:00.019) 0:00:17.609 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 20:08:12 +0000 (0:00:00.876) 0:00:18.486 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 20:08:12 +0000 (0:00:00.030) 0:00:18.517 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 20:08:12 +0000 (0:00:00.021) 0:00:18.538 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012492", "end": "2024-01-09 20:08:13.028794", "rc": 0, "start": "2024-01-09 20:08:13.016302" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 20:08:13 +0000 (0:00:00.251) 0:00:18.790 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 20:08:13 +0000 (0:00:00.039) 0:00:18.830 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 20:08:13 +0000 (0:00:00.021) 0:00:18.851 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:08:13 +0000 (0:00:00.019) 0:00:18.871 ******* 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_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 09 January 2024 20:08:13 +0000 (0:00:00.019) 0:00:18.891 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 09 January 2024 20:08:13 +0000 (0:00:00.020) 0:00:18.911 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:08:13 +0000 (0:00:00.044) 0:00:18.956 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:08:13 +0000 (0:00:00.017) 0:00:18.974 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:08:13 +0000 (0:00:00.017) 0:00:18.992 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:08:13 +0000 (0:00:00.028) 0:00:19.020 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:08:13 +0000 (0:00:00.061) 0:00:19.082 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003280", "end": "2024-01-09 20:08:13.550287", "rc": 0, "start": "2024-01-09 20:08:13.547007" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:08:13 +0000 (0:00:00.211) 0:00:19.294 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:08:13 +0000 (0:00:00.020) 0:00:19.314 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:08:13 +0000 (0:00:00.019) 0:00:19.334 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 20:08:14 +0000 (0:00:00.866) 0:00:20.201 ******* 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.015344", "end": "2024-01-09 20:08:14.673106", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 20:08:14.657762" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003483", "end": "2024-01-09 20:08:14.876772", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 20:08:14.873289" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004213", "end": "2024-01-09 20:08:15.061100", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 20:08:15.056887" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 20:08:15 +0000 (0:00:00.603) 0:00:20.805 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.020943", "end": "2024-01-09 20:08:15.279835", "rc": 0, "start": "2024-01-09 20:08:15.258892" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 20:08:15 +0000 (0:00:00.223) 0:00:21.028 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 20:08:15 +0000 (0:00:00.019) 0:00:21.048 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 20:08:15 +0000 (0:00:00.018) 0:00:21.066 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 20:08:15 +0000 (0:00:00.018) 0:00:21.085 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:08:15 +0000 (0:00:00.018) 0:00:21.103 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 20:08:15 +0000 (0:00:00.020) 0:00:21.123 ******* included: /WORKDIR/git-route_typeqew44wn4/.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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:08:15 +0000 (0:00:00.035) 0:00:21.158 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 20:08:15 +0000 (0:00:00.034) 0:00:21.192 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 20:08:15 +0000 (0:00:00.024) 0:00:21.217 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 20:08:15 +0000 (0:00:00.026) 0:00:21.243 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 20:08:17 +0000 (0:00:01.487) 0:00:22.730 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 20:08:17 +0000 (0:00:00.945) 0:00:23.676 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 20:08:17 +0000 (0:00:00.029) 0:00:23.706 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 20:08:18 +0000 (0:00:00.022) 0:00:23.728 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 20:08:18 +0000 (0:00:00.023) 0:00:23.751 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 20:08:18 +0000 (0:00:00.050) 0:00:23.802 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 20:08:18 +0000 (0:00:00.024) 0:00:23.826 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 20:08:18 +0000 (0:00:00.022) 0:00:23.849 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 20:08:18 +0000 (0:00:00.032) 0:00:23.882 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 20:08:18 +0000 (0:00:00.384) 0:00:24.266 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 20:08:18 +0000 (0:00:00.035) 0:00:24.302 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 20:08:18 +0000 (0:00:00.019) 0:00:24.321 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 20:08:18 +0000 (0:00:00.020) 0:00:24.341 ******* 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, a79f844d-e00a-4e76-bc1b-e2bc78fba55d [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a79f844d-e00a-4e76-bc1b-e2bc78fba55d (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 20:08:19 +0000 (0:00:00.407) 0:00:24.748 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 20:08:19 +0000 (0:00:00.022) 0:00:24.770 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a79f844d-e00a-4e76-bc1b-e2bc78fba55d", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a79f844d-e00a-4e76-bc1b-e2bc78fba55d (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 20:08:19 +0000 (0:00:00.021) 0:00:24.792 ******* 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, a79f844d-e00a-4e76-bc1b-e2bc78fba55d\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a79f844d-e00a-4e76-bc1b-e2bc78fba55d (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a79f844d-e00a-4e76-bc1b-e2bc78fba55d", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a79f844d-e00a-4e76-bc1b-e2bc78fba55d (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 20:08:19 +0000 (0:00:00.049) 0:00:24.842 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 20:08:19 +0000 (0:00:00.021) 0:00:24.863 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 09 January 2024 20:08:19 +0000 (0:00:00.203) 0:00:25.067 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:08:19 +0000 (0:00:00.044) 0:00:25.111 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:08:19 +0000 (0:00:00.028) 0:00:25.139 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830894.6614938, "block_size": 4096, "blocks": 0, "ctime": 1704830894.6614938, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23539, "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": 1704830894.6614938, "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_typeqew44wn4/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:08:19 +0000 (0:00:00.198) 0:00:25.338 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 09 January 2024 20:08:19 +0000 (0:00:00.020) 0:00:25.359 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:08:19 +0000 (0:00:00.048) 0:00:25.407 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:08:19 +0000 (0:00:00.031) 0:00:25.439 ******* 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_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:08:19 +0000 (0:00:00.025) 0:00:25.464 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:08:19 +0000 (0:00:00.198) 0:00:25.663 ******* 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_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:08:19 +0000 (0:00:00.019) 0:00:25.682 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021111", "end": "2024-01-09 20:08:20.157609", "rc": 0, "start": "2024-01-09 20:08:20.136498" } 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_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:08:20 +0000 (0:00:00.217) 0:00:25.900 ******* 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_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:08:20 +0000 (0:00:00.053) 0:00:25.954 ******* 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_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:08:20 +0000 (0:00:00.025) 0:00:25.980 ******* 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_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:08:20 +0000 (0:00:00.034) 0:00:26.014 ******* 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_typeqew44wn4/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:08:20 +0000 (0:00:00.025) 0:00:26.040 ******* 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_typeqew44wn4/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:08:20 +0000 (0:00:00.020) 0:00:26.061 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:08:20 +0000 (0:00:00.024) 0:00:26.086 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:08:20 +0000 (0:00:00.026) 0:00:26.112 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 09 January 2024 20:08:20 +0000 (0:00:00.033) 0:00:26.146 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003370", "end": "2024-01-09 20:08:20.611655", "rc": 0, "start": "2024-01-09 20:08:20.608285" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.15 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.15 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_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 09 January 2024 20:08:20 +0000 (0:00:00.208) 0:00:26.355 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 09 January 2024 20:08:20 +0000 (0:00:00.019) 0:00:26.374 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003487", "end": "2024-01-09 20:08:20.831430", "rc": 0, "start": "2024-01-09 20:08:20.827943" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 09 January 2024 20:08:20 +0000 (0:00:00.201) 0:00:26.576 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 09 January 2024 20:08:20 +0000 (0:00:00.025) 0:00:26.601 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 20:08:20 +0000 (0:00:00.020) 0:00:26.621 ******* included: /WORKDIR/git-route_typeqew44wn4/.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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:08:20 +0000 (0:00:00.033) 0:00:26.655 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 20:08:20 +0000 (0:00:00.034) 0:00:26.689 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 20:08:21 +0000 (0:00:00.029) 0:00:26.718 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 20:08:21 +0000 (0:00:00.031) 0:00:26.750 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 20:08:22 +0000 (0:00:01.503) 0:00:28.253 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 20:08:23 +0000 (0:00:00.943) 0:00:29.196 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 20:08:23 +0000 (0:00:00.021) 0:00:29.218 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 20:08:23 +0000 (0:00:00.021) 0:00:29.239 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 20:08:23 +0000 (0:00:00.022) 0:00:29.262 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 20:08:23 +0000 (0:00:00.054) 0:00:29.316 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 20:08:23 +0000 (0:00:00.022) 0:00:29.339 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 20:08:23 +0000 (0:00:00.021) 0:00:29.360 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 20:08:23 +0000 (0:00:00.035) 0:00:29.396 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 20:08:24 +0000 (0:00:00.383) 0:00:29.779 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 20:08:24 +0000 (0:00:00.033) 0:00:29.812 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 20:08:24 +0000 (0:00:00.018) 0:00:29.831 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 20:08:24 +0000 (0:00:00.017) 0:00:29.848 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 20:08:24 +0000 (0:00:00.446) 0:00:30.295 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 20:08:24 +0000 (0:00:00.023) 0:00:30.318 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 20:08:24 +0000 (0:00:00.021) 0:00:30.340 ******* 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_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 20:08:24 +0000 (0:00:00.055) 0:00:30.395 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 20:08:24 +0000 (0:00:00.021) 0:00:30.417 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 09 January 2024 20:08:24 +0000 (0:00:00.202) 0:00:30.619 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:08:24 +0000 (0:00:00.047) 0:00:30.667 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:08:24 +0000 (0:00:00.018) 0:00:30.685 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:08:24 +0000 (0:00:00.017) 0:00:30.703 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:08:25 +0000 (0:00:00.030) 0:00:30.734 ******* included: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:08:25 +0000 (0:00:00.028) 0:00:30.762 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003409", "end": "2024-01-09 20:08:25.218889", "rc": 0, "start": "2024-01-09 20:08:25.215480" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:08:25 +0000 (0:00:00.199) 0:00:30.962 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:08:25 +0000 (0:00:00.020) 0:00:30.983 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:08:25 +0000 (0:00:00.019) 0:00:31.002 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 20:08:26 +0000 (0:00:00.863) 0:00:31.866 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 20:08:26 +0000 (0:00:00.026) 0:00:31.892 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 20:08:26 +0000 (0:00:00.020) 0:00:31.913 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012803", "end": "2024-01-09 20:08:26.380734", "rc": 0, "start": "2024-01-09 20:08:26.367931" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 20:08:26 +0000 (0:00:00.217) 0:00:32.130 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 20:08:26 +0000 (0:00:00.048) 0:00:32.179 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 20:08:26 +0000 (0:00:00.020) 0:00:32.199 ******* 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_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:08:26 +0000 (0:00:00.018) 0:00:32.218 ******* 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 Tuesday 09 January 2024 20:08:26 +0000 (0:00:00.046) 0:00:32.264 ******* =============================================================================== Install iproute --------------------------------------------------------- 1.93s /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.49s /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.47s /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gather current interface info ------------------------------------------- 1.25s /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.13s /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /WORKDIR/git-route_typeqew44wn4/.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.94s /WORKDIR/git-route_typeqew44wn4/.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.94s /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 0.88s /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.87s /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.86s /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.79s /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-route_typeqew44wn4/tests/tests_auto_gateway_nm.yml:6 ------------- Create veth interface veth0 --------------------------------------------- 0.64s /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tests_auto_gateway.yml:3 ------ Create veth interface veth0 --------------------------------------------- 0.60s /WORKDIR/git-route_typeqew44wn4/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.55s /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.46s /WORKDIR/git-route_typeqew44wn4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---