# 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_typeay8iy0yj/.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_typeay8iy0yj/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_typeay8iy0yj/tests/tests_auto_gateway_nm.yml:6 Tuesday 09 January 2024 16:06:19 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeay8iy0yj/tests/tests_auto_gateway_nm.yml:9 Tuesday 09 January 2024 16:06:20 +0000 (0:00:00.923) 0:00:00.935 ******* included: /WORKDIR/git-route_typeay8iy0yj/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_typeay8iy0yj/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 16:06:20 +0000 (0:00:00.010) 0:00:00.946 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/tasks/el_repo_setup.yml:17 Tuesday 09 January 2024 16:06:21 +0000 (0:00:00.419) 0:00:01.365 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/tasks/el_repo_setup.yml:22 Tuesday 09 January 2024 16:06:21 +0000 (0:00:00.285) 0:00:01.651 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/tasks/el_repo_setup.yml:26 Tuesday 09 January 2024 16:06:21 +0000 (0:00:00.013) 0:00:01.664 ******* 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_typeay8iy0yj/tests/tasks/el_repo_setup.yml:51 Tuesday 09 January 2024 16:06:21 +0000 (0:00:00.007) 0:00:01.671 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 16:06:21 +0000 (0:00:00.019) 0:00:01.691 ******* 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_typeay8iy0yj/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 16:06:21 +0000 (0:00:00.007) 0:00:01.699 ******* 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_typeay8iy0yj/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 16:06:21 +0000 (0:00:00.007) 0:00:01.706 ******* 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_typeay8iy0yj/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 16:06:21 +0000 (0:00:00.006) 0:00:01.712 ******* 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_typeay8iy0yj/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 16:06:21 +0000 (0:00:00.006) 0:00:01.719 ******* 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_typeay8iy0yj/tests/tests_auto_gateway_nm.yml:11 Tuesday 09 January 2024 16:06:21 +0000 (0:00:00.006) 0:00:01.726 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 09 January 2024 16:06:21 +0000 (0:00:00.014) 0:00:01.740 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 09 January 2024 16:06:22 +0000 (0:00:00.779) 0:00:02.519 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:06:22 +0000 (0:00:00.022) 0:00:02.542 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:06:22 +0000 (0:00:00.010) 0:00:02.552 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003704", "end": "2024-01-09 16:06:22.674337", "rc": 0, "start": "2024-01-09 16:06:22.670633" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:06:22 +0000 (0:00:00.287) 0:00:02.840 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:06:22 +0000 (0:00:00.009) 0:00:02.850 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 09 January 2024 16:06:22 +0000 (0:00:00.009) 0:00:02.859 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:06:22 +0000 (0:00:00.023) 0:00:02.882 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:06:22 +0000 (0:00:00.007) 0:00:02.890 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:06:22 +0000 (0:00:00.007) 0:00:02.897 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:06:22 +0000 (0:00:00.010) 0:00:02.907 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:06:22 +0000 (0:00:00.009) 0:00:02.917 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003672", "end": "2024-01-09 16:06:22.984363", "rc": 0, "start": "2024-01-09 16:06:22.980691" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:06:23 +0000 (0:00:00.233) 0:00:03.150 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:06:23 +0000 (0:00:00.013) 0:00:03.163 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:06:23 +0000 (0:00:00.009) 0:00:03.173 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 16:06:24 +0000 (0:00:01.956) 0:00:05.129 ******* 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.144026", "end": "2024-01-09 16:06:25.341363", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 16:06:25.197337" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004208", "end": "2024-01-09 16:06:25.627302", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 16:06:25.623094" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004403", "end": "2024-01-09 16:06:25.856637", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 16:06:25.852234" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 16:06:25 +0000 (0:00:00.892) 0:00:06.022 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.369212", "end": "2024-01-09 16:06:26.454881", "rc": 0, "start": "2024-01-09 16:06:26.085669" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 16:06:26 +0000 (0:00:00.600) 0:00:06.622 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 16:06:26 +0000 (0:00:00.009) 0:00:06.632 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 16:06:26 +0000 (0:00:00.009) 0:00:06.641 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 16:06:26 +0000 (0:00:00.009) 0:00:06.651 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:06:26 +0000 (0:00:00.009) 0:00:06.660 ******* 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_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 09 January 2024 16:06:26 +0000 (0:00:00.008) 0:00:06.669 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:06:26 +0000 (0:00:00.023) 0:00:06.692 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:06:26 +0000 (0:00:00.010) 0:00:06.703 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704816385.339739, "block_size": 4096, "blocks": 0, "ctime": 1704816385.339739, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26450, "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": 1704816385.339739, "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_typeay8iy0yj/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:06:26 +0000 (0:00:00.227) 0:00:06.931 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 09 January 2024 16:06:26 +0000 (0:00:00.010) 0:00:06.942 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:06:26 +0000 (0:00:00.010) 0:00:06.952 ******* included: /WORKDIR/git-route_typeay8iy0yj/.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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:06:26 +0000 (0:00:00.015) 0:00:06.968 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:06:26 +0000 (0:00:00.020) 0:00:06.988 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:06:26 +0000 (0:00:00.012) 0:00:07.000 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:06:26 +0000 (0:00:00.012) 0:00:07.012 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:06:29 +0000 (0:00:02.242) 0:00:09.254 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:06:30 +0000 (0:00:00.985) 0:00:10.240 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:06:30 +0000 (0:00:00.021) 0:00:10.261 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:06:30 +0000 (0:00:00.020) 0:00:10.282 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:06:30 +0000 (0:00:00.020) 0:00:10.302 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:06:30 +0000 (0:00:00.050) 0:00:10.353 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:06:30 +0000 (0:00:00.039) 0:00:10.393 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:06:30 +0000 (0:00:00.021) 0:00:10.414 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:06:30 +0000 (0:00:00.032) 0:00:10.447 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:06:30 +0000 (0:00:00.626) 0:00:11.074 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:06:30 +0000 (0:00:00.033) 0:00:11.107 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:06:30 +0000 (0:00:00.019) 0:00:11.127 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:06:31 +0000 (0:00:00.019) 0:00:11.146 ******* 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, d1dde1b6-9b65-4d6f-99d0-93920d0cda99 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d1dde1b6-9b65-4d6f-99d0-93920d0cda99 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:06:31 +0000 (0:00:00.941) 0:00:12.087 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:06:31 +0000 (0:00:00.022) 0:00:12.109 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d1dde1b6-9b65-4d6f-99d0-93920d0cda99", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d1dde1b6-9b65-4d6f-99d0-93920d0cda99 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:06:31 +0000 (0:00:00.021) 0:00:12.130 ******* 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, d1dde1b6-9b65-4d6f-99d0-93920d0cda99\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d1dde1b6-9b65-4d6f-99d0-93920d0cda99 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, d1dde1b6-9b65-4d6f-99d0-93920d0cda99", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, d1dde1b6-9b65-4d6f-99d0-93920d0cda99 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:06:32 +0000 (0:00:00.021) 0:00:12.152 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:06:32 +0000 (0:00:00.021) 0:00:12.173 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 09 January 2024 16:06:32 +0000 (0:00:00.327) 0:00:12.501 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:06:32 +0000 (0:00:00.041) 0:00:12.543 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:06:32 +0000 (0:00:00.055) 0:00:12.598 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704816385.339739, "block_size": 4096, "blocks": 0, "ctime": 1704816385.339739, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26450, "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": 1704816385.339739, "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_typeay8iy0yj/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:06:32 +0000 (0:00:00.238) 0:00:12.837 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 09 January 2024 16:06:32 +0000 (0:00:00.020) 0:00:12.857 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:06:32 +0000 (0:00:00.043) 0:00:12.901 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:06:32 +0000 (0:00:00.032) 0:00:12.934 ******* 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_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:06:32 +0000 (0:00:00.020) 0:00:12.954 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:06:33 +0000 (0:00:00.236) 0:00:13.190 ******* 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_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:06:33 +0000 (0:00:00.018) 0:00:13.209 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.122119", "end": "2024-01-09 16:06:33.394304", "rc": 0, "start": "2024-01-09 16:06:33.272185" } 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_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:06:33 +0000 (0:00:00.360) 0:00:13.570 ******* 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_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:06:33 +0000 (0:00:00.022) 0:00:13.592 ******* 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_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:06:33 +0000 (0:00:00.020) 0:00:13.612 ******* 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_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:06:33 +0000 (0:00:00.019) 0:00:13.631 ******* 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_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:06:33 +0000 (0:00:00.019) 0:00:13.651 ******* 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_typeay8iy0yj/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:06:33 +0000 (0:00:00.018) 0:00:13.669 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:06:33 +0000 (0:00:00.045) 0:00:13.714 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:06:33 +0000 (0:00:00.022) 0:00:13.737 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 09 January 2024 16:06:33 +0000 (0:00:00.020) 0:00:13.757 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003803", "end": "2024-01-09 16:06:33.825760", "rc": 0, "start": "2024-01-09 16:06:33.821957" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.252 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.252 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_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 09 January 2024 16:06:33 +0000 (0:00:00.243) 0:00:14.001 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 09 January 2024 16:06:33 +0000 (0:00:00.020) 0:00:14.022 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003855", "end": "2024-01-09 16:06:34.091421", "rc": 0, "start": "2024-01-09 16:06:34.087566" } 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_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 09 January 2024 16:06:34 +0000 (0:00:00.243) 0:00:14.265 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 09 January 2024 16:06:34 +0000 (0:00:00.021) 0:00:14.287 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:06:34 +0000 (0:00:00.020) 0:00:14.307 ******* included: /WORKDIR/git-route_typeay8iy0yj/.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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:06:34 +0000 (0:00:00.033) 0:00:14.340 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:06:34 +0000 (0:00:00.032) 0:00:14.372 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:06:34 +0000 (0:00:00.020) 0:00:14.393 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:06:34 +0000 (0:00:00.021) 0:00:14.414 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:06:36 +0000 (0:00:02.123) 0:00:16.538 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:06:37 +0000 (0:00:00.873) 0:00:17.411 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:06:37 +0000 (0:00:00.022) 0:00:17.434 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:06:37 +0000 (0:00:00.023) 0:00:17.457 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:06:37 +0000 (0:00:00.022) 0:00:17.480 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:06:37 +0000 (0:00:00.052) 0:00:17.532 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:06:37 +0000 (0:00:00.023) 0:00:17.556 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:06:37 +0000 (0:00:00.023) 0:00:17.579 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:06:37 +0000 (0:00:00.035) 0:00:17.614 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:06:37 +0000 (0:00:00.468) 0:00:18.083 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:06:37 +0000 (0:00:00.033) 0:00:18.117 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:06:37 +0000 (0:00:00.019) 0:00:18.136 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:06:38 +0000 (0:00:00.020) 0:00:18.156 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:06:38 +0000 (0:00:00.515) 0:00:18.671 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:06:38 +0000 (0:00:00.024) 0:00:18.696 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:06:38 +0000 (0:00:00.026) 0:00:18.723 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:06:38 +0000 (0:00:00.025) 0:00:18.748 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:06:38 +0000 (0:00:00.057) 0:00:18.806 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 09 January 2024 16:06:38 +0000 (0:00:00.255) 0:00:19.062 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:06:38 +0000 (0:00:00.049) 0:00:19.112 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:06:38 +0000 (0:00:00.020) 0:00:19.132 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:06:39 +0000 (0:00:00.022) 0:00:19.154 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:06:39 +0000 (0:00:00.033) 0:00:19.187 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:06:39 +0000 (0:00:00.032) 0:00:19.220 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003907", "end": "2024-01-09 16:06:39.291296", "rc": 0, "start": "2024-01-09 16:06:39.287389" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:06:39 +0000 (0:00:00.248) 0:00:19.469 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:06:39 +0000 (0:00:00.022) 0:00:19.491 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:06:39 +0000 (0:00:00.021) 0:00:19.512 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 16:06:41 +0000 (0:00:01.872) 0:00:21.385 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 16:06:41 +0000 (0:00:00.029) 0:00:21.414 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 16:06:41 +0000 (0:00:00.051) 0:00:21.466 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009270", "end": "2024-01-09 16:06:41.541244", "rc": 0, "start": "2024-01-09 16:06:41.531974" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 16:06:41 +0000 (0:00:00.262) 0:00:21.728 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 16:06:41 +0000 (0:00:00.020) 0:00:21.749 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 16:06:41 +0000 (0:00:00.021) 0:00:21.771 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:06:41 +0000 (0:00:00.020) 0:00:21.791 ******* 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_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 09 January 2024 16:06:41 +0000 (0:00:00.020) 0:00:21.812 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 09 January 2024 16:06:41 +0000 (0:00:00.021) 0:00:21.834 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:06:41 +0000 (0:00:00.050) 0:00:21.884 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:06:41 +0000 (0:00:00.025) 0:00:21.909 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:06:41 +0000 (0:00:00.023) 0:00:21.933 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:06:41 +0000 (0:00:00.031) 0:00:21.964 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:06:41 +0000 (0:00:00.031) 0:00:21.996 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004778", "end": "2024-01-09 16:06:43.065872", "rc": 0, "start": "2024-01-09 16:06:42.061094" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:06:43 +0000 (0:00:01.247) 0:00:23.243 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:06:43 +0000 (0:00:00.053) 0:00:23.297 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:06:43 +0000 (0:00:00.021) 0:00:23.318 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 16:06:45 +0000 (0:00:01.872) 0:00:25.190 ******* 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.007562", "end": "2024-01-09 16:06:45.279238", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-09 16:06:45.271676" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004474", "end": "2024-01-09 16:06:45.559484", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-09 16:06:45.555010" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003753", "end": "2024-01-09 16:06:45.784705", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-09 16:06:45.780952" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 16:06:45 +0000 (0:00:00.769) 0:00:25.960 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021140", "end": "2024-01-09 16:06:46.046442", "rc": 0, "start": "2024-01-09 16:06:46.025302" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 16:06:46 +0000 (0:00:00.264) 0:00:26.225 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 16:06:46 +0000 (0:00:00.029) 0:00:26.255 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 16:06:46 +0000 (0:00:00.021) 0:00:26.276 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 16:06:46 +0000 (0:00:00.023) 0:00:26.300 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:06:46 +0000 (0:00:00.020) 0:00:26.320 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:06:46 +0000 (0:00:00.024) 0:00:26.345 ******* included: /WORKDIR/git-route_typeay8iy0yj/.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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:06:46 +0000 (0:00:00.042) 0:00:26.387 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:06:46 +0000 (0:00:00.034) 0:00:26.421 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:06:46 +0000 (0:00:00.023) 0:00:26.445 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:06:46 +0000 (0:00:00.034) 0:00:26.479 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:06:48 +0000 (0:00:02.124) 0:00:28.604 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:06:49 +0000 (0:00:00.893) 0:00:29.497 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:06:49 +0000 (0:00:00.023) 0:00:29.521 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:06:49 +0000 (0:00:00.022) 0:00:29.544 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:06:49 +0000 (0:00:00.025) 0:00:29.569 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:06:49 +0000 (0:00:00.054) 0:00:29.623 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:06:49 +0000 (0:00:00.023) 0:00:29.647 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:06:49 +0000 (0:00:00.025) 0:00:29.673 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:06:49 +0000 (0:00:00.034) 0:00:29.707 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:06:50 +0000 (0:00:00.474) 0:00:30.182 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:06:50 +0000 (0:00:00.044) 0:00:30.227 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:06:50 +0000 (0:00:00.025) 0:00:30.252 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:06:50 +0000 (0:00:00.022) 0:00:30.275 ******* 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, 6b169d3d-6512-4eb0-976a-b19e98ca8641 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6b169d3d-6512-4eb0-976a-b19e98ca8641 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:06:50 +0000 (0:00:00.513) 0:00:30.788 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:06:50 +0000 (0:00:00.023) 0:00:30.811 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 6b169d3d-6512-4eb0-976a-b19e98ca8641", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6b169d3d-6512-4eb0-976a-b19e98ca8641 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:06:50 +0000 (0:00:00.022) 0:00:30.834 ******* 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, 6b169d3d-6512-4eb0-976a-b19e98ca8641\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6b169d3d-6512-4eb0-976a-b19e98ca8641 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 6b169d3d-6512-4eb0-976a-b19e98ca8641", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6b169d3d-6512-4eb0-976a-b19e98ca8641 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:06:50 +0000 (0:00:00.055) 0:00:30.890 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:06:50 +0000 (0:00:00.025) 0:00:30.915 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 09 January 2024 16:06:51 +0000 (0:00:00.247) 0:00:31.163 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:06:51 +0000 (0:00:00.049) 0:00:31.213 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:06:51 +0000 (0:00:00.031) 0:00:31.245 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704816405.2758613, "block_size": 4096, "blocks": 0, "ctime": 1704816405.2758613, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27036, "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": 1704816405.2758613, "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_typeay8iy0yj/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:06:51 +0000 (0:00:00.240) 0:00:31.485 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 09 January 2024 16:06:51 +0000 (0:00:00.022) 0:00:31.507 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:06:51 +0000 (0:00:00.048) 0:00:31.556 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:06:51 +0000 (0:00:00.033) 0:00:31.589 ******* 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_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:06:51 +0000 (0:00:00.021) 0:00:31.610 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:06:51 +0000 (0:00:00.269) 0:00:31.880 ******* 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_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:06:51 +0000 (0:00:00.019) 0:00:31.899 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022061", "end": "2024-01-09 16:06:51.986557", "rc": 0, "start": "2024-01-09 16:06:51.964496" } 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_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.263) 0:00:32.163 ******* 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_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.022) 0:00:32.186 ******* 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_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.020) 0:00:32.206 ******* 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_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.020) 0:00:32.226 ******* 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_typeay8iy0yj/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.020) 0:00:32.247 ******* 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_typeay8iy0yj/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.019) 0:00:32.266 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.023) 0:00:32.290 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.023) 0:00:32.314 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.021) 0:00:32.336 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003889", "end": "2024-01-09 16:06:52.404268", "rc": 0, "start": "2024-01-09 16:06:52.400379" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.252 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.252 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_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.244) 0:00:32.580 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.024) 0:00:32.604 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003887", "end": "2024-01-09 16:06:52.673375", "rc": 0, "start": "2024-01-09 16:06:52.669488" } 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_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.244) 0:00:32.849 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.035) 0:00:32.884 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.023) 0:00:32.907 ******* included: /WORKDIR/git-route_typeay8iy0yj/.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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.075) 0:00:32.983 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.036) 0:00:33.019 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.022) 0:00:33.042 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:06:52 +0000 (0:00:00.023) 0:00:33.066 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:06:55 +0000 (0:00:02.126) 0:00:35.193 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:06:55 +0000 (0:00:00.811) 0:00:36.004 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:06:55 +0000 (0:00:00.023) 0:00:36.028 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:06:55 +0000 (0:00:00.023) 0:00:36.051 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:06:55 +0000 (0:00:00.027) 0:00:36.079 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:06:55 +0000 (0:00:00.055) 0:00:36.135 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:06:56 +0000 (0:00:00.024) 0:00:36.160 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:06:56 +0000 (0:00:00.025) 0:00:36.185 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:06:56 +0000 (0:00:00.035) 0:00:36.221 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:06:56 +0000 (0:00:00.468) 0:00:36.689 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:06:56 +0000 (0:00:00.105) 0:00:36.794 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:06:56 +0000 (0:00:00.020) 0:00:36.815 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:06:56 +0000 (0:00:00.019) 0:00:36.834 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:06:57 +0000 (0:00:00.499) 0:00:37.334 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:06:57 +0000 (0:00:00.025) 0:00:37.360 ******* 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_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:06:57 +0000 (0:00:00.023) 0:00:37.383 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:06:57 +0000 (0:00:00.026) 0:00:37.410 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:06:57 +0000 (0:00:00.025) 0:00:37.436 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 09 January 2024 16:06:57 +0000 (0:00:00.248) 0:00:37.685 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:06:57 +0000 (0:00:00.066) 0:00:37.751 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:06:57 +0000 (0:00:00.026) 0:00:37.777 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:06:57 +0000 (0:00:00.034) 0:00:37.811 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:06:57 +0000 (0:00:00.035) 0:00:37.847 ******* included: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:06:57 +0000 (0:00:00.064) 0:00:37.912 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003613", "end": "2024-01-09 16:06:57.980134", "rc": 0, "start": "2024-01-09 16:06:57.976521" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:06:58 +0000 (0:00:00.245) 0:00:38.157 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:06:58 +0000 (0:00:00.022) 0:00:38.180 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:06:58 +0000 (0:00:00.021) 0:00:38.202 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 16:06:59 +0000 (0:00:01.868) 0:00:40.070 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 16:06:59 +0000 (0:00:00.029) 0:00:40.100 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 16:06:59 +0000 (0:00:00.021) 0:00:40.121 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011837", "end": "2024-01-09 16:07:00.202240", "rc": 0, "start": "2024-01-09 16:07:00.190403" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 16:07:00 +0000 (0:00:00.273) 0:00:40.395 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 16:07:00 +0000 (0:00:00.043) 0:00:40.438 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 16:07:00 +0000 (0:00:00.026) 0:00:40.465 ******* 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_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:07:00 +0000 (0:00:00.020) 0:00:40.485 ******* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Tuesday 09 January 2024 16:07:00 +0000 (0:00:00.082) 0:00:40.568 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.24s /WORKDIR/git-route_typeay8iy0yj/.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.13s /WORKDIR/git-route_typeay8iy0yj/.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.12s /WORKDIR/git-route_typeay8iy0yj/.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.12s /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 1.96s /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.87s /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.87s /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.87s /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:16 Gather current interface info ------------------------------------------- 1.25s /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.94s /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-route_typeay8iy0yj/tests/tests_auto_gateway_nm.yml:6 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.89s /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 0.89s /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Check which packages are installed --- 0.87s /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tests_auto_gateway.yml:3 ------ Create veth interface veth0 --------------------------------------------- 0.77s /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.63s /WORKDIR/git-route_typeay8iy0yj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Set up veth as managed by NetworkManager -------------------------------- 0.60s /WORKDIR/git-route_typeay8iy0yj/tests/playbooks/tasks/manage_test_interface.yml:31 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---