# 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_typednq6p_x2/.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_typednq6p_x2/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_typednq6p_x2/tests/tests_auto_gateway_nm.yml:6 Wednesday 10 January 2024 18:21:06 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typednq6p_x2/tests/tests_auto_gateway_nm.yml:9 Wednesday 10 January 2024 18:21:07 +0000 (0:00:00.906) 0:00:00.918 ***** included: /WORKDIR/git-route_typednq6p_x2/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_typednq6p_x2/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 18:21:07 +0000 (0:00:00.013) 0:00:00.931 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/tasks/el_repo_setup.yml:17 Wednesday 10 January 2024 18:21:07 +0000 (0:00:00.390) 0:00:01.321 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/tasks/el_repo_setup.yml:22 Wednesday 10 January 2024 18:21:07 +0000 (0:00:00.299) 0:00:01.621 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/tasks/el_repo_setup.yml:26 Wednesday 10 January 2024 18:21:07 +0000 (0:00:00.015) 0:00:01.637 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/tasks/el_repo_setup.yml:51 Wednesday 10 January 2024 18:21:07 +0000 (0:00:00.009) 0:00:01.646 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 18:21:07 +0000 (0:00:00.027) 0:00:01.674 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 18:21:07 +0000 (0:00:00.013) 0:00:01.688 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 18:21:07 +0000 (0:00:00.009) 0:00:01.697 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 18:21:07 +0000 (0:00:00.008) 0:00:01.705 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 18:21:07 +0000 (0:00:00.007) 0:00:01.712 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/tests_auto_gateway_nm.yml:11 Wednesday 10 January 2024 18:21:07 +0000 (0:00:00.007) 0:00:01.719 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 10 January 2024 18:21:07 +0000 (0:00:00.041) 0:00:01.761 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 10 January 2024 18:21:08 +0000 (0:00:00.761) 0:00:02.522 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:21:08 +0000 (0:00:00.022) 0:00:02.545 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:21:08 +0000 (0:00:00.010) 0:00:02.555 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004974", "end": "2024-01-10 18:21:09.902227", "rc": 0, "start": "2024-01-10 18:21:08.897253" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:21:09 +0000 (0:00:01.278) 0:00:03.833 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:21:09 +0000 (0:00:00.016) 0:00:03.850 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 10 January 2024 18:21:09 +0000 (0:00:00.014) 0:00:03.865 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 18:21:10 +0000 (0:00:00.043) 0:00:03.909 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 18:21:10 +0000 (0:00:00.013) 0:00:03.922 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 18:21:10 +0000 (0:00:00.008) 0:00:03.931 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:21:10 +0000 (0:00:00.015) 0:00:03.946 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:21:10 +0000 (0:00:00.010) 0:00:03.956 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004069", "end": "2024-01-10 18:21:10.276380", "rc": 0, "start": "2024-01-10 18:21:10.272311" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:21:10 +0000 (0:00:00.251) 0:00:04.208 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:21:10 +0000 (0:00:00.013) 0:00:04.222 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 18:21:10 +0000 (0:00:00.009) 0:00:04.231 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 18:21:12 +0000 (0:00:02.487) 0:00:06.719 ***** 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.052621", "end": "2024-01-10 18:21:13.070226", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-10 18:21:13.017605" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004544", "end": "2024-01-10 18:21:13.360989", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-10 18:21:13.356445" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004305", "end": "2024-01-10 18:21:13.578433", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-10 18:21:13.574128" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 18:21:13 +0000 (0:00:00.790) 0:00:07.509 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.215519", "end": "2024-01-10 18:21:14.018790", "rc": 0, "start": "2024-01-10 18:21:13.803271" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 18:21:14 +0000 (0:00:00.458) 0:00:07.968 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 18:21:14 +0000 (0:00:00.022) 0:00:07.990 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 18:21:14 +0000 (0:00:00.011) 0:00:08.001 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 18:21:14 +0000 (0:00:00.011) 0:00:08.012 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 18:21:14 +0000 (0:00:00.009) 0:00:08.022 ***** 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_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 10 January 2024 18:21:14 +0000 (0:00:00.008) 0:00:08.031 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:21:14 +0000 (0:00:00.034) 0:00:08.065 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:21:14 +0000 (0:00:00.011) 0:00:08.077 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704910873.0666678, "block_size": 4096, "blocks": 0, "ctime": 1704910873.0666678, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26251, "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": 1704910873.0666678, "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_typednq6p_x2/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:21:14 +0000 (0:00:00.224) 0:00:08.302 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 10 January 2024 18:21:14 +0000 (0:00:00.019) 0:00:08.322 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 18:21:14 +0000 (0:00:00.015) 0:00:08.337 ***** included: /WORKDIR/git-route_typednq6p_x2/.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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:21:14 +0000 (0:00:00.024) 0:00:08.362 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 18:21:14 +0000 (0:00:00.045) 0:00:08.407 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 18:21:14 +0000 (0:00:00.015) 0:00:08.423 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 18:21:14 +0000 (0:00:00.017) 0:00:08.440 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 18:21:17 +0000 (0:00:02.562) 0:00:11.002 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 18:21:18 +0000 (0:00:01.009) 0:00:12.012 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 18:21:18 +0000 (0:00:00.023) 0:00:12.036 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 18:21:18 +0000 (0:00:00.023) 0:00:12.059 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 18:21:18 +0000 (0:00:00.033) 0:00:12.093 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 18:21:18 +0000 (0:00:00.062) 0:00:12.155 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 18:21:18 +0000 (0:00:00.048) 0:00:12.204 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 18:21:18 +0000 (0:00:00.022) 0:00:12.227 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 18:21:18 +0000 (0:00:00.036) 0:00:12.263 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 18:21:19 +0000 (0:00:00.680) 0:00:12.944 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 18:21:19 +0000 (0:00:00.034) 0:00:12.979 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 18:21:19 +0000 (0:00:00.019) 0:00:12.998 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 18:21:19 +0000 (0:00:00.019) 0:00:13.017 ***** 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, 2c9af0a5-5213-4d30-989f-ba2381ee7f4d [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 2c9af0a5-5213-4d30-989f-ba2381ee7f4d (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 18:21:19 +0000 (0:00:00.813) 0:00:13.830 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 18:21:19 +0000 (0:00:00.023) 0:00:13.854 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 2c9af0a5-5213-4d30-989f-ba2381ee7f4d", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 2c9af0a5-5213-4d30-989f-ba2381ee7f4d (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 18:21:19 +0000 (0:00:00.023) 0:00:13.877 ***** 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, 2c9af0a5-5213-4d30-989f-ba2381ee7f4d\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 2c9af0a5-5213-4d30-989f-ba2381ee7f4d (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 2c9af0a5-5213-4d30-989f-ba2381ee7f4d", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 2c9af0a5-5213-4d30-989f-ba2381ee7f4d (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 18:21:19 +0000 (0:00:00.022) 0:00:13.899 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 18:21:20 +0000 (0:00:00.022) 0:00:13.922 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 10 January 2024 18:21:20 +0000 (0:00:00.404) 0:00:14.326 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:21:20 +0000 (0:00:00.046) 0:00:14.373 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:21:20 +0000 (0:00:00.062) 0:00:14.435 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704910873.0666678, "block_size": 4096, "blocks": 0, "ctime": 1704910873.0666678, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26251, "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": 1704910873.0666678, "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_typednq6p_x2/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:21:20 +0000 (0:00:00.232) 0:00:14.667 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 10 January 2024 18:21:20 +0000 (0:00:00.023) 0:00:14.691 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:21:20 +0000 (0:00:00.046) 0:00:14.737 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:21:20 +0000 (0:00:00.065) 0:00:14.803 ***** 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_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:21:20 +0000 (0:00:00.028) 0:00:14.832 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:21:21 +0000 (0:00:00.237) 0:00:15.069 ***** 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_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:21:21 +0000 (0:00:00.018) 0:00:15.088 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.087721", "end": "2024-01-10 18:21:21.469400", "rc": 0, "start": "2024-01-10 18:21:21.381679" } 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_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:21:21 +0000 (0:00:00.329) 0:00:15.417 ***** 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_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:21:21 +0000 (0:00:00.033) 0:00:15.451 ***** 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_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:21:21 +0000 (0:00:00.033) 0:00:15.485 ***** 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_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:21:21 +0000 (0:00:00.019) 0:00:15.505 ***** 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_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:21:21 +0000 (0:00:00.018) 0:00:15.523 ***** 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_typednq6p_x2/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:21:21 +0000 (0:00:00.018) 0:00:15.542 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:21:21 +0000 (0:00:00.049) 0:00:15.592 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:21:21 +0000 (0:00:00.024) 0:00:15.616 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 10 January 2024 18:21:21 +0000 (0:00:00.024) 0:00:15.640 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004141", "end": "2024-01-10 18:21:21.947157", "rc": 0, "start": "2024-01-10 18:21:21.943016" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.112 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.112 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_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 10 January 2024 18:21:21 +0000 (0:00:00.251) 0:00:15.892 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 10 January 2024 18:21:22 +0000 (0:00:00.021) 0:00:15.914 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004134", "end": "2024-01-10 18:21:22.215683", "rc": 0, "start": "2024-01-10 18:21:22.211549" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 10 January 2024 18:21:22 +0000 (0:00:00.242) 0:00:16.156 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 10 January 2024 18:21:22 +0000 (0:00:00.021) 0:00:16.177 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 18:21:22 +0000 (0:00:00.020) 0:00:16.198 ***** included: /WORKDIR/git-route_typednq6p_x2/.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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:21:22 +0000 (0:00:00.034) 0:00:16.232 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 18:21:22 +0000 (0:00:00.032) 0:00:16.264 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 18:21:22 +0000 (0:00:00.021) 0:00:16.286 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 18:21:22 +0000 (0:00:00.023) 0:00:16.310 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 18:21:24 +0000 (0:00:02.437) 0:00:18.748 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 18:21:25 +0000 (0:00:00.846) 0:00:19.594 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 18:21:25 +0000 (0:00:00.021) 0:00:19.615 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 18:21:25 +0000 (0:00:00.027) 0:00:19.643 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 18:21:25 +0000 (0:00:00.021) 0:00:19.665 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 18:21:25 +0000 (0:00:00.051) 0:00:19.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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 18:21:25 +0000 (0:00:00.023) 0:00:19.740 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 18:21:25 +0000 (0:00:00.021) 0:00:19.762 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 18:21:25 +0000 (0:00:00.033) 0:00:19.795 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 18:21:26 +0000 (0:00:00.432) 0:00:20.227 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 18:21:26 +0000 (0:00:00.034) 0:00:20.261 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 18:21:26 +0000 (0:00:00.021) 0:00:20.283 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 18:21:26 +0000 (0:00:00.019) 0:00:20.303 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 18:21:26 +0000 (0:00:00.544) 0:00:20.848 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 18:21:26 +0000 (0:00:00.026) 0:00:20.874 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 18:21:26 +0000 (0:00:00.026) 0:00:20.901 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 18:21:27 +0000 (0:00:00.044) 0:00:20.945 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 18:21:27 +0000 (0:00:00.058) 0:00:21.004 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 10 January 2024 18:21:27 +0000 (0:00:00.250) 0:00:21.254 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 18:21:27 +0000 (0:00:00.087) 0:00:21.341 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 18:21:27 +0000 (0:00:00.029) 0:00:21.371 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 18:21:27 +0000 (0:00:00.027) 0:00:21.399 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:21:27 +0000 (0:00:00.037) 0:00:21.436 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:21:27 +0000 (0:00:00.045) 0:00:21.482 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003896", "end": "2024-01-10 18:21:27.773711", "rc": 0, "start": "2024-01-10 18:21:27.769815" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:21:27 +0000 (0:00:00.258) 0:00:21.740 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:21:27 +0000 (0:00:00.025) 0:00:21.766 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 18:21:27 +0000 (0:00:00.042) 0:00:21.809 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 18:21:30 +0000 (0:00:02.498) 0:00:24.308 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 18:21:30 +0000 (0:00:00.026) 0:00:24.334 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 18:21:30 +0000 (0:00:00.053) 0:00:24.388 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008565", "end": "2024-01-10 18:21:30.688114", "rc": 0, "start": "2024-01-10 18:21:30.679549" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 18:21:30 +0000 (0:00:00.253) 0:00:24.642 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 18:21:30 +0000 (0:00:00.023) 0:00:24.665 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 18:21:30 +0000 (0:00:00.020) 0:00:24.686 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 18:21:30 +0000 (0:00:00.025) 0:00:24.711 ***** 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_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 10 January 2024 18:21:30 +0000 (0:00:00.025) 0:00:24.736 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 10 January 2024 18:21:30 +0000 (0:00:00.021) 0:00:24.757 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 18:21:30 +0000 (0:00:00.049) 0:00:24.807 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 18:21:30 +0000 (0:00:00.025) 0:00:24.833 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 18:21:30 +0000 (0:00:00.023) 0:00:24.857 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:21:30 +0000 (0:00:00.031) 0:00:24.888 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:21:31 +0000 (0:00:00.037) 0:00:24.926 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003871", "end": "2024-01-10 18:21:31.217889", "rc": 0, "start": "2024-01-10 18:21:31.214018" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:21:31 +0000 (0:00:00.231) 0:00:25.157 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:21:31 +0000 (0:00:00.052) 0:00:25.210 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 18:21:31 +0000 (0:00:00.023) 0:00:25.233 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 18:21:33 +0000 (0:00:02.402) 0:00:27.635 ***** 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.008172", "end": "2024-01-10 18:21:33.937052", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-10 18:21:33.928880" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004057", "end": "2024-01-10 18:21:34.216396", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-10 18:21:34.212339" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004382", "end": "2024-01-10 18:21:34.432216", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-10 18:21:34.427834" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 18:21:34 +0000 (0:00:00.740) 0:00:28.375 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023052", "end": "2024-01-10 18:21:34.688677", "rc": 0, "start": "2024-01-10 18:21:34.665625" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 18:21:34 +0000 (0:00:00.254) 0:00:28.630 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 18:21:34 +0000 (0:00:00.020) 0:00:28.650 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 18:21:34 +0000 (0:00:00.021) 0:00:28.671 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 18:21:34 +0000 (0:00:00.020) 0:00:28.692 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 18:21:34 +0000 (0:00:00.019) 0:00:28.712 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 18:21:34 +0000 (0:00:00.020) 0:00:28.733 ***** included: /WORKDIR/git-route_typednq6p_x2/.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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:21:34 +0000 (0:00:00.035) 0:00:28.768 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 18:21:34 +0000 (0:00:00.033) 0:00:28.801 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 18:21:34 +0000 (0:00:00.021) 0:00:28.823 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 18:21:34 +0000 (0:00:00.021) 0:00:28.844 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 18:21:37 +0000 (0:00:02.452) 0:00:31.297 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 18:21:38 +0000 (0:00:00.924) 0:00:32.222 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 18:21:38 +0000 (0:00:00.029) 0:00:32.252 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 18:21:38 +0000 (0:00:00.025) 0:00:32.277 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 18:21:38 +0000 (0:00:00.023) 0:00:32.301 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 18:21:38 +0000 (0:00:00.054) 0:00:32.355 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 18:21:38 +0000 (0:00:00.023) 0:00:32.379 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 18:21:38 +0000 (0:00:00.023) 0:00:32.403 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 18:21:38 +0000 (0:00:00.035) 0:00:32.438 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 18:21:38 +0000 (0:00:00.442) 0:00:32.881 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 18:21:39 +0000 (0:00:00.038) 0:00:32.919 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 18:21:39 +0000 (0:00:00.021) 0:00:32.941 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 18:21:39 +0000 (0:00:00.026) 0:00:32.967 ***** 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, 7b324303-b508-4e77-ba2d-ab4fd7d785b2 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7b324303-b508-4e77-ba2d-ab4fd7d785b2 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 18:21:39 +0000 (0:00:00.492) 0:00:33.459 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 18:21:39 +0000 (0:00:00.023) 0:00:33.483 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 7b324303-b508-4e77-ba2d-ab4fd7d785b2", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7b324303-b508-4e77-ba2d-ab4fd7d785b2 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 18:21:39 +0000 (0:00:00.053) 0:00:33.537 ***** 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, 7b324303-b508-4e77-ba2d-ab4fd7d785b2\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7b324303-b508-4e77-ba2d-ab4fd7d785b2 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 7b324303-b508-4e77-ba2d-ab4fd7d785b2", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7b324303-b508-4e77-ba2d-ab4fd7d785b2 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 18:21:39 +0000 (0:00:00.023) 0:00:33.560 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 18:21:39 +0000 (0:00:00.022) 0:00:33.583 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 10 January 2024 18:21:39 +0000 (0:00:00.239) 0:00:33.822 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:21:39 +0000 (0:00:00.048) 0:00:33.870 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:21:39 +0000 (0:00:00.031) 0:00:33.902 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704910893.9330902, "block_size": 4096, "blocks": 0, "ctime": 1704910893.9330902, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26837, "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": 1704910893.9330902, "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_typednq6p_x2/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:21:40 +0000 (0:00:00.236) 0:00:34.139 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 10 January 2024 18:21:40 +0000 (0:00:00.022) 0:00:34.161 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:21:40 +0000 (0:00:00.050) 0:00:34.211 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:21:40 +0000 (0:00:00.050) 0:00:34.261 ***** 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_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:21:40 +0000 (0:00:00.021) 0:00:34.283 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:21:40 +0000 (0:00:00.291) 0:00:34.574 ***** 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_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:21:40 +0000 (0:00:00.021) 0:00:34.596 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023921", "end": "2024-01-10 18:21:40.916073", "rc": 0, "start": "2024-01-10 18:21:40.892152" } 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_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:21:40 +0000 (0:00:00.274) 0:00:34.871 ***** 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_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:21:40 +0000 (0:00:00.024) 0:00:34.895 ***** 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_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:21:41 +0000 (0:00:00.020) 0:00:34.916 ***** 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_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:21:41 +0000 (0:00:00.022) 0:00:34.938 ***** 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_typednq6p_x2/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:21:41 +0000 (0:00:00.032) 0:00:34.971 ***** 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_typednq6p_x2/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:21:41 +0000 (0:00:00.020) 0:00:34.992 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:21:41 +0000 (0:00:00.024) 0:00:35.016 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:21:41 +0000 (0:00:00.023) 0:00:35.040 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 10 January 2024 18:21:41 +0000 (0:00:00.030) 0:00:35.070 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004068", "end": "2024-01-10 18:21:41.367459", "rc": 0, "start": "2024-01-10 18:21:41.363391" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.112 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.112 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_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 10 January 2024 18:21:41 +0000 (0:00:00.238) 0:00:35.308 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 10 January 2024 18:21:41 +0000 (0:00:00.026) 0:00:35.335 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004019", "end": "2024-01-10 18:21:41.627451", "rc": 0, "start": "2024-01-10 18:21:41.623432" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 10 January 2024 18:21:41 +0000 (0:00:00.243) 0:00:35.579 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 10 January 2024 18:21:41 +0000 (0:00:00.030) 0:00:35.609 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 10 January 2024 18:21:41 +0000 (0:00:00.024) 0:00:35.634 ***** included: /WORKDIR/git-route_typednq6p_x2/.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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:21:41 +0000 (0:00:00.084) 0:00:35.718 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 10 January 2024 18:21:41 +0000 (0:00:00.035) 0:00:35.753 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 10 January 2024 18:21:41 +0000 (0:00:00.023) 0:00:35.777 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 10 January 2024 18:21:41 +0000 (0:00:00.024) 0:00:35.802 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 10 January 2024 18:21:44 +0000 (0:00:02.446) 0:00:38.248 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 10 January 2024 18:21:45 +0000 (0:00:00.807) 0:00:39.056 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 10 January 2024 18:21:45 +0000 (0:00:00.043) 0:00:39.099 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 10 January 2024 18:21:45 +0000 (0:00:00.035) 0:00:39.135 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 10 January 2024 18:21:45 +0000 (0:00:00.024) 0:00:39.159 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 10 January 2024 18:21:45 +0000 (0:00:00.058) 0:00:39.218 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 10 January 2024 18:21:45 +0000 (0:00:00.031) 0:00:39.250 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 10 January 2024 18:21:45 +0000 (0:00:00.028) 0:00:39.278 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 10 January 2024 18:21:45 +0000 (0:00:00.033) 0:00:39.312 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 10 January 2024 18:21:45 +0000 (0:00:00.468) 0:00:39.780 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 10 January 2024 18:21:45 +0000 (0:00:00.035) 0:00:39.816 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 10 January 2024 18:21:45 +0000 (0:00:00.021) 0:00:39.837 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 10 January 2024 18:21:45 +0000 (0:00:00.020) 0:00:39.858 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 10 January 2024 18:21:46 +0000 (0:00:00.487) 0:00:40.345 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 10 January 2024 18:21:46 +0000 (0:00:00.042) 0:00:40.388 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 10 January 2024 18:21:46 +0000 (0:00:00.034) 0:00:40.422 ***** 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_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 10 January 2024 18:21:46 +0000 (0:00:00.025) 0:00:40.447 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 10 January 2024 18:21:46 +0000 (0:00:00.032) 0:00:40.480 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 10 January 2024 18:21:46 +0000 (0:00:00.238) 0:00:40.719 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 10 January 2024 18:21:46 +0000 (0:00:00.051) 0:00:40.771 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 10 January 2024 18:21:46 +0000 (0:00:00.025) 0:00:40.796 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 10 January 2024 18:21:46 +0000 (0:00:00.020) 0:00:40.817 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:21:46 +0000 (0:00:00.033) 0:00:40.851 ***** included: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:21:47 +0000 (0:00:00.067) 0:00:40.919 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003974", "end": "2024-01-10 18:21:47.216351", "rc": 0, "start": "2024-01-10 18:21:47.212377" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:21:47 +0000 (0:00:00.248) 0:00:41.167 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:21:47 +0000 (0:00:00.021) 0:00:41.189 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 10 January 2024 18:21:47 +0000 (0:00:00.024) 0:00:41.213 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:23 Wednesday 10 January 2024 18:21:49 +0000 (0:00:02.391) 0:00:43.605 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:31 Wednesday 10 January 2024 18:21:49 +0000 (0:00:00.033) 0:00:43.638 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:39 Wednesday 10 January 2024 18:21:49 +0000 (0:00:00.020) 0:00:43.658 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.021448", "end": "2024-01-10 18:21:49.980515", "rc": 0, "start": "2024-01-10 18:21:49.959067" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 10 January 2024 18:21:50 +0000 (0:00:00.265) 0:00:43.924 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:50 Wednesday 10 January 2024 18:21:50 +0000 (0:00:00.020) 0:00:43.944 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:56 Wednesday 10 January 2024 18:21:50 +0000 (0:00:00.020) 0:00:43.964 ***** 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_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 10 January 2024 18:21:50 +0000 (0:00:00.021) 0:00:43.986 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Wednesday 10 January 2024 18:21:50 +0000 (0:00:00.052) 0:00:44.038 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.56s /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.50s /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.49s /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.45s /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.45s /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.44s /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.40s /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.39s /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:16 Gather current interface info ------------------------------------------- 1.28s /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-route_typednq6p_x2/.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.92s /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-route_typednq6p_x2/tests/tests_auto_gateway_nm.yml:6 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.85s /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.81s /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 0.79s /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tests_auto_gateway.yml:3 ------ Create veth interface veth0 --------------------------------------------- 0.74s /WORKDIR/git-route_typednq6p_x2/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.68s /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.54s /WORKDIR/git-route_typednq6p_x2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---