# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_vlan_mtu_nm.yml ************************************************ 2 plays in /WORKDIR/git-route_typemxl9uwfa/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_typemxl9uwfa/tests/tests_vlan_mtu_nm.yml:6 Tuesday 09 January 2024 16:57:22 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/tests_vlan_mtu_nm.yml:9 Tuesday 09 January 2024 16:57:23 +0000 (0:00:00.717) 0:00:00.729 ******* included: /WORKDIR/git-route_typemxl9uwfa/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_typemxl9uwfa/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 16:57:23 +0000 (0:00:00.010) 0:00:00.740 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 16:57:23 +0000 (0:00:00.376) 0:00:01.117 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 16:57:23 +0000 (0:00:00.254) 0:00:01.372 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 16:57:24 +0000 (0:00:00.020) 0:00:01.392 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 16:57:24 +0000 (0:00:00.018) 0:00:01.410 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 16:57:24 +0000 (0:00:00.039) 0:00:01.450 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 16:57:24 +0000 (0:00:00.257) 0:00:01.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 16:57:24 +0000 (0:00:00.011) 0:00:01.718 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 16:57:24 +0000 (0:00:00.012) 0:00:01.731 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.262486", "end": "2024-01-09 16:57:25.777581", "rc": 0, "start": "2024-01-09 16:57:24.515095" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 16:57:25 +0000 (0:00:01.458) 0:00:03.190 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/tests_vlan_mtu_nm.yml:11 Tuesday 09 January 2024 16:57:25 +0000 (0:00:00.010) 0:00:03.200 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing vlan mtu setting] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_vlan_mtu.yml:3 Tuesday 09 January 2024 16:57:25 +0000 (0:00:00.011) 0:00:03.212 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_vlan_mtu.yml:10 Tuesday 09 January 2024 16:57:26 +0000 (0:00:00.587) 0:00:03.799 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:57:26 +0000 (0:00:00.017) 0:00:03.817 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:57:26 +0000 (0:00:00.013) 0:00:03.830 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003466", "end": "2024-01-09 16:57:26.618042", "rc": 0, "start": "2024-01-09 16:57:26.614576" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:57:26 +0000 (0:00:00.198) 0:00:04.028 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:57:26 +0000 (0:00:00.012) 0:00:04.041 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_vlan_mtu.yml:12 Tuesday 09 January 2024 16:57:26 +0000 (0:00:00.010) 0:00:04.051 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:57:26 +0000 (0:00:00.022) 0:00:04.074 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:57:26 +0000 (0:00:00.009) 0:00:04.083 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:57:26 +0000 (0:00:00.009) 0:00:04.092 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:57:26 +0000 (0:00:00.013) 0:00:04.106 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:57:26 +0000 (0:00:00.011) 0:00:04.118 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003558", "end": "2024-01-09 16:57:26.900859", "rc": 0, "start": "2024-01-09 16:57:26.897301" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:57:26 +0000 (0:00:00.193) 0:00:04.311 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:57:26 +0000 (0:00:00.011) 0:00:04.323 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:57:26 +0000 (0:00:00.009) 0:00:04.332 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 16:57:30 +0000 (0:00:03.507) 0:00:07.839 ******* 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.014235", "end": "2024-01-09 16:57:30.635739", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-01-09 16:57:30.621504" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.003915", "end": "2024-01-09 16:57:30.862713", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-01-09 16:57:30.858798" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.004292", "end": "2024-01-09 16:57:31.052311", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-01-09 16:57:31.048019" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 16:57:31 +0000 (0:00:00.625) 0:00:08.465 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.024790", "end": "2024-01-09 16:57:31.275445", "rc": 0, "start": "2024-01-09 16:57:31.250655" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 16:57:31 +0000 (0:00:00.222) 0:00:08.687 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 16:57:31 +0000 (0:00:00.010) 0:00:08.698 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 16:57:31 +0000 (0:00:00.011) 0:00:08.709 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:57:31 +0000 (0:00:00.010) 0:00:08.720 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 16:57:31 +0000 (0:00:00.014) 0:00:08.734 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_vlan_mtu.yml:16 Tuesday 09 January 2024 16:57:31 +0000 (0:00:00.010) 0:00:08.745 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:57:31 +0000 (0:00:00.020) 0:00:08.765 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:57:31 +0000 (0:00:00.012) 0:00:08.778 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704819450.6252456, "block_size": 4096, "blocks": 0, "ctime": 1704819450.6252456, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22976, "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": 1704819450.6252456, "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_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:57:31 +0000 (0:00:00.192) 0:00:08.971 ******* 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_typemxl9uwfa/tests/playbooks/tests_vlan_mtu.yml:18 Tuesday 09 January 2024 16:57:31 +0000 (0:00:00.012) 0:00:08.984 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:57:31 +0000 (0:00:00.009) 0:00:08.993 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:57:31 +0000 (0:00:00.066) 0:00:09.060 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:57:31 +0000 (0:00:00.013) 0:00:09.073 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:57:31 +0000 (0:00:00.010) 0:00:09.084 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:57:31 +0000 (0:00:00.012) 0:00:09.096 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:57:33 +0000 (0:00:01.636) 0:00:10.733 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:57:34 +0000 (0:00:01.439) 0:00:12.172 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:57:34 +0000 (0:00:00.021) 0:00:12.194 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:57:34 +0000 (0:00:00.038) 0:00:12.232 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:57:34 +0000 (0:00:00.020) 0:00:12.253 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:57:34 +0000 (0:00:00.044) 0:00:12.297 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:57:34 +0000 (0:00:00.021) 0:00:12.319 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:57:34 +0000 (0:00:00.020) 0:00:12.339 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:57:34 +0000 (0:00:00.024) 0:00:12.364 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:57:35 +0000 (0:00:00.485) 0:00:12.849 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:57:35 +0000 (0:00:00.025) 0:00:12.875 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:57:35 +0000 (0:00:00.020) 0:00:12.896 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:57:35 +0000 (0:00:00.020) 0:00:12.916 ******* 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, a781a514-39f7-4233-a27c-96585474e9aa [006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, b5cc622b-ff80-47d4-9311-f2f5fedcb1da [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, a781a514-39f7-4233-a27c-96585474e9aa (not-active) [008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, b5cc622b-ff80-47d4-9311-f2f5fedcb1da (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:57:36 +0000 (0:00:00.626) 0:00:13.543 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:57:36 +0000 (0:00:00.020) 0:00:13.564 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, a781a514-39f7-4233-a27c-96585474e9aa", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, b5cc622b-ff80-47d4-9311-f2f5fedcb1da", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, a781a514-39f7-4233-a27c-96585474e9aa (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, b5cc622b-ff80-47d4-9311-f2f5fedcb1da (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:57:36 +0000 (0:00:00.022) 0:00:13.586 ******* 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, a781a514-39f7-4233-a27c-96585474e9aa\n[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, b5cc622b-ff80-47d4-9311-f2f5fedcb1da\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, a781a514-39f7-4233-a27c-96585474e9aa (not-active)\n[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, b5cc622b-ff80-47d4-9311-f2f5fedcb1da (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, a781a514-39f7-4233-a27c-96585474e9aa", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, b5cc622b-ff80-47d4-9311-f2f5fedcb1da", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, a781a514-39f7-4233-a27c-96585474e9aa (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, b5cc622b-ff80-47d4-9311-f2f5fedcb1da (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:57:36 +0000 (0:00:00.046) 0:00:13.632 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:57:36 +0000 (0:00:00.024) 0:00:13.656 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_vlan_mtu.yml:46 Tuesday 09 January 2024 16:57:36 +0000 (0:00:00.251) 0:00:13.908 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:57:36 +0000 (0:00:00.042) 0:00:13.951 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:57:36 +0000 (0:00:00.036) 0:00:13.988 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704819456.0712292, "block_size": 4096, "blocks": 0, "ctime": 1704819456.0712292, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23445, "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": 1704819456.0712292, "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_typemxl9uwfa/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:57:36 +0000 (0:00:00.206) 0:00:14.194 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_vlan_mtu.yml:50 Tuesday 09 January 2024 16:57:36 +0000 (0:00:00.033) 0:00:14.227 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml for sut included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:57:36 +0000 (0:00:00.052) 0:00:14.280 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:57:36 +0000 (0:00:00.044) 0:00:14.324 ******* 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_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:57:36 +0000 (0:00:00.024) 0:00:14.349 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704819455.9933372, "block_size": 4096, "blocks": 8, "ctime": 1704819455.939337, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533376, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704819455.939337, "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_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:57:37 +0000 (0:00:00.209) 0:00:14.559 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:57:37 +0000 (0:00:00.024) 0:00:14.583 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.023802", "end": "2024-01-09 16:57:37.391040", "rc": 0, "start": "2024-01-09 16:57:37.367238" } STDOUT: lsr101 /etc/sysconfig/network-scripts/ifcfg-lsr101 lsr101.90 /etc/sysconfig/network-scripts/ifcfg-lsr101.90 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:57:37 +0000 (0:00:00.231) 0:00:14.814 ******* 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_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:57:37 +0000 (0:00:00.026) 0:00:14.841 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:57:37 +0000 (0:00:00.023) 0:00:14.864 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:57:37 +0000 (0:00:00.025) 0:00:14.890 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:57:37 +0000 (0:00:00.024) 0:00:14.915 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:57:37 +0000 (0:00:00.024) 0:00:14.940 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:57:37 +0000 (0:00:00.024) 0:00:14.965 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:57:37 +0000 (0:00:00.024) 0:00:14.990 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:57:37 +0000 (0:00:00.023) 0:00:15.013 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:57:37 +0000 (0:00:00.036) 0:00:15.050 ******* 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_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:57:37 +0000 (0:00:00.023) 0:00:15.073 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704819456.0953372, "block_size": 4096, "blocks": 8, "ctime": 1704819455.949337, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533379, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704819455.949337, "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_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:57:37 +0000 (0:00:00.237) 0:00:15.311 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:57:37 +0000 (0:00:00.024) 0:00:15.336 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.023043", "end": "2024-01-09 16:57:38.141267", "rc": 0, "start": "2024-01-09 16:57:38.118224" } 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_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:57:38 +0000 (0:00:00.227) 0:00:15.564 ******* 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_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:57:38 +0000 (0:00:00.026) 0:00:15.590 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:57:38 +0000 (0:00:00.025) 0:00:15.616 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101.90] ************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:57:38 +0000 (0:00:00.025) 0:00:15.641 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:57:38 +0000 (0:00:00.025) 0:00:15.666 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101.90'] ************************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:57:38 +0000 (0:00:00.025) 0:00:15.692 ******* 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_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:57:38 +0000 (0:00:00.025) 0:00:15.717 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:57:38 +0000 (0:00:00.026) 0:00:15.744 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_vlan_mtu.yml:58 Tuesday 09 January 2024 16:57:38 +0000 (0:00:00.024) 0:00:15.769 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:57:38 +0000 (0:00:00.022) 0:00:15.791 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:57:38 +0000 (0:00:00.040) 0:00:15.831 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:57:38 +0000 (0:00:00.028) 0:00:15.860 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:57:38 +0000 (0:00:00.022) 0:00:15.882 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:57:38 +0000 (0:00:00.062) 0:00:15.945 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:57:40 +0000 (0:00:01.577) 0:00:17.523 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:57:41 +0000 (0:00:01.315) 0:00:18.839 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:57:41 +0000 (0:00:00.021) 0:00:18.861 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:57:41 +0000 (0:00:00.021) 0:00:18.882 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:57:41 +0000 (0:00:00.041) 0:00:18.924 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:57:41 +0000 (0:00:00.043) 0:00:18.967 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:57:41 +0000 (0:00:00.021) 0:00:18.988 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:57:41 +0000 (0:00:00.020) 0:00:19.009 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:57:41 +0000 (0:00:00.023) 0:00:19.033 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:57:41 +0000 (0:00:00.354) 0:00:19.387 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:57:42 +0000 (0:00:00.026) 0:00:19.414 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:57:42 +0000 (0:00:00.019) 0:00:19.433 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:57:42 +0000 (0:00:00.020) 0:00:19.454 ******* 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:57:42 +0000 (0:00:00.486) 0:00:19.940 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:57:42 +0000 (0:00:00.021) 0:00:19.962 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:57:42 +0000 (0:00:00.023) 0:00:19.985 ******* 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:57:42 +0000 (0:00:00.023) 0:00:20.009 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:57:42 +0000 (0:00:00.020) 0:00:20.029 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_vlan_mtu.yml:73 Tuesday 09 January 2024 16:57:42 +0000 (0:00:00.195) 0:00:20.224 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 16:57:42 +0000 (0:00:00.044) 0:00:20.269 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 16:57:42 +0000 (0:00:00.020) 0:00:20.290 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 16:57:42 +0000 (0:00:00.020) 0:00:20.310 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:57:42 +0000 (0:00:00.034) 0:00:20.344 ******* included: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:57:42 +0000 (0:00:00.033) 0:00:20.378 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003530", "end": "2024-01-09 16:57:43.163143", "rc": 0, "start": "2024-01-09 16:57:43.159613" } STDOUT: eth0 lo lsr101 peerlsr101 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:57:43 +0000 (0:00:00.206) 0:00:20.584 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "lsr101", "peerlsr101" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:57:43 +0000 (0:00:00.022) 0:00:20.607 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'lsr101', 'peerlsr101'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 16:57:43 +0000 (0:00:00.021) 0:00:20.629 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 16:57:46 +0000 (0:00:03.066) 0:00:23.695 ******* skipping: [sut] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set lsr101 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 16:57:46 +0000 (0:00:00.031) 0:00:23.727 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 16:57:46 +0000 (0:00:00.022) 0:00:23.750 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.012769", "end": "2024-01-09 16:57:46.543927", "rc": 0, "start": "2024-01-09 16:57:46.531158" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 16:57:46 +0000 (0:00:00.218) 0:00:23.968 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 16:57:46 +0000 (0:00:00.023) 0:00:23.992 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 16:57:46 +0000 (0:00:00.022) 0:00:24.014 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 16:57:46 +0000 (0:00:00.045) 0:00:24.060 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=80 changed=2 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Tuesday 09 January 2024 16:57:46 +0000 (0:00:00.009) 0:00:24.069 ******* =============================================================================== Install iproute --------------------------------------------------------- 3.51s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.07s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Enable EPEL 8 ----------------------------------------------------------- 1.46s /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:35 ---------------- linux-system-roles.network : Check which packages are installed --------- 1.44s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.32s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-route_typemxl9uwfa/tests/tests_vlan_mtu_nm.yml:6 ----------------- linux-system-roles.network : Configure networking connection profiles --- 0.63s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 Create veth interface lsr101 -------------------------------------------- 0.63s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/manage_test_interface.yml:24 Gathering Facts --------------------------------------------------------- 0.59s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tests_vlan_mtu.yml:3 ---------- linux-system-roles.network : Configure networking connection profiles --- 0.49s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.49s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gather the minimum subset of ansible_facts required by the network role test --- 0.38s /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:3 --------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.35s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:85 Create EPEL 8 ----------------------------------------------------------- 0.26s /WORKDIR/git-route_typemxl9uwfa/tests/tasks/enable_epel.yml:8 ----------------- Check if system is ostree ----------------------------------------------- 0.25s /WORKDIR/git-route_typemxl9uwfa/tests/tasks/el_repo_setup.yml:19 -------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.25s /WORKDIR/git-route_typemxl9uwfa/tests/roles/linux-system-roles.network/tasks/main.yml:155 Stat profile file ------------------------------------------------------- 0.24s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:9 -- Get NM profile info ----------------------------------------------------- 0.23s /WORKDIR/git-route_typemxl9uwfa/tests/playbooks/tasks/get_profile_stat.yml:25 - ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---