# 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-bond_options_rewritedvms5tpt/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-bond_options_rewritedvms5tpt/tests/tests_vlan_mtu_nm.yml:6 Tuesday 06 February 2024 17:23:20 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tests_vlan_mtu_nm.yml:9 Tuesday 06 February 2024 17:23:21 +0000 (0:00:00.634) 0:00:00.648 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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-bond_options_rewritedvms5tpt/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 17:23:21 +0000 (0:00:00.012) 0:00:00.660 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 17:23:21 +0000 (0:00:00.327) 0:00:00.988 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 17:23:21 +0000 (0:00:00.286) 0:00:01.275 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 17:23:21 +0000 (0:00:00.033) 0:00:01.308 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 17:23:21 +0000 (0:00:00.021) 0:00:01.330 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 17:23:22 +0000 (0:00:00.040) 0:00:01.370 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 17:23:22 +0000 (0:00:00.060) 0:00:01.431 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 17:23:22 +0000 (0:00:00.019) 0:00:01.451 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 17:23:22 +0000 (0:00:00.031) 0:00:01.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 17:23:22 +0000 (0:00:00.043) 0:00:01.526 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tests_vlan_mtu_nm.yml:11 Tuesday 06 February 2024 17:23:22 +0000 (0:00:00.018) 0:00:01.544 ****** 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-bond_options_rewritedvms5tpt/tests/playbooks/tests_vlan_mtu.yml:3 Tuesday 06 February 2024 17:23:22 +0000 (0:00:00.022) 0:00:01.567 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tests_vlan_mtu.yml:10 Tuesday 06 February 2024 17:23:22 +0000 (0:00:00.527) 0:00:02.095 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:23:22 +0000 (0:00:00.028) 0:00:02.123 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:23:22 +0000 (0:00:00.016) 0:00:02.140 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003135", "end": "2024-02-06 17:23:22.988301", "rc": 0, "start": "2024-02-06 17:23:22.985166" } STDOUT: bonding_masters eth0 lo rpltstbr team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.239) 0:00:02.379 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.031) 0:00:02.410 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr', 'team0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tests_vlan_mtu.yml:12 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.032) 0:00:02.443 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.041) 0:00:02.484 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.045) 0:00:02.529 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.023) 0:00:02.552 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.038) 0:00:02.591 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.028) 0:00:02.619 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003324", "end": "2024-02-06 17:23:23.416103", "rc": 0, "start": "2024-02-06 17:23:23.412779" } STDOUT: bonding_masters eth0 lo rpltstbr team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.188) 0:00:02.808 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.038) 0:00:02.847 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr', 'team0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.016) 0:00:02.863 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 17:23:24 +0000 (0:00:01.127) 0:00:03.990 ****** 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.011503", "end": "2024-02-06 17:23:24.798314", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-02-06 17:23:24.786811" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.003608", "end": "2024-02-06 17:23:25.018639", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-02-06 17:23:25.015031" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.003604", "end": "2024-02-06 17:23:25.208362", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-02-06 17:23:25.204758" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.607) 0:00:04.598 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.026246", "end": "2024-02-06 17:23:25.415902", "rc": 0, "start": "2024-02-06 17:23:25.389656" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.208) 0:00:04.807 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.011) 0:00:04.819 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.011) 0:00:04.830 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.012) 0:00:04.842 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.012) 0:00:04.854 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tests_vlan_mtu.yml:16 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.011) 0:00:04.865 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.020) 0:00:04.886 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.015) 0:00:04.901 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240204.7902157, "block_size": 4096, "blocks": 0, "ctime": 1707240204.7902157, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32880, "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": 1707240204.7902157, "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-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.184) 0:00:05.085 ****** 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-bond_options_rewritedvms5tpt/tests/playbooks/tests_vlan_mtu.yml:18 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.013) 0:00:05.098 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.015) 0:00:05.114 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.067) 0:00:05.181 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.016) 0:00:05.197 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.020) 0:00:05.218 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.016) 0:00:05.235 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:23:27 +0000 (0:00:01.465) 0:00:06.701 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:23:28 +0000 (0:00:01.172) 0:00:07.873 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:23:28 +0000 (0:00:00.053) 0:00:07.926 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:23:28 +0000 (0:00:00.023) 0:00:07.950 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:23:28 +0000 (0:00:00.023) 0:00:07.973 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:23:28 +0000 (0:00:00.054) 0:00:08.028 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:23:28 +0000 (0:00:00.034) 0:00:08.062 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:23:28 +0000 (0:00:00.024) 0:00:08.087 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:23:28 +0000 (0:00:00.038) 0:00:08.125 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:23:29 +0000 (0:00:00.529) 0:00:08.654 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:23:29 +0000 (0:00:00.030) 0:00:08.684 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:23:29 +0000 (0:00:00.038) 0:00:08.722 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:23:29 +0000 (0:00:00.032) 0:00:08.755 ****** 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, 9b0d0b24-837c-43a9-974d-8ece3a410ce6 [006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, d4c3b605-11bd-4184-81fa-5d8ab9898129 [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 9b0d0b24-837c-43a9-974d-8ece3a410ce6 (not-active) [008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, d4c3b605-11bd-4184-81fa-5d8ab9898129 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.887) 0:00:09.642 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.023) 0:00:09.666 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 9b0d0b24-837c-43a9-974d-8ece3a410ce6", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, d4c3b605-11bd-4184-81fa-5d8ab9898129", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 9b0d0b24-837c-43a9-974d-8ece3a410ce6 (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, d4c3b605-11bd-4184-81fa-5d8ab9898129 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.024) 0:00:09.690 ****** 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, 9b0d0b24-837c-43a9-974d-8ece3a410ce6\n[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, d4c3b605-11bd-4184-81fa-5d8ab9898129\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 9b0d0b24-837c-43a9-974d-8ece3a410ce6 (not-active)\n[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, d4c3b605-11bd-4184-81fa-5d8ab9898129 (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 9b0d0b24-837c-43a9-974d-8ece3a410ce6", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, d4c3b605-11bd-4184-81fa-5d8ab9898129", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 9b0d0b24-837c-43a9-974d-8ece3a410ce6 (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, d4c3b605-11bd-4184-81fa-5d8ab9898129 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.026) 0:00:09.717 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.022) 0:00:09.740 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tests_vlan_mtu.yml:46 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.284) 0:00:10.025 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.073) 0:00:10.098 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.060) 0:00:10.159 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240210.1972456, "block_size": 4096, "blocks": 0, "ctime": 1707240210.1972456, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33297, "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": 1707240210.1972456, "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-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:23:31 +0000 (0:00:00.237) 0:00:10.397 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tests_vlan_mtu.yml:50 Tuesday 06 February 2024 17:23:31 +0000 (0:00:00.045) 0:00:10.443 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml for sut included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:23:31 +0000 (0:00:00.068) 0:00:10.511 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:23:31 +0000 (0:00:00.107) 0:00:10.619 ****** 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-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:23:31 +0000 (0:00:00.031) 0:00:10.650 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:23:31 +0000 (0:00:00.211) 0:00:10.862 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:23:31 +0000 (0:00:00.039) 0:00:10.901 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.025658", "end": "2024-02-06 17:23:31.745421", "rc": 0, "start": "2024-02-06 17:23:31.719763" } STDOUT: lsr101.90 /etc/NetworkManager/system-connections/lsr101.90.nmconnection lsr101 /etc/NetworkManager/system-connections/lsr101.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:23:31 +0000 (0:00:00.248) 0:00:11.150 ****** 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-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:23:31 +0000 (0:00:00.042) 0:00:11.192 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:23:31 +0000 (0:00:00.037) 0:00:11.230 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:23:31 +0000 (0:00:00.054) 0:00:11.284 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:23:31 +0000 (0:00:00.045) 0:00:11.330 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.048) 0:00:11.378 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.049) 0:00:11.428 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.048) 0:00:11.476 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.033) 0:00:11.510 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.052) 0:00:11.563 ****** 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-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.022) 0:00:11.585 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.201) 0:00:11.787 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.024) 0:00:11.811 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.024720", "end": "2024-02-06 17:23:32.631175", "rc": 0, "start": "2024-02-06 17:23:32.606455" } STDOUT: lsr101.90 /etc/NetworkManager/system-connections/lsr101.90.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.230) 0:00:12.042 ****** 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-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.029) 0:00:12.072 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.041) 0:00:12.113 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101.90] ************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.041) 0:00:12.155 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.049) 0:00:12.205 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101.90'] ************************ task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.040) 0:00:12.245 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101.90'] ******* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.037) 0:00:12.283 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.041) 0:00:12.324 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tests_vlan_mtu.yml:58 Tuesday 06 February 2024 17:23:32 +0000 (0:00:00.034) 0:00:12.359 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:23:33 +0000 (0:00:00.029) 0:00:12.388 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:23:33 +0000 (0:00:00.039) 0:00:12.427 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:23:33 +0000 (0:00:00.026) 0:00:12.453 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:23:33 +0000 (0:00:00.021) 0:00:12.475 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:23:33 +0000 (0:00:00.022) 0:00:12.497 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:23:34 +0000 (0:00:01.412) 0:00:13.910 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:23:35 +0000 (0:00:00.944) 0:00:14.854 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:23:35 +0000 (0:00:00.024) 0:00:14.879 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:23:35 +0000 (0:00:00.024) 0:00:14.903 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:23:35 +0000 (0:00:00.023) 0:00:14.926 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:23:35 +0000 (0:00:00.047) 0:00:14.974 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:23:35 +0000 (0:00:00.036) 0:00:15.011 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:23:35 +0000 (0:00:00.087) 0:00:15.099 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:23:35 +0000 (0:00:00.033) 0:00:15.132 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:23:36 +0000 (0:00:00.361) 0:00:15.493 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:23:36 +0000 (0:00:00.028) 0:00:15.522 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:23:36 +0000 (0:00:00.023) 0:00:15.545 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:23:36 +0000 (0:00:00.023) 0:00:15.568 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:23:36 +0000 (0:00:00.542) 0:00:16.111 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:23:36 +0000 (0:00:00.023) 0:00:16.134 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:23:36 +0000 (0:00:00.023) 0:00:16.157 ****** 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-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:23:36 +0000 (0:00:00.024) 0:00:16.182 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:23:36 +0000 (0:00:00.022) 0:00:16.205 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tests_vlan_mtu.yml:73 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.190) 0:00:16.395 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.099) 0:00:16.494 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.023) 0:00:16.518 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.022) 0:00:16.541 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.039) 0:00:16.580 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.037) 0:00:16.618 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003294", "end": "2024-02-06 17:23:37.412547", "rc": 0, "start": "2024-02-06 17:23:37.409253" } STDOUT: bonding_masters eth0 lo lsr101 peerlsr101 rpltstbr team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.193) 0:00:16.811 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "lsr101", "peerlsr101", "rpltstbr", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.023) 0:00:16.834 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'lsr101', 'peerlsr101', 'rpltstbr', 'team0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.024) 0:00:16.858 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.899) 0:00:17.758 ****** 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-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.034) 0:00:17.792 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.023) 0:00:17.816 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.009110", "end": "2024-02-06 17:23:38.619275", "rc": 0, "start": "2024-02-06 17:23:38.610165" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.206) 0:00:18.022 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.135) 0:00:18.158 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.036) 0:00:18.194 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.081) 0:00:18.276 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tests_vlan_mtu.yml:77 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.029) 0:00:18.306 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=76 changed=2 unreachable=0 failed=0 skipped=60 rescued=0 ignored=0 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.022) 0:00:18.328 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.17s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 1.13s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.90s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.89s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.63s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tests_vlan_mtu_nm.yml:6 ------- Create veth interface lsr101 -------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Configure networking connection profiles --- 0.54s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.53s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 0.53s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tests_vlan_mtu.yml:3 linux-system-roles.network : Enable and start NetworkManager ------------ 0.36s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gather the minimum subset of ansible_facts required by the network role test --- 0.33s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/el_repo_setup.yml:3 ----- Check if system is ostree ----------------------------------------------- 0.29s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/el_repo_setup.yml:19 ---- linux-system-roles.network : Re-test connectivity ----------------------- 0.28s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Get NM profile info ----------------------------------------------------- 0.25s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:25 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:3 Get stat for interface lsr101.90 ---------------------------------------- 0.24s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml:3 Get NM profile info ----------------------------------------------------- 0.23s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:25 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---