# 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_typelu9aew83/.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_typelu9aew83/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_typelu9aew83/tests/tests_vlan_mtu_nm.yml:6 Tuesday 09 January 2024 16:43:37 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typelu9aew83/tests/tests_vlan_mtu_nm.yml:9 Tuesday 09 January 2024 16:43:37 +0000 (0:00:00.884) 0:00:00.897 ******* included: /WORKDIR/git-route_typelu9aew83/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_typelu9aew83/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 16:43:37 +0000 (0:00:00.011) 0:00:00.909 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typelu9aew83/tests/tasks/el_repo_setup.yml:17 Tuesday 09 January 2024 16:43:38 +0000 (0:00:00.356) 0:00:01.265 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typelu9aew83/tests/tasks/el_repo_setup.yml:22 Tuesday 09 January 2024 16:43:38 +0000 (0:00:00.247) 0:00:01.513 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typelu9aew83/tests/tasks/el_repo_setup.yml:26 Tuesday 09 January 2024 16:43:38 +0000 (0:00:00.013) 0:00:01.527 ******* 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_typelu9aew83/tests/tasks/el_repo_setup.yml:51 Tuesday 09 January 2024 16:43:38 +0000 (0:00:00.009) 0:00:01.536 ******* included: /WORKDIR/git-route_typelu9aew83/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typelu9aew83/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 16:43:38 +0000 (0:00:00.023) 0:00:01.559 ******* 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_typelu9aew83/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 16:43:38 +0000 (0:00:00.252) 0:00:01.811 ******* 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_typelu9aew83/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 16:43:38 +0000 (0:00:00.009) 0:00:01.821 ******* 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_typelu9aew83/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 16:43:38 +0000 (0:00:00.008) 0:00:01.830 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.245228", "end": "2024-01-09 16:43:39.306517", "rc": 0, "start": "2024-01-09 16:43:39.061289" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typelu9aew83/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 16:43:39 +0000 (0:00:00.437) 0:00:02.267 ******* 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_typelu9aew83/tests/tests_vlan_mtu_nm.yml:11 Tuesday 09 January 2024 16:43:39 +0000 (0:00:00.007) 0:00:02.275 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing vlan mtu setting] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tests_vlan_mtu.yml:3 Tuesday 09 January 2024 16:43:39 +0000 (0:00:00.015) 0:00:02.290 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tests_vlan_mtu.yml:10 Tuesday 09 January 2024 16:43:40 +0000 (0:00:00.701) 0:00:02.992 ******* included: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:43:40 +0000 (0:00:00.017) 0:00:03.009 ******* included: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:43:40 +0000 (0:00:00.011) 0:00:03.021 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003266", "end": "2024-01-09 16:43:40.251109", "rc": 0, "start": "2024-01-09 16:43:40.247843" } STDOUT: bonding_masters eth0 lo team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:43:40 +0000 (0:00:00.191) 0:00:03.213 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:43:40 +0000 (0:00:00.011) 0:00:03.224 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'team0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tests_vlan_mtu.yml:12 Tuesday 09 January 2024 16:43:40 +0000 (0:00:00.010) 0:00:03.234 ******* included: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:43:40 +0000 (0:00:00.020) 0:00:03.255 ******* 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_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:43:40 +0000 (0:00:00.008) 0:00:03.263 ******* 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_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:43:40 +0000 (0:00:00.007) 0:00:03.271 ******* included: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:43:40 +0000 (0:00:00.011) 0:00:03.283 ******* included: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:43:40 +0000 (0:00:00.010) 0:00:03.294 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003452", "end": "2024-01-09 16:43:40.524536", "rc": 0, "start": "2024-01-09 16:43:40.521084" } STDOUT: bonding_masters eth0 lo team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:43:40 +0000 (0:00:00.190) 0:00:03.485 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:43:40 +0000 (0:00:00.010) 0:00:03.495 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'team0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:43:40 +0000 (0:00:00.011) 0:00:03.507 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 16:43:43 +0000 (0:00:03.260) 0:00:06.767 ******* 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.014422", "end": "2024-01-09 16:43:44.014407", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-01-09 16:43:43.999985" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.004040", "end": "2024-01-09 16:43:44.240015", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-01-09 16:43:44.235975" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.004979", "end": "2024-01-09 16:43:44.427828", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-01-09 16:43:44.422849" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 16:43:44 +0000 (0:00:00.622) 0:00:07.390 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.026020", "end": "2024-01-09 16:43:44.648228", "rc": 0, "start": "2024-01-09 16:43:44.622208" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 16:43:44 +0000 (0:00:00.222) 0:00:07.612 ******* 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_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 16:43:44 +0000 (0:00:00.010) 0:00:07.623 ******* 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_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 16:43:44 +0000 (0:00:00.009) 0:00:07.633 ******* 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_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 16:43:44 +0000 (0:00:00.009) 0:00:07.642 ******* 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_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:43:44 +0000 (0:00:00.008) 0:00:07.650 ******* 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_typelu9aew83/tests/playbooks/tests_vlan_mtu.yml:16 Tuesday 09 January 2024 16:43:44 +0000 (0:00:00.008) 0:00:07.659 ******* included: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:43:44 +0000 (0:00:00.017) 0:00:07.677 ******* included: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:43:44 +0000 (0:00:00.011) 0:00:07.688 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818624.0037966, "block_size": 4096, "blocks": 0, "ctime": 1704818624.0037966, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38116, "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": 1704818624.0037966, "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_typelu9aew83/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:43:44 +0000 (0:00:00.192) 0:00:07.881 ******* 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_typelu9aew83/tests/playbooks/tests_vlan_mtu.yml:18 Tuesday 09 January 2024 16:43:44 +0000 (0:00:00.010) 0:00:07.891 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:43:44 +0000 (0:00:00.009) 0:00:07.901 ******* included: /WORKDIR/git-route_typelu9aew83/.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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:43:44 +0000 (0:00:00.015) 0:00:07.917 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:43:44 +0000 (0:00:00.017) 0:00:07.935 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:43:45 +0000 (0:00:00.011) 0:00:07.946 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:43:45 +0000 (0:00:00.010) 0:00:07.957 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:43:46 +0000 (0:00:01.771) 0:00:09.728 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:43:48 +0000 (0:00:01.549) 0:00:11.278 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:43:48 +0000 (0:00:00.022) 0:00:11.301 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:43:48 +0000 (0:00:00.032) 0:00:11.333 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:43:48 +0000 (0:00:00.023) 0:00:11.356 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:43:48 +0000 (0:00:00.061) 0:00:11.418 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:43:48 +0000 (0:00:00.023) 0:00:11.442 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:43:48 +0000 (0:00:00.022) 0:00:11.464 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:43:48 +0000 (0:00:00.088) 0:00:11.553 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:43:49 +0000 (0:00:00.557) 0:00:12.110 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:43:49 +0000 (0:00:00.034) 0:00:12.145 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:43:49 +0000 (0:00:00.019) 0:00:12.165 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:43:49 +0000 (0:00:00.018) 0:00:12.183 ******* 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, 4951a4fb-8f9b-443b-abb0-560b574f4028 [006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, cf3c5c4a-5b51-47fd-9909-1f5782b927b5 [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 4951a4fb-8f9b-443b-abb0-560b574f4028 (not-active) [008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, cf3c5c4a-5b51-47fd-9909-1f5782b927b5 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:43:49 +0000 (0:00:00.599) 0:00:12.783 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:43:49 +0000 (0:00:00.021) 0:00:12.804 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 4951a4fb-8f9b-443b-abb0-560b574f4028", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, cf3c5c4a-5b51-47fd-9909-1f5782b927b5", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 4951a4fb-8f9b-443b-abb0-560b574f4028 (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, cf3c5c4a-5b51-47fd-9909-1f5782b927b5 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:43:49 +0000 (0:00:00.022) 0:00:12.827 ******* 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, 4951a4fb-8f9b-443b-abb0-560b574f4028\n[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, cf3c5c4a-5b51-47fd-9909-1f5782b927b5\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 4951a4fb-8f9b-443b-abb0-560b574f4028 (not-active)\n[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, cf3c5c4a-5b51-47fd-9909-1f5782b927b5 (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 4951a4fb-8f9b-443b-abb0-560b574f4028", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, cf3c5c4a-5b51-47fd-9909-1f5782b927b5", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 4951a4fb-8f9b-443b-abb0-560b574f4028 (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, cf3c5c4a-5b51-47fd-9909-1f5782b927b5 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:43:49 +0000 (0:00:00.022) 0:00:12.849 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:43:49 +0000 (0:00:00.021) 0:00:12.870 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tests_vlan_mtu.yml:46 Tuesday 09 January 2024 16:43:50 +0000 (0:00:00.302) 0:00:13.172 ******* included: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:43:50 +0000 (0:00:00.036) 0:00:13.209 ******* included: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:43:50 +0000 (0:00:00.029) 0:00:13.239 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818629.761818, "block_size": 4096, "blocks": 0, "ctime": 1704818629.761818, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38409, "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": 1704818629.761818, "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_typelu9aew83/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:43:50 +0000 (0:00:00.232) 0:00:13.471 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tests_vlan_mtu.yml:50 Tuesday 09 January 2024 16:43:50 +0000 (0:00:00.022) 0:00:13.494 ******* included: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=lsr101) included: /WORKDIR/git-route_typelu9aew83/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_typelu9aew83/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:43:50 +0000 (0:00:00.041) 0:00:13.535 ******* included: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:43:50 +0000 (0:00:00.031) 0:00:13.567 ******* 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_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:43:50 +0000 (0:00:00.020) 0:00:13.587 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818629.7542872, "block_size": 4096, "blocks": 8, "ctime": 1704818629.688287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4905467, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704818629.688287, "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_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:43:50 +0000 (0:00:00.203) 0:00:13.790 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:43:50 +0000 (0:00:00.021) 0:00:13.812 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.024594", "end": "2024-01-09 16:43:51.071220", "rc": 0, "start": "2024-01-09 16:43:51.046626" } STDOUT: lsr101.90 /etc/sysconfig/network-scripts/ifcfg-lsr101.90 lsr101 /etc/sysconfig/network-scripts/ifcfg-lsr101 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.236) 0:00:14.048 ******* 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_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.024) 0:00:14.073 ******* 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_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.021) 0:00:14.094 ******* 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_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.022) 0:00:14.117 ******* 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_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.028) 0:00:14.145 ******* 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_typelu9aew83/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.023) 0:00:14.169 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.022) 0:00:14.191 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.052) 0:00:14.244 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.022) 0:00:14.266 ******* included: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.032) 0:00:14.298 ******* 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_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.020) 0:00:14.318 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818629.8532877, "block_size": 4096, "blocks": 8, "ctime": 1704818629.698287, "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": 1704818629.698287, "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_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.202) 0:00:14.521 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.021) 0:00:14.543 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.023739", "end": "2024-01-09 16:43:51.800240", "rc": 0, "start": "2024-01-09 16:43:51.776501" } 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_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.228) 0:00:14.771 ******* 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_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.022) 0:00:14.793 ******* 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_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.021) 0:00:14.814 ******* 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_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.019) 0:00:14.834 ******* 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_typelu9aew83/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.020) 0:00:14.854 ******* 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_typelu9aew83/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.020) 0:00:14.874 ******* 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_typelu9aew83/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.021) 0:00:14.896 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.022) 0:00:14.918 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tests_vlan_mtu.yml:58 Tuesday 09 January 2024 16:43:51 +0000 (0:00:00.022) 0:00:14.940 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 16:43:52 +0000 (0:00:00.020) 0:00:14.961 ******* included: /WORKDIR/git-route_typelu9aew83/.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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:43:52 +0000 (0:00:00.063) 0:00:15.025 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 16:43:52 +0000 (0:00:00.032) 0:00:15.057 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 16:43:52 +0000 (0:00:00.022) 0:00:15.080 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 16:43:52 +0000 (0:00:00.022) 0:00:15.103 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 16:43:53 +0000 (0:00:01.735) 0:00:16.838 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 16:43:55 +0000 (0:00:01.347) 0:00:18.186 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 16:43:55 +0000 (0:00:00.024) 0:00:18.210 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 16:43:55 +0000 (0:00:00.023) 0:00:18.233 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 16:43:55 +0000 (0:00:00.024) 0:00:18.257 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 16:43:55 +0000 (0:00:00.053) 0:00:18.311 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 16:43:55 +0000 (0:00:00.023) 0:00:18.335 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 16:43:55 +0000 (0:00:00.024) 0:00:18.360 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 16:43:55 +0000 (0:00:00.038) 0:00:18.398 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 16:43:55 +0000 (0:00:00.475) 0:00:18.873 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 16:43:55 +0000 (0:00:00.038) 0:00:18.912 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 16:43:55 +0000 (0:00:00.024) 0:00:18.936 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 16:43:56 +0000 (0:00:00.022) 0:00:18.958 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 16:43:56 +0000 (0:00:00.517) 0:00:19.475 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 16:43:56 +0000 (0:00:00.026) 0:00:19.502 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 16:43:56 +0000 (0:00:00.027) 0:00:19.529 ******* 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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 16:43:56 +0000 (0:00:00.031) 0:00:19.561 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 16:43:56 +0000 (0:00:00.046) 0:00:19.607 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tests_vlan_mtu.yml:73 Tuesday 09 January 2024 16:43:56 +0000 (0:00:00.269) 0:00:19.877 ******* included: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:43:56 +0000 (0:00:00.045) 0:00:19.923 ******* 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_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:43:57 +0000 (0:00:00.030) 0:00:19.954 ******* 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_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:43:57 +0000 (0:00:00.021) 0:00:19.975 ******* included: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:43:57 +0000 (0:00:00.068) 0:00:20.043 ******* included: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:43:57 +0000 (0:00:00.043) 0:00:20.087 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003459", "end": "2024-01-09 16:43:57.321933", "rc": 0, "start": "2024-01-09 16:43:57.318474" } STDOUT: bonding_masters eth0 lo lsr101 peerlsr101 team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:43:57 +0000 (0:00:00.206) 0:00:20.294 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "lsr101", "peerlsr101", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:43:57 +0000 (0:00:00.029) 0:00:20.323 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'lsr101', 'peerlsr101', 'team0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:43:57 +0000 (0:00:00.022) 0:00:20.346 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 09 January 2024 16:44:00 +0000 (0:00:03.124) 0:00:23.470 ******* 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_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 09 January 2024 16:44:00 +0000 (0:00:00.026) 0:00:23.497 ******* 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_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 09 January 2024 16:44:00 +0000 (0:00:00.019) 0:00:23.516 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.009129", "end": "2024-01-09 16:44:00.756768", "rc": 0, "start": "2024-01-09 16:44:00.747639" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 09 January 2024 16:44:00 +0000 (0:00:00.217) 0:00:23.733 ******* 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_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 09 January 2024 16:44:00 +0000 (0:00:00.023) 0:00:23.756 ******* 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_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 09 January 2024 16:44:00 +0000 (0:00:00.021) 0:00:23.778 ******* 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_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:44:00 +0000 (0:00:00.021) 0:00:23.799 ******* 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 Tuesday 09 January 2024 16:44:00 +0000 (0:00:00.084) 0:00:23.884 ******* =============================================================================== Install iproute --------------------------------------------------------- 3.26s /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.12s /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /WORKDIR/git-route_typelu9aew83/.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.74s /WORKDIR/git-route_typelu9aew83/.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.55s /WORKDIR/git-route_typelu9aew83/.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_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.88s /WORKDIR/git-route_typelu9aew83/tests/tests_vlan_mtu_nm.yml:6 ----------------- Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-route_typelu9aew83/tests/playbooks/tests_vlan_mtu.yml:3 ---------- Create veth interface lsr101 -------------------------------------------- 0.62s /WORKDIR/git-route_typelu9aew83/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.60s /WORKDIR/git-route_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.56s /WORKDIR/git-route_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.52s /WORKDIR/git-route_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.48s /WORKDIR/git-route_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Enable EPEL 8 ----------------------------------------------------------- 0.44s /WORKDIR/git-route_typelu9aew83/tests/tasks/enable_epel.yml:35 ---------------- Gather the minimum subset of ansible_facts required by the network role test --- 0.36s /WORKDIR/git-route_typelu9aew83/tests/tasks/el_repo_setup.yml:3 --------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.30s /WORKDIR/git-route_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.27s /WORKDIR/git-route_typelu9aew83/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Create EPEL 8 ----------------------------------------------------------- 0.25s /WORKDIR/git-route_typelu9aew83/tests/tasks/enable_epel.yml:8 ----------------- Check if system is ostree ----------------------------------------------- 0.25s /WORKDIR/git-route_typelu9aew83/tests/tasks/el_repo_setup.yml:17 -------------- Get NM profile info ----------------------------------------------------- 0.24s /WORKDIR/git-route_typelu9aew83/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. ---^---^---^---^---^---