# 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_typernkc4m3x/.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_vlan_mtu_nm.yml ************************************************ 2 plays in /WORKDIR/git-route_typernkc4m3x/tests/tests_vlan_mtu_nm.yml PLAY [Run playbook 'playbooks/tests_vlan_mtu.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/tests_vlan_mtu_nm.yml:5 Thursday 21 December 2023 17:12:12 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typernkc4m3x/tests/tests_vlan_mtu_nm.yml:9 Thursday 21 December 2023 17:12:13 +0000 (0:00:00.888) 0:00:00.901 ***** included: /WORKDIR/git-route_typernkc4m3x/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_typernkc4m3x/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 17:12:13 +0000 (0:00:00.011) 0:00:00.913 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/tasks/el_repo_setup.yml:17 Thursday 21 December 2023 17:12:13 +0000 (0:00:00.368) 0:00:01.282 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/tasks/el_repo_setup.yml:22 Thursday 21 December 2023 17:12:13 +0000 (0:00:00.242) 0:00:01.524 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/tasks/el_repo_setup.yml:26 Thursday 21 December 2023 17:12:13 +0000 (0:00:00.013) 0:00:01.538 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/tasks/el_repo_setup.yml:51 Thursday 21 December 2023 17:12:13 +0000 (0:00:00.008) 0:00:01.547 ***** included: /WORKDIR/git-route_typernkc4m3x/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 17:12:13 +0000 (0:00:00.022) 0:00:01.569 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 17:12:14 +0000 (0:00:00.245) 0:00:01.814 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 17:12:14 +0000 (0:00:00.011) 0:00:01.825 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 17:12:14 +0000 (0:00:00.008) 0:00:01.834 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.239320", "end": "2023-12-21 17:12:14.524894", "rc": 0, "start": "2023-12-21 17:12:14.285574" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 17:12:14 +0000 (0:00:00.430) 0:00:02.265 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/tests_vlan_mtu_nm.yml:11 Thursday 21 December 2023 17:12:14 +0000 (0:00:00.009) 0:00:02.274 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing vlan mtu setting] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tests_vlan_mtu.yml:3 Thursday 21 December 2023 17:12:14 +0000 (0:00:00.017) 0:00:02.292 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tests_vlan_mtu.yml:10 Thursday 21 December 2023 17:12:15 +0000 (0:00:00.705) 0:00:02.997 ***** included: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:12:15 +0000 (0:00:00.016) 0:00:03.014 ***** included: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:12:15 +0000 (0:00:00.010) 0:00:03.025 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003510", "end": "2023-12-21 17:12:15.480395", "rc": 0, "start": "2023-12-21 17:12:15.476885" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:12:15 +0000 (0:00:00.189) 0:00:03.214 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:12:15 +0000 (0:00:00.011) 0:00:03.225 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tests_vlan_mtu.yml:12 Thursday 21 December 2023 17:12:15 +0000 (0:00:00.011) 0:00:03.237 ***** included: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 17:12:15 +0000 (0:00:00.020) 0:00:03.257 ***** 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_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 17:12:15 +0000 (0:00:00.010) 0:00:03.267 ***** 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_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 17:12:15 +0000 (0:00:00.010) 0:00:03.278 ***** included: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:12:15 +0000 (0:00:00.012) 0:00:03.290 ***** included: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:12:15 +0000 (0:00:00.010) 0:00:03.300 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003591", "end": "2023-12-21 17:12:15.754611", "rc": 0, "start": "2023-12-21 17:12:15.751020" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:12:15 +0000 (0:00:00.188) 0:00:03.488 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:12:15 +0000 (0:00:00.011) 0:00:03.500 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 17:12:15 +0000 (0:00:00.010) 0:00:03.510 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 17:12:18 +0000 (0:00:03.190) 0:00:06.701 ***** ok: [sut] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "lsr101", "type", "veth", "peer", "name", "peerlsr101" ], "delta": "0:00:00.015662", "end": "2023-12-21 17:12:19.173608", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2023-12-21 17:12:19.157946" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.004400", "end": "2023-12-21 17:12:19.396738", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2023-12-21 17:12:19.392338" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.004343", "end": "2023-12-21 17:12:19.582646", "item": "ip link set lsr101 up", "rc": 0, "start": "2023-12-21 17:12:19.578303" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 17:12:19 +0000 (0:00:00.616) 0:00:07.317 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.025020", "end": "2023-12-21 17:12:19.797113", "rc": 0, "start": "2023-12-21 17:12:19.772093" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 17:12:19 +0000 (0:00:00.215) 0:00:07.532 ***** 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 lsr101] ******************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 17:12:19 +0000 (0:00:00.009) 0:00:07.541 ***** 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 lsr101] ******************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 17:12:19 +0000 (0:00:00.008) 0:00:07.550 ***** 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 lsr101] ********************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 17:12:19 +0000 (0:00:00.009) 0:00:07.559 ***** 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 lsr101] ********************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 17:12:19 +0000 (0:00:00.007) 0:00:07.567 ***** 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_typernkc4m3x/tests/playbooks/tests_vlan_mtu.yml:16 Thursday 21 December 2023 17:12:19 +0000 (0:00:00.007) 0:00:07.575 ***** included: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 17:12:19 +0000 (0:00:00.017) 0:00:07.592 ***** included: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:12:19 +0000 (0:00:00.012) 0:00:07.604 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703178739.161675, "block_size": 4096, "blocks": 0, "ctime": 1703178739.161675, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38644, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101", "lnk_target": "../../devices/virtual/net/lsr101", "mode": "0777", "mtime": 1703178739.161675, "nlink": 1, "path": "/sys/class/net/lsr101", "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 - 'lsr101'] ************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 17:12:20 +0000 (0:00:00.189) 0:00:07.794 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure the MTU for a vlan interface without autoconnect.] *** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tests_vlan_mtu.yml:18 Thursday 21 December 2023 17:12:20 +0000 (0:00:00.011) 0:00:07.805 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 17:12:20 +0000 (0:00:00.010) 0:00:07.815 ***** included: /WORKDIR/git-route_typernkc4m3x/.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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:12:20 +0000 (0:00:00.016) 0:00:07.831 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 17:12:20 +0000 (0:00:00.021) 0:00:07.853 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 17:12:20 +0000 (0:00:00.015) 0:00:07.869 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 17:12:20 +0000 (0:00:00.013) 0:00:07.883 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 17:12:21 +0000 (0:00:01.687) 0:00:09.570 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 17:12:23 +0000 (0:00:01.525) 0:00:11.096 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 17:12:23 +0000 (0:00:00.021) 0:00:11.117 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 17:12:23 +0000 (0:00:00.022) 0:00:11.139 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 17:12:23 +0000 (0:00:00.022) 0:00:11.162 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 17:12:23 +0000 (0:00:00.055) 0:00:11.217 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 17:12:23 +0000 (0:00:00.021) 0:00:11.238 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 17:12:23 +0000 (0:00:00.022) 0:00:11.261 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 17:12:23 +0000 (0:00:00.077) 0:00:11.339 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 17:12:24 +0000 (0:00:00.539) 0:00:11.878 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 17:12:24 +0000 (0:00:00.036) 0:00:11.915 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 17:12:24 +0000 (0:00:00.019) 0:00:11.935 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 17:12:24 +0000 (0:00:00.019) 0:00:11.955 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, ce24e8d6-e4e5-45cf-aea5-46bfd701b995 [006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, bdd15d7e-23cb-4428-a0fd-4ac893add9f7 [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, ce24e8d6-e4e5-45cf-aea5-46bfd701b995 (not-active) [008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, bdd15d7e-23cb-4428-a0fd-4ac893add9f7 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 17:12:24 +0000 (0:00:00.592) 0:00:12.547 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 17:12:24 +0000 (0:00:00.022) 0:00:12.570 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, ce24e8d6-e4e5-45cf-aea5-46bfd701b995", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, bdd15d7e-23cb-4428-a0fd-4ac893add9f7", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, ce24e8d6-e4e5-45cf-aea5-46bfd701b995 (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, bdd15d7e-23cb-4428-a0fd-4ac893add9f7 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 17:12:24 +0000 (0:00:00.025) 0:00:12.595 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, ce24e8d6-e4e5-45cf-aea5-46bfd701b995\n[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, bdd15d7e-23cb-4428-a0fd-4ac893add9f7\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, ce24e8d6-e4e5-45cf-aea5-46bfd701b995 (not-active)\n[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, bdd15d7e-23cb-4428-a0fd-4ac893add9f7 (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, ce24e8d6-e4e5-45cf-aea5-46bfd701b995", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, bdd15d7e-23cb-4428-a0fd-4ac893add9f7", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, ce24e8d6-e4e5-45cf-aea5-46bfd701b995 (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, bdd15d7e-23cb-4428-a0fd-4ac893add9f7 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 17:12:24 +0000 (0:00:00.025) 0:00:12.620 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 17:12:24 +0000 (0:00:00.023) 0:00:12.644 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tests_vlan_mtu.yml:46 Thursday 21 December 2023 17:12:25 +0000 (0:00:00.305) 0:00:12.949 ***** included: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 17:12:25 +0000 (0:00:00.036) 0:00:12.985 ***** included: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:12:25 +0000 (0:00:00.029) 0:00:13.015 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703178744.757781, "block_size": 4096, "blocks": 0, "ctime": 1703178744.757781, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38937, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101.90", "lnk_target": "../../devices/virtual/net/lsr101.90", "mode": "0777", "mtime": 1703178744.757781, "nlink": 1, "path": "/sys/class/net/lsr101.90", "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 - 'lsr101.90'] ********************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 17:12:25 +0000 (0:00:00.222) 0:00:13.238 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tests_vlan_mtu.yml:50 Thursday 21 December 2023 17:12:25 +0000 (0:00:00.022) 0:00:13.261 ***** included: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=lsr101) included: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=lsr101.90) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 17:12:25 +0000 (0:00:00.043) 0:00:13.304 ***** included: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:12:25 +0000 (0:00:00.032) 0:00:13.337 ***** 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_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:12:25 +0000 (0:00:00.020) 0:00:13.357 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703178744.7474816, "block_size": 4096, "blocks": 8, "ctime": 1703178744.6744838, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5025621, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703178744.6744838, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 214, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:12:25 +0000 (0:00:00.195) 0:00:13.553 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:12:25 +0000 (0:00:00.021) 0:00:13.574 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.024172", "end": "2023-12-21 17:12:26.051058", "rc": 0, "start": "2023-12-21 17:12:26.026886" } STDOUT: lsr101 /etc/sysconfig/network-scripts/ifcfg-lsr101 lsr101.90 /etc/sysconfig/network-scripts/ifcfg-lsr101.90 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.220) 0:00:13.795 ***** 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-lsr101] ************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.022) 0:00:13.817 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.019) 0:00:13.836 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.020) 0:00:13.856 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.019) 0:00:13.876 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.019) 0:00:13.895 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.021) 0:00:13.917 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.051) 0:00:13.968 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.022) 0:00:13.990 ***** included: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.031) 0:00:14.021 ***** 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_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.019) 0:00:14.041 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703178744.8394787, "block_size": 4096, "blocks": 8, "ctime": 1703178744.6854835, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991249, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703178744.6854835, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101.90", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 321, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.195) 0:00:14.236 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.021) 0:00:14.258 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.023888", "end": "2023-12-21 17:12:26.734888", "rc": 0, "start": "2023-12-21 17:12:26.711000" } STDOUT: lsr101.90 /etc/sysconfig/network-scripts/ifcfg-lsr101.90 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.221) 0:00:14.479 ***** 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-lsr101.90] ********************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.024) 0:00:14.503 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.021) 0:00:14.525 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101.90] ************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.019) 0:00:14.545 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.020) 0:00:14.565 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101.90'] ************************ task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.020) 0:00:14.586 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101.90'] ******* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.021) 0:00:14.608 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.022) 0:00:14.631 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tests_vlan_mtu.yml:58 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.022) 0:00:14.653 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 17:12:26 +0000 (0:00:00.020) 0:00:14.674 ***** included: /WORKDIR/git-route_typernkc4m3x/.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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:12:27 +0000 (0:00:00.061) 0:00:14.736 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 17:12:27 +0000 (0:00:00.033) 0:00:14.769 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 17:12:27 +0000 (0:00:00.023) 0:00:14.793 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 17:12:27 +0000 (0:00:00.023) 0:00:14.816 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 17:12:28 +0000 (0:00:01.585) 0:00:16.402 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 17:12:30 +0000 (0:00:01.349) 0:00:17.751 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 17:12:30 +0000 (0:00:00.027) 0:00:17.779 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 17:12:30 +0000 (0:00:00.051) 0:00:17.830 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 17:12:30 +0000 (0:00:00.024) 0:00:17.854 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 17:12:30 +0000 (0:00:00.066) 0:00:17.921 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 17:12:30 +0000 (0:00:00.034) 0:00:17.955 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 17:12:30 +0000 (0:00:00.023) 0:00:17.979 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 17:12:30 +0000 (0:00:00.066) 0:00:18.045 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 17:12:30 +0000 (0:00:00.441) 0:00:18.487 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 17:12:30 +0000 (0:00:00.036) 0:00:18.523 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 17:12:30 +0000 (0:00:00.020) 0:00:18.544 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 17:12:30 +0000 (0:00:00.019) 0:00:18.564 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 17:12:31 +0000 (0:00:00.513) 0:00:19.077 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 17:12:31 +0000 (0:00:00.023) 0:00:19.101 ***** 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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 17:12:31 +0000 (0:00:00.022) 0:00:19.123 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "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_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 17:12:31 +0000 (0:00:00.022) 0:00:19.146 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 17:12:31 +0000 (0:00:00.023) 0:00:19.169 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tests_vlan_mtu.yml:73 Thursday 21 December 2023 17:12:31 +0000 (0:00:00.203) 0:00:19.373 ***** included: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 17:12:31 +0000 (0:00:00.042) 0:00:19.416 ***** 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_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 17:12:31 +0000 (0:00:00.020) 0:00:19.437 ***** 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_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 17:12:31 +0000 (0:00:00.022) 0:00:19.459 ***** included: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:12:31 +0000 (0:00:00.062) 0:00:19.522 ***** included: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:12:31 +0000 (0:00:00.033) 0:00:19.555 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003313", "end": "2023-12-21 17:12:32.010256", "rc": 0, "start": "2023-12-21 17:12:32.006943" } STDOUT: bonding_masters eth0 lo lsr101 peerlsr101 rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:12:32 +0000 (0:00:00.198) 0:00:19.754 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "lsr101", "peerlsr101", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:12:32 +0000 (0:00:00.022) 0:00:19.776 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'lsr101', 'peerlsr101', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 17:12:32 +0000 (0:00:00.021) 0:00:19.798 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 17:12:35 +0000 (0:00:03.008) 0:00:22.807 ***** skipping: [sut] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add lsr101 type veth peer name peerlsr101", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerlsr101 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set lsr101 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_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 17:12:35 +0000 (0:00:00.029) 0:00:22.836 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 17:12:35 +0000 (0:00:00.021) 0:00:22.857 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.009854", "end": "2023-12-21 17:12:35.321829", "rc": 0, "start": "2023-12-21 17:12:35.311975" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 17:12:35 +0000 (0:00:00.213) 0:00:23.070 ***** 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 lsr101] ******************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 17:12:35 +0000 (0:00:00.021) 0:00:23.092 ***** 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 lsr101] ********************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 17:12:35 +0000 (0:00:00.021) 0:00:23.113 ***** 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 lsr101] ********************************************* task path: /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 17:12:35 +0000 (0:00:00.022) 0:00:23.135 ***** 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=80 changed=2 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Thursday 21 December 2023 17:12:35 +0000 (0:00:00.089) 0:00:23.225 ***** =============================================================================== Install iproute --------------------------------------------------------- 3.19s /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.01s /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-route_typernkc4m3x/tests/tests_vlan_mtu_nm.yml:5 ----------------- Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tests_vlan_mtu.yml:3 ---------- Create veth interface lsr101 -------------------------------------------- 0.62s /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.59s /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.54s /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.51s /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.44s /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Enable EPEL 8 ----------------------------------------------------------- 0.43s /WORKDIR/git-route_typernkc4m3x/tests/tasks/enable_epel.yml:35 ---------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.37s /WORKDIR/git-route_typernkc4m3x/tests/tasks/el_repo_setup.yml:3 --------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.31s /WORKDIR/git-route_typernkc4m3x/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Create EPEL 8 ----------------------------------------------------------- 0.25s /WORKDIR/git-route_typernkc4m3x/tests/tasks/enable_epel.yml:8 ----------------- Check if system is ostree ----------------------------------------------- 0.24s /WORKDIR/git-route_typernkc4m3x/tests/tasks/el_repo_setup.yml:17 -------------- Get stat for interface lsr101.90 ---------------------------------------- 0.22s /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_interface_stat.yml:3 Get NM profile info ----------------------------------------------------- 0.22s /WORKDIR/git-route_typernkc4m3x/tests/playbooks/tasks/get_profile_stat.yml:25 - ---^---^---^---^---^--- # 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. ---^---^---^---^---^---