# 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_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/tests_vlan_mtu_nm.yml:6 Wednesday 31 January 2024 23:48:04 +0000 (0:00:00.015) 0:00:00.015 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tests_vlan_mtu_nm.yml:9 Wednesday 31 January 2024 23:48:04 +0000 (0:00:00.630) 0:00:00.646 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/tasks/el_repo_setup.yml:3 Wednesday 31 January 2024 23:48:04 +0000 (0:00:00.018) 0:00:00.665 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/el_repo_setup.yml:19 Wednesday 31 January 2024 23:48:05 +0000 (0:00:00.321) 0:00:00.986 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/el_repo_setup.yml:24 Wednesday 31 January 2024 23:48:05 +0000 (0:00:00.267) 0:00:01.253 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/el_repo_setup.yml:28 Wednesday 31 January 2024 23:48:05 +0000 (0:00:00.044) 0:00:01.298 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/el_repo_setup.yml:53 Wednesday 31 January 2024 23:48:05 +0000 (0:00:00.022) 0:00:01.320 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/enable_epel.yml:8 Wednesday 31 January 2024 23:48:05 +0000 (0:00:00.035) 0:00:01.356 ***** 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-bond_options_rewrite4vle1jzk/tests/tasks/enable_epel.yml:24 Wednesday 31 January 2024 23:48:05 +0000 (0:00:00.245) 0:00:01.601 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/enable_epel.yml:30 Wednesday 31 January 2024 23:48:05 +0000 (0:00:00.013) 0:00:01.615 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/enable_epel.yml:35 Wednesday 31 January 2024 23:48:05 +0000 (0:00:00.013) 0:00:01.628 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.239424", "end": "2024-01-31 23:48:06.316798", "rc": 0, "start": "2024-01-31 23:48:06.077374" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/enable_epel.yml:40 Wednesday 31 January 2024 23:48:06 +0000 (0:00:00.425) 0:00:02.054 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tests_vlan_mtu_nm.yml:11 Wednesday 31 January 2024 23:48:06 +0000 (0:00:00.011) 0:00:02.066 ***** 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_rewrite4vle1jzk/tests/playbooks/tests_vlan_mtu.yml:3 Wednesday 31 January 2024 23:48:06 +0000 (0:00:00.012) 0:00:02.078 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tests_vlan_mtu.yml:10 Wednesday 31 January 2024 23:48:06 +0000 (0:00:00.484) 0:00:02.563 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:48:06 +0000 (0:00:00.021) 0:00:02.584 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:48:06 +0000 (0:00:00.015) 0:00:02.600 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002957", "end": "2024-01-31 23:48:07.046927", "rc": 0, "start": "2024-01-31 23:48:07.043970" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:48:07 +0000 (0:00:00.184) 0:00:02.784 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:48:07 +0000 (0:00:00.014) 0:00:02.799 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tests_vlan_mtu.yml:12 Wednesday 31 January 2024 23:48:07 +0000 (0:00:00.013) 0:00:02.812 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:48:07 +0000 (0:00:00.031) 0:00:02.844 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:48:07 +0000 (0:00:00.012) 0:00:02.856 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:48:07 +0000 (0:00:00.011) 0:00:02.868 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:48:07 +0000 (0:00:00.015) 0:00:02.883 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:48:07 +0000 (0:00:00.015) 0:00:02.899 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003070", "end": "2024-01-31 23:48:07.347548", "rc": 0, "start": "2024-01-31 23:48:07.344478" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:48:07 +0000 (0:00:00.184) 0:00:03.083 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:48:07 +0000 (0:00:00.014) 0:00:03.098 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:48:07 +0000 (0:00:00.013) 0:00:03.112 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 31 January 2024 23:48:10 +0000 (0:00:03.061) 0:00:06.173 ***** 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.015537", "end": "2024-01-31 23:48:10.639832", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-01-31 23:48:10.624295" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.003584", "end": "2024-01-31 23:48:10.851894", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-01-31 23:48:10.848310" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.004201", "end": "2024-01-31 23:48:11.033118", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-01-31 23:48:11.028917" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 31 January 2024 23:48:11 +0000 (0:00:00.597) 0:00:06.771 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.025137", "end": "2024-01-31 23:48:11.243314", "rc": 0, "start": "2024-01-31 23:48:11.218177" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 31 January 2024 23:48:11 +0000 (0:00:00.209) 0:00:06.980 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 31 January 2024 23:48:11 +0000 (0:00:00.013) 0:00:06.994 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 31 January 2024 23:48:11 +0000 (0:00:00.013) 0:00:07.007 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:48:11 +0000 (0:00:00.013) 0:00:07.020 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 31 January 2024 23:48:11 +0000 (0:00:00.012) 0:00:07.033 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tests_vlan_mtu.yml:16 Wednesday 31 January 2024 23:48:11 +0000 (0:00:00.011) 0:00:07.044 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:48:11 +0000 (0:00:00.023) 0:00:07.067 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:48:11 +0000 (0:00:00.017) 0:00:07.085 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706744890.6276357, "block_size": 4096, "blocks": 0, "ctime": 1706744890.6276357, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38839, "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": 1706744890.6276357, "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_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:48:11 +0000 (0:00:00.183) 0:00:07.268 ***** 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_rewrite4vle1jzk/tests/playbooks/tests_vlan_mtu.yml:18 Wednesday 31 January 2024 23:48:11 +0000 (0:00:00.014) 0:00:07.283 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:48:11 +0000 (0:00:00.014) 0:00:07.297 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:48:11 +0000 (0:00:00.081) 0:00:07.379 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:48:11 +0000 (0:00:00.040) 0:00:07.419 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:48:11 +0000 (0:00:00.012) 0:00:07.432 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:48:11 +0000 (0:00:00.011) 0:00:07.443 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:48:13 +0000 (0:00:01.554) 0:00:08.998 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:48:14 +0000 (0:00:01.478) 0:00:10.476 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:48:14 +0000 (0:00:00.030) 0:00:10.506 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:48:14 +0000 (0:00:00.044) 0:00:10.551 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:48:14 +0000 (0:00:00.034) 0:00:10.586 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:48:14 +0000 (0:00:00.057) 0:00:10.644 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:48:14 +0000 (0:00:00.025) 0:00:10.669 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:48:14 +0000 (0:00:00.024) 0:00:10.694 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:48:15 +0000 (0:00:00.031) 0:00:10.726 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:48:15 +0000 (0:00:00.508) 0:00:11.235 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:48:15 +0000 (0:00:00.031) 0:00:11.266 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:48:15 +0000 (0:00:00.031) 0:00:11.298 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:48:15 +0000 (0:00:00.037) 0:00:11.336 ***** 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, 2648d958-6483-4d84-8ce4-0ccec2278829 [006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, a7c5654b-5011-4ecb-a402-c8023bd43ce6 [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 2648d958-6483-4d84-8ce4-0ccec2278829 (not-active) [008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, a7c5654b-5011-4ecb-a402-c8023bd43ce6 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:48:16 +0000 (0:00:00.593) 0:00:11.929 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:48:16 +0000 (0:00:00.030) 0:00:11.959 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 2648d958-6483-4d84-8ce4-0ccec2278829", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, a7c5654b-5011-4ecb-a402-c8023bd43ce6", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 2648d958-6483-4d84-8ce4-0ccec2278829 (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, a7c5654b-5011-4ecb-a402-c8023bd43ce6 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:48:16 +0000 (0:00:00.051) 0:00:12.011 ***** 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, 2648d958-6483-4d84-8ce4-0ccec2278829\n[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, a7c5654b-5011-4ecb-a402-c8023bd43ce6\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 2648d958-6483-4d84-8ce4-0ccec2278829 (not-active)\n[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, a7c5654b-5011-4ecb-a402-c8023bd43ce6 (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 2648d958-6483-4d84-8ce4-0ccec2278829", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, a7c5654b-5011-4ecb-a402-c8023bd43ce6", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 2648d958-6483-4d84-8ce4-0ccec2278829 (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, a7c5654b-5011-4ecb-a402-c8023bd43ce6 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:48:16 +0000 (0:00:00.027) 0:00:12.039 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:48:16 +0000 (0:00:00.025) 0:00:12.064 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tests_vlan_mtu.yml:46 Wednesday 31 January 2024 23:48:16 +0000 (0:00:00.253) 0:00:12.318 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 23:48:16 +0000 (0:00:00.064) 0:00:12.382 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 23:48:16 +0000 (0:00:00.050) 0:00:12.433 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706744896.1256444, "block_size": 4096, "blocks": 0, "ctime": 1706744896.1256444, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39132, "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": 1706744896.1256444, "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_rewrite4vle1jzk/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 23:48:16 +0000 (0:00:00.195) 0:00:12.628 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tests_vlan_mtu.yml:50 Wednesday 31 January 2024 23:48:16 +0000 (0:00:00.027) 0:00:12.656 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml for sut included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:48:16 +0000 (0:00:00.057) 0:00:12.714 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:48:17 +0000 (0:00:00.044) 0:00:12.758 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:48:17 +0000 (0:00:00.024) 0:00:12.783 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706744896.117352, "block_size": 4096, "blocks": 8, "ctime": 1706744896.0503542, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5060553, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706744896.0503542, "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-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:48:17 +0000 (0:00:00.195) 0:00:12.979 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:48:17 +0000 (0:00:00.027) 0:00:13.007 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.022921", "end": "2024-01-31 23:48:17.476441", "rc": 0, "start": "2024-01-31 23:48:17.453520" } 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-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:48:17 +0000 (0:00:00.218) 0:00:13.225 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:48:17 +0000 (0:00:00.029) 0:00:13.254 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:48:17 +0000 (0:00:00.028) 0:00:13.282 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:48:17 +0000 (0:00:00.027) 0:00:13.310 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:48:17 +0000 (0:00:00.027) 0:00:13.338 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:48:17 +0000 (0:00:00.037) 0:00:13.375 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:48:17 +0000 (0:00:00.034) 0:00:13.410 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:48:17 +0000 (0:00:00.030) 0:00:13.440 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 31 January 2024 23:48:17 +0000 (0:00:00.027) 0:00:13.467 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 31 January 2024 23:48:17 +0000 (0:00:00.043) 0:00:13.511 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 31 January 2024 23:48:17 +0000 (0:00:00.029) 0:00:13.540 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706744896.061354, "block_size": 4096, "blocks": 8, "ctime": 1706744896.0603538, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434775, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706744896.0603538, "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-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 31 January 2024 23:48:18 +0000 (0:00:00.224) 0:00:13.765 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 31 January 2024 23:48:18 +0000 (0:00:00.027) 0:00:13.793 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.022938", "end": "2024-01-31 23:48:18.264718", "rc": 0, "start": "2024-01-31 23:48:18.241780" } 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-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 31 January 2024 23:48:18 +0000 (0:00:00.226) 0:00:14.019 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 31 January 2024 23:48:18 +0000 (0:00:00.039) 0:00:14.059 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 31 January 2024 23:48:18 +0000 (0:00:00.037) 0:00:14.097 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 31 January 2024 23:48:18 +0000 (0:00:00.029) 0:00:14.126 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 31 January 2024 23:48:18 +0000 (0:00:00.027) 0:00:14.154 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 31 January 2024 23:48:18 +0000 (0:00:00.031) 0:00:14.185 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 31 January 2024 23:48:18 +0000 (0:00:00.035) 0:00:14.220 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 31 January 2024 23:48:18 +0000 (0:00:00.029) 0:00:14.250 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tests_vlan_mtu.yml:58 Wednesday 31 January 2024 23:48:18 +0000 (0:00:00.028) 0:00:14.279 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 31 January 2024 23:48:18 +0000 (0:00:00.029) 0:00:14.308 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 31 January 2024 23:48:18 +0000 (0:00:00.052) 0:00:14.360 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 31 January 2024 23:48:18 +0000 (0:00:00.040) 0:00:14.401 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 31 January 2024 23:48:18 +0000 (0:00:00.027) 0:00:14.429 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 31 January 2024 23:48:18 +0000 (0:00:00.057) 0:00:14.486 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 31 January 2024 23:48:20 +0000 (0:00:01.493) 0:00:15.980 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 31 January 2024 23:48:21 +0000 (0:00:01.326) 0:00:17.306 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 31 January 2024 23:48:21 +0000 (0:00:00.056) 0:00:17.362 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 31 January 2024 23:48:21 +0000 (0:00:00.026) 0:00:17.389 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 31 January 2024 23:48:21 +0000 (0:00:00.024) 0:00:17.413 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 31 January 2024 23:48:21 +0000 (0:00:00.054) 0:00:17.468 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 31 January 2024 23:48:21 +0000 (0:00:00.025) 0:00:17.494 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 31 January 2024 23:48:21 +0000 (0:00:00.024) 0:00:17.518 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 31 January 2024 23:48:21 +0000 (0:00:00.028) 0:00:17.547 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 31 January 2024 23:48:22 +0000 (0:00:00.350) 0:00:17.897 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 31 January 2024 23:48:22 +0000 (0:00:00.038) 0:00:17.936 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 31 January 2024 23:48:22 +0000 (0:00:00.027) 0:00:17.963 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 31 January 2024 23:48:22 +0000 (0:00:00.029) 0:00:17.993 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 31 January 2024 23:48:22 +0000 (0:00:00.516) 0:00:18.509 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 31 January 2024 23:48:22 +0000 (0:00:00.026) 0:00:18.536 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 31 January 2024 23:48:22 +0000 (0:00:00.059) 0:00:18.595 ***** 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_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 31 January 2024 23:48:22 +0000 (0:00:00.027) 0:00:18.623 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 31 January 2024 23:48:22 +0000 (0:00:00.025) 0:00:18.648 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tests_vlan_mtu.yml:73 Wednesday 31 January 2024 23:48:23 +0000 (0:00:00.190) 0:00:18.839 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 23:48:23 +0000 (0:00:00.054) 0:00:18.893 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 23:48:23 +0000 (0:00:00.025) 0:00:18.919 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 23:48:23 +0000 (0:00:00.024) 0:00:18.943 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 23:48:23 +0000 (0:00:00.042) 0:00:18.986 ***** included: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 23:48:23 +0000 (0:00:00.040) 0:00:19.026 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003166", "end": "2024-01-31 23:48:23.475364", "rc": 0, "start": "2024-01-31 23:48:23.472198" } STDOUT: bonding_masters eth0 lo lsr101 peerlsr101 rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 23:48:23 +0000 (0:00:00.208) 0:00:19.234 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "lsr101", "peerlsr101", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 23:48:23 +0000 (0:00:00.036) 0:00:19.271 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'lsr101', 'peerlsr101', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 23:48:23 +0000 (0:00:00.034) 0:00:19.305 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 31 January 2024 23:48:26 +0000 (0:00:02.589) 0:00:21.895 ***** 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_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 31 January 2024 23:48:26 +0000 (0:00:00.040) 0:00:21.935 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 31 January 2024 23:48:26 +0000 (0:00:00.028) 0:00:21.964 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.012853", "end": "2024-01-31 23:48:26.424699", "rc": 0, "start": "2024-01-31 23:48:26.411846" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 31 January 2024 23:48:26 +0000 (0:00:00.213) 0:00:22.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 31 January 2024 23:48:26 +0000 (0:00:00.028) 0:00:22.205 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 23:48:26 +0000 (0:00:00.049) 0:00:22.255 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 31 January 2024 23:48:26 +0000 (0:00:00.026) 0:00:22.282 ***** 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 Wednesday 31 January 2024 23:48:26 +0000 (0:00:00.009) 0:00:22.291 ***** =============================================================================== Install iproute --------------------------------------------------------- 3.06s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.59s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.48s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.63s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tests_vlan_mtu_nm.yml:6 ------- Create veth interface lsr101 -------------------------------------------- 0.60s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Configure networking connection profiles --- 0.59s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 0.52s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.51s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 0.48s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tests_vlan_mtu.yml:3 Enable EPEL 8 ----------------------------------------------------------- 0.43s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/enable_epel.yml:35 ------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.35s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:88 Gather the minimum subset of ansible_facts required by the network role test --- 0.32s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/el_repo_setup.yml:3 ----- Check if system is ostree ----------------------------------------------- 0.27s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/el_repo_setup.yml:19 ---- linux-system-roles.network : Re-test connectivity ----------------------- 0.25s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/roles/linux-system-roles.network/tasks/main.yml:158 Create EPEL 8 ----------------------------------------------------------- 0.25s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/tasks/enable_epel.yml:8 ------- Get NM profile info ----------------------------------------------------- 0.23s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:25 Stat profile file ------------------------------------------------------- 0.22s /WORKDIR/git-bond_options_rewrite4vle1jzk/tests/playbooks/tasks/get_profile_stat.yml:9 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---