# 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-code_refactoryf2pishp/.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-code_refactoryf2pishp/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-code_refactoryf2pishp/tests/tests_vlan_mtu_nm.yml:5 Thursday 30 November 2023 18:45:15 +0000 (0:00:00.018) 0:00:00.018 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactoryf2pishp/tests/tests_vlan_mtu_nm.yml:9 Thursday 30 November 2023 18:45:17 +0000 (0:00:01.895) 0:00:01.914 ***** included: /WORKDIR/git-code_refactoryf2pishp/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-code_refactoryf2pishp/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 18:45:17 +0000 (0:00:00.014) 0:00:01.928 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/tasks/el_repo_setup.yml:17 Thursday 30 November 2023 18:45:18 +0000 (0:00:00.368) 0:00:02.297 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/tasks/el_repo_setup.yml:22 Thursday 30 November 2023 18:45:18 +0000 (0:00:00.273) 0:00:02.570 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/tasks/el_repo_setup.yml:26 Thursday 30 November 2023 18:45:18 +0000 (0:00:00.016) 0:00:02.587 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/tasks/el_repo_setup.yml:51 Thursday 30 November 2023 18:45:18 +0000 (0:00:00.009) 0:00:02.597 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 18:45:18 +0000 (0:00:00.027) 0:00:02.625 ***** 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-code_refactoryf2pishp/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 18:45:18 +0000 (0:00:00.275) 0:00:02.900 ***** 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-code_refactoryf2pishp/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 18:45:18 +0000 (0:00:00.010) 0:00:02.910 ***** 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-code_refactoryf2pishp/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 18:45:18 +0000 (0:00:00.010) 0:00:02.921 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.387311", "end": "2023-11-30 18:45:19.278872", "rc": 0, "start": "2023-11-30 18:45:18.891561" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 18:45:19 +0000 (0:00:00.581) 0:00:03.502 ***** 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-code_refactoryf2pishp/tests/tests_vlan_mtu_nm.yml:11 Thursday 30 November 2023 18:45:19 +0000 (0:00:00.010) 0:00:03.513 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing vlan mtu setting] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_vlan_mtu.yml:3 Thursday 30 November 2023 18:45:19 +0000 (0:00:00.019) 0:00:03.533 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_vlan_mtu.yml:10 Thursday 30 November 2023 18:45:19 +0000 (0:00:00.650) 0:00:04.183 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:45:20 +0000 (0:00:00.029) 0:00:04.212 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:45:20 +0000 (0:00:00.018) 0:00:04.230 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003538", "end": "2023-11-30 18:45:20.207472", "rc": 0, "start": "2023-11-30 18:45:20.203934" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:45:20 +0000 (0:00:00.200) 0:00:04.430 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:45:20 +0000 (0:00:00.013) 0:00:04.444 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_vlan_mtu.yml:12 Thursday 30 November 2023 18:45:20 +0000 (0:00:00.015) 0:00:04.460 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:45:20 +0000 (0:00:00.027) 0:00:04.488 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:45:20 +0000 (0:00:00.011) 0:00:04.499 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:45:20 +0000 (0:00:00.010) 0:00:04.510 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:45:20 +0000 (0:00:00.015) 0:00:04.526 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:45:20 +0000 (0:00:00.015) 0:00:04.541 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003674", "end": "2023-11-30 18:45:20.515773", "rc": 0, "start": "2023-11-30 18:45:20.512099" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:45:20 +0000 (0:00:00.198) 0:00:04.739 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:45:20 +0000 (0:00:00.014) 0:00:04.754 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:45:20 +0000 (0:00:00.013) 0:00:04.767 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:45:22 +0000 (0:00:01.802) 0:00:06.570 ***** 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.014271", "end": "2023-11-30 18:45:22.559054", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2023-11-30 18:45:22.544783" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.008924", "end": "2023-11-30 18:45:22.793919", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2023-11-30 18:45:22.784995" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.009744", "end": "2023-11-30 18:45:22.989364", "item": "ip link set lsr101 up", "rc": 0, "start": "2023-11-30 18:45:22.979620" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:45:23 +0000 (0:00:00.644) 0:00:07.214 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.025130", "end": "2023-11-30 18:45:23.210476", "rc": 0, "start": "2023-11-30 18:45:23.185346" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:45:23 +0000 (0:00:00.220) 0:00:07.435 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:45:23 +0000 (0:00:00.011) 0:00:07.446 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:45:23 +0000 (0:00:00.012) 0:00:07.459 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:45:23 +0000 (0:00:00.012) 0:00:07.471 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:45:23 +0000 (0:00:00.011) 0:00:07.483 ***** 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-code_refactoryf2pishp/tests/playbooks/tests_vlan_mtu.yml:16 Thursday 30 November 2023 18:45:23 +0000 (0:00:00.011) 0:00:07.494 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:45:23 +0000 (0:00:00.025) 0:00:07.519 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:45:23 +0000 (0:00:00.015) 0:00:07.535 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369922.5486717, "block_size": 4096, "blocks": 0, "ctime": 1701369922.5486717, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22614, "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": 1701369922.5486717, "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-code_refactoryf2pishp/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:45:23 +0000 (0:00:00.196) 0:00:07.731 ***** 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-code_refactoryf2pishp/tests/playbooks/tests_vlan_mtu.yml:18 Thursday 30 November 2023 18:45:23 +0000 (0:00:00.013) 0:00:07.744 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:45:23 +0000 (0:00:00.012) 0:00:07.757 ***** included: /WORKDIR/git-code_refactoryf2pishp/.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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:45:23 +0000 (0:00:00.019) 0:00:07.776 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:45:23 +0000 (0:00:00.022) 0:00:07.799 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:45:23 +0000 (0:00:00.014) 0:00:07.814 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:45:23 +0000 (0:00:00.014) 0:00:07.828 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:45:25 +0000 (0:00:01.792) 0:00:09.621 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:45:26 +0000 (0:00:01.522) 0:00:11.143 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:45:26 +0000 (0:00:00.037) 0:00:11.181 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:45:27 +0000 (0:00:00.035) 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 packages] ******************** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:45:27 +0000 (0:00:00.026) 0:00:11.243 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:45:27 +0000 (0:00:00.107) 0:00:11.350 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:45:27 +0000 (0:00:00.041) 0:00:11.391 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:45:27 +0000 (0:00:00.037) 0:00:11.428 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:45:27 +0000 (0:00:00.083) 0:00:11.512 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:45:27 +0000 (0:00:00.623) 0:00:12.136 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:45:27 +0000 (0:00:00.046) 0:00:12.182 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:45:28 +0000 (0:00:00.022) 0:00:12.205 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:45:28 +0000 (0:00:00.024) 0:00:12.229 ***** 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, 5a20d6ba-4a5e-4b3e-9e61-df5d7bf96a1c [006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, e2a02088-a764-4864-8a1d-c235815f7680 [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 5a20d6ba-4a5e-4b3e-9e61-df5d7bf96a1c (not-active) [008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, e2a02088-a764-4864-8a1d-c235815f7680 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:45:29 +0000 (0:00:01.000) 0:00:13.229 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:45:29 +0000 (0:00:00.029) 0:00:13.259 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 5a20d6ba-4a5e-4b3e-9e61-df5d7bf96a1c", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, e2a02088-a764-4864-8a1d-c235815f7680", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 5a20d6ba-4a5e-4b3e-9e61-df5d7bf96a1c (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, e2a02088-a764-4864-8a1d-c235815f7680 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:45:29 +0000 (0:00:00.027) 0:00:13.287 ***** 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, 5a20d6ba-4a5e-4b3e-9e61-df5d7bf96a1c\n[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, e2a02088-a764-4864-8a1d-c235815f7680\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 5a20d6ba-4a5e-4b3e-9e61-df5d7bf96a1c (not-active)\n[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, e2a02088-a764-4864-8a1d-c235815f7680 (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 5a20d6ba-4a5e-4b3e-9e61-df5d7bf96a1c", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, e2a02088-a764-4864-8a1d-c235815f7680", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 5a20d6ba-4a5e-4b3e-9e61-df5d7bf96a1c (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, e2a02088-a764-4864-8a1d-c235815f7680 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:45:29 +0000 (0:00:00.030) 0:00:13.317 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:45:29 +0000 (0:00:00.038) 0:00:13.355 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_vlan_mtu.yml:46 Thursday 30 November 2023 18:45:29 +0000 (0:00:00.338) 0:00:13.694 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:45:29 +0000 (0:00:00.046) 0:00:13.740 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:45:29 +0000 (0:00:00.040) 0:00:13.780 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369928.9448788, "block_size": 4096, "blocks": 0, "ctime": 1701369928.9448788, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23078, "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": 1701369928.9448788, "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-code_refactoryf2pishp/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:45:29 +0000 (0:00:00.237) 0:00:14.018 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_vlan_mtu.yml:50 Thursday 30 November 2023 18:45:29 +0000 (0:00:00.026) 0:00:14.045 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=lsr101) included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=lsr101.90) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 18:45:29 +0000 (0:00:00.051) 0:00:14.097 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:45:29 +0000 (0:00:00.041) 0:00:14.138 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:45:29 +0000 (0:00:00.026) 0:00:14.165 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369928.688694, "block_size": 4096, "blocks": 8, "ctime": 1701369928.6366935, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798084, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701369928.6366935, "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-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:45:30 +0000 (0:00:00.208) 0:00:14.373 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:45:30 +0000 (0:00:00.027) 0:00:14.401 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.023562", "end": "2023-11-30 18:45:30.396463", "rc": 0, "start": "2023-11-30 18:45:30.372901" } 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-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:45:30 +0000 (0:00:00.232) 0:00:14.633 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:45:30 +0000 (0:00:00.028) 0:00:14.662 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:45:30 +0000 (0:00:00.025) 0:00:14.687 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:45:30 +0000 (0:00:00.026) 0:00:14.713 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:45:30 +0000 (0:00:00.025) 0:00:14.739 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 18:45:30 +0000 (0:00:00.025) 0:00:14.765 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 18:45:30 +0000 (0:00:00.028) 0:00:14.794 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 18:45:30 +0000 (0:00:00.062) 0:00:14.856 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 18:45:30 +0000 (0:00:00.028) 0:00:14.884 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:45:30 +0000 (0:00:00.041) 0:00:14.926 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:45:30 +0000 (0:00:00.027) 0:00:14.954 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369928.9766974, "block_size": 4096, "blocks": 8, "ctime": 1701369928.6456935, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798099, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701369928.6456935, "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-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:45:30 +0000 (0:00:00.210) 0:00:15.164 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:45:30 +0000 (0:00:00.028) 0:00:15.193 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.023484", "end": "2023-11-30 18:45:31.189730", "rc": 0, "start": "2023-11-30 18:45:31.166246" } 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-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:45:31 +0000 (0:00:00.232) 0:00:15.425 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:45:31 +0000 (0:00:00.027) 0:00:15.453 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:45:31 +0000 (0:00:00.025) 0:00:15.478 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:45:31 +0000 (0:00:00.024) 0:00:15.503 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:45:31 +0000 (0:00:00.027) 0:00:15.531 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 18:45:31 +0000 (0:00:00.024) 0:00:15.555 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101.90'] ******* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 18:45:31 +0000 (0:00:00.027) 0:00:15.582 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 18:45:31 +0000 (0:00:00.027) 0:00:15.610 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_vlan_mtu.yml:58 Thursday 30 November 2023 18:45:31 +0000 (0:00:00.025) 0:00:15.635 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:45:31 +0000 (0:00:00.025) 0:00:15.661 ***** included: /WORKDIR/git-code_refactoryf2pishp/.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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:45:31 +0000 (0:00:00.079) 0:00:15.740 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:45:31 +0000 (0:00:00.044) 0:00:15.784 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:45:31 +0000 (0:00:00.029) 0:00:15.814 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:45:31 +0000 (0:00:00.029) 0:00:15.844 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:45:33 +0000 (0:00:01.666) 0:00:17.510 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:45:34 +0000 (0:00:01.274) 0:00:18.785 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:45:34 +0000 (0:00:00.024) 0:00:18.810 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:45:34 +0000 (0:00:00.024) 0:00:18.834 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:45:34 +0000 (0:00:00.027) 0:00:18.862 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:45:34 +0000 (0:00:00.067) 0:00:18.930 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:45:34 +0000 (0:00:00.027) 0:00:18.957 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:45:34 +0000 (0:00:00.026) 0:00:18.984 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:45:34 +0000 (0:00:00.039) 0:00:19.023 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:45:35 +0000 (0:00:00.447) 0:00:19.471 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:45:35 +0000 (0:00:00.043) 0:00:19.514 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:45:35 +0000 (0:00:00.022) 0:00:19.536 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:45:35 +0000 (0:00:00.021) 0:00:19.558 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:45:35 +0000 (0:00:00.494) 0:00:20.052 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:45:35 +0000 (0:00:00.025) 0:00:20.078 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:45:35 +0000 (0:00:00.026) 0:00:20.104 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:45:35 +0000 (0:00:00.027) 0:00:20.131 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:45:35 +0000 (0:00:00.026) 0:00:20.157 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_vlan_mtu.yml:73 Thursday 30 November 2023 18:45:36 +0000 (0:00:00.217) 0:00:20.375 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:45:36 +0000 (0:00:00.050) 0:00:20.425 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:45:36 +0000 (0:00:00.021) 0:00:20.447 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:45:36 +0000 (0:00:00.020) 0:00:20.467 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:45:36 +0000 (0:00:00.057) 0:00:20.524 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:45:36 +0000 (0:00:00.034) 0:00:20.559 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003655", "end": "2023-11-30 18:45:36.533647", "rc": 0, "start": "2023-11-30 18:45:36.529992" } STDOUT: eth0 lo lsr101 peerlsr101 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:45:36 +0000 (0:00:00.210) 0:00:20.769 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "lsr101", "peerlsr101" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:45:36 +0000 (0:00:00.024) 0:00:20.793 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'lsr101', 'peerlsr101'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:45:36 +0000 (0:00:00.023) 0:00:20.817 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:45:38 +0000 (0:00:01.453) 0:00:22.271 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:45:38 +0000 (0:00:00.034) 0:00:22.305 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:45:38 +0000 (0:00:00.023) 0:00:22.329 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.013516", "end": "2023-11-30 18:45:38.313916", "rc": 0, "start": "2023-11-30 18:45:38.300400" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:45:38 +0000 (0:00:00.222) 0:00:22.551 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:45:38 +0000 (0:00:00.023) 0:00:22.575 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:45:38 +0000 (0:00:00.023) 0:00:22.599 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:45:38 +0000 (0:00:00.023) 0:00:22.622 ***** 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 30 November 2023 18:45:38 +0000 (0:00:00.063) 0:00:22.686 ***** =============================================================================== Gathering Facts --------------------------------------------------------- 1.90s /WORKDIR/git-code_refactoryf2pishp/tests/tests_vlan_mtu_nm.yml:5 -------------- Install iproute --------------------------------------------------------- 1.80s /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /WORKDIR/git-code_refactoryf2pishp/.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.67s /WORKDIR/git-code_refactoryf2pishp/.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.52s /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 1.45s /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.27s /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.00s /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Gathering Facts --------------------------------------------------------- 0.65s /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_vlan_mtu.yml:3 ------- Create veth interface lsr101 -------------------------------------------- 0.64s /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.62s /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Enable EPEL 8 ----------------------------------------------------------- 0.58s /WORKDIR/git-code_refactoryf2pishp/tests/tasks/enable_epel.yml:35 ------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.49s /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.45s /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Gather the minimum subset of ansible_facts required by the network role test --- 0.37s /WORKDIR/git-code_refactoryf2pishp/tests/tasks/el_repo_setup.yml:3 ------------ fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.34s /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Create EPEL 8 ----------------------------------------------------------- 0.28s /WORKDIR/git-code_refactoryf2pishp/tests/tasks/enable_epel.yml:8 -------------- Check if system is ostree ----------------------------------------------- 0.27s /WORKDIR/git-code_refactoryf2pishp/tests/tasks/el_repo_setup.yml:17 ----------- Get stat for interface lsr101.90 ---------------------------------------- 0.24s /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_interface_stat.yml:3 Get NM profile info ----------------------------------------------------- 0.23s /WORKDIR/git-code_refactoryf2pishp/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. ---^---^---^---^---^---