# 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_initscripts.yml *************************************** 2 plays in /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tests_vlan_mtu_initscripts.yml PLAY [Run playbook 'playbooks/tests_vlan_mtu.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tests_vlan_mtu_initscripts.yml:5 Tuesday 06 February 2024 22:21:53 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tests_vlan_mtu_initscripts.yml:8 Tuesday 06 February 2024 22:21:54 +0000 (0:00:00.606) 0:00:00.618 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 22:21:54 +0000 (0:00:00.010) 0:00:00.629 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 22:21:54 +0000 (0:00:00.332) 0:00:00.962 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 22:21:55 +0000 (0:00:00.259) 0:00:01.221 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 22:21:55 +0000 (0:00:00.048) 0:00:01.270 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 22:21:55 +0000 (0:00:00.020) 0:00:01.290 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 22:21:55 +0000 (0:00:00.032) 0:00:01.323 ****** 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_rewritesn2ilal8/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 22:21:55 +0000 (0:00:00.247) 0:00:01.571 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 22:21:55 +0000 (0:00:00.011) 0:00:01.582 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 22:21:55 +0000 (0:00:00.010) 0:00:01.593 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.269347", "end": "2024-02-06 22:21:56.825239", "rc": 0, "start": "2024-02-06 22:21:55.555892" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 22:21:56 +0000 (0:00:01.486) 0:00:03.079 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tests_vlan_mtu_initscripts.yml:10 Tuesday 06 February 2024 22:21:56 +0000 (0:00:00.016) 0:00:03.096 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing vlan mtu setting] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:3 Tuesday 06 February 2024 22:21:56 +0000 (0:00:00.014) 0:00:03.110 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:10 Tuesday 06 February 2024 22:21:57 +0000 (0:00:00.496) 0:00:03.606 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:21:57 +0000 (0:00:00.018) 0:00:03.625 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:21:57 +0000 (0:00:00.013) 0:00:03.638 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003647", "end": "2024-02-06 22:21:57.601250", "rc": 0, "start": "2024-02-06 22:21:57.597603" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:21:57 +0000 (0:00:00.196) 0:00:03.834 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:21:57 +0000 (0:00:00.013) 0:00:03.848 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:12 Tuesday 06 February 2024 22:21:57 +0000 (0:00:00.012) 0:00:03.860 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 22:21:57 +0000 (0:00:00.022) 0:00:03.883 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 22:21:57 +0000 (0:00:00.010) 0:00:03.893 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 22:21:57 +0000 (0:00:00.009) 0:00:03.903 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:21:57 +0000 (0:00:00.013) 0:00:03.916 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:21:57 +0000 (0:00:00.012) 0:00:03.929 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003594", "end": "2024-02-06 22:21:57.893747", "rc": 0, "start": "2024-02-06 22:21:57.890153" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:21:57 +0000 (0:00:00.198) 0:00:04.128 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:21:57 +0000 (0:00:00.011) 0:00:04.140 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 22:21:57 +0000 (0:00:00.010) 0:00:04.150 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 22:22:01 +0000 (0:00:03.096) 0:00:07.247 ****** 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.009482", "end": "2024-02-06 22:22:01.220233", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-02-06 22:22:01.210751" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.004109", "end": "2024-02-06 22:22:01.460841", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-02-06 22:22:01.456732" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.004175", "end": "2024-02-06 22:22:01.657842", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-02-06 22:22:01.653667" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 22:22:01 +0000 (0:00:00.646) 0:00:07.893 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.027012", "end": "2024-02-06 22:22:01.884187", "rc": 0, "start": "2024-02-06 22:22:01.857175" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 22:22:01 +0000 (0:00:00.228) 0:00:08.121 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 22:22:01 +0000 (0:00:00.013) 0:00:08.135 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 22:22:01 +0000 (0:00:00.011) 0:00:08.147 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 22:22:01 +0000 (0:00:00.011) 0:00:08.159 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 22:22:01 +0000 (0:00:00.011) 0:00:08.171 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:16 Tuesday 06 February 2024 22:22:01 +0000 (0:00:00.010) 0:00:08.182 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:22:01 +0000 (0:00:00.021) 0:00:08.203 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:22:02 +0000 (0:00:00.016) 0:00:08.220 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258121.214483, "block_size": 4096, "blocks": 0, "ctime": 1707258121.214483, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42504, "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": 1707258121.214483, "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_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:22:02 +0000 (0:00:00.196) 0:00:08.416 ****** 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_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:18 Tuesday 06 February 2024 22:22:02 +0000 (0:00:00.013) 0:00:08.429 ****** ok: [sut] => {} MSG: ################################################## TASK [Verify DNS and ping still work before running the role] ****************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:22 Tuesday 06 February 2024 22:22:02 +0000 (0:00:00.011) 0:00:08.440 ****** ok: [sut] => { "changed": false, "cmd": "set -euxo pipefail\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n exit 1\n fi\n if ! ping -c5 \"$host\"; then\n exit 1\n fi\ndone\n", "delta": "0:00:08.088760", "end": "2024-02-06 22:22:10.490988", "rc": 0, "start": "2024-02-06 22:22:02.402228" } STDOUT: 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (152.19.134.142) 56(84) bytes of data. 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=1 ttl=41 time=26.2 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=2 ttl=41 time=26.6 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=3 ttl=41 time=25.1 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=4 ttl=41 time=25.1 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=5 ttl=41 time=24.10 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 24.995/25.594/26.648/0.700 ms 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (152.19.134.142) 56(84) bytes of data. 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=1 ttl=41 time=24.8 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=2 ttl=41 time=23.7 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=3 ttl=41 time=23.7 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=4 ttl=41 time=23.7 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=5 ttl=41 time=23.6 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 23.631/23.891/24.775/0.442 ms STDERR: + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.fedoraproject.org + ping -c5 mirrors.fedoraproject.org + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.centos.org + ping -c5 mirrors.centos.org TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:10 +0000 (0:00:08.282) 0:00:16.723 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:10 +0000 (0:00:00.067) 0:00:16.790 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:10 +0000 (0:00:00.012) 0:00:16.802 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:10 +0000 (0:00:00.009) 0:00:16.812 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:10 +0000 (0:00:00.010) 0:00:16.823 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:12 +0000 (0:00:01.752) 0:00:18.575 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:13 +0000 (0:00:01.470) 0:00:20.045 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:13 +0000 (0:00:00.023) 0:00:20.068 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:13 +0000 (0:00:00.021) 0:00:20.090 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:13 +0000 (0:00:00.021) 0:00:20.112 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:13 +0000 (0:00:00.043) 0:00:20.155 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:13 +0000 (0:00:00.022) 0:00:20.178 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:13 +0000 (0:00:00.021) 0:00:20.199 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:14 +0000 (0:00:00.026) 0:00:20.226 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:14 +0000 (0:00:00.022) 0:00:20.248 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:14 +0000 (0:00:00.022) 0:00:20.271 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:14 +0000 (0:00:00.480) 0:00:20.751 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23973istt747m/tmp914i2vsj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:14 +0000 (0:00:00.292) 0:00:21.044 ****** 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": "initscripts" } }, "changed": true } STDERR: [005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101' [006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90' [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified) [008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active) [010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:15 +0000 (0:00:00.719) 0:00:21.764 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:15 +0000 (0:00:00.022) 0:00:21.786 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:15 +0000 (0:00:00.024) 0:00:21.811 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'\n[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)\n[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)\n[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:15 +0000 (0:00:00.025) 0:00:21.836 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:15 +0000 (0:00:00.024) 0:00:21.860 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:59 Tuesday 06 February 2024 22:22:15 +0000 (0:00:00.243) 0:00:22.103 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:22:15 +0000 (0:00:00.044) 0:00:22.148 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:22:15 +0000 (0:00:00.037) 0:00:22.185 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258135.3988194, "block_size": 4096, "blocks": 0, "ctime": 1707258135.3988194, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 42797, "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": 1707258135.3988194, "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_rewritesn2ilal8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:22:16 +0000 (0:00:00.202) 0:00:22.388 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:63 Tuesday 06 February 2024 22:22:16 +0000 (0:00:00.025) 0:00:22.413 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml for sut included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:22:16 +0000 (0:00:00.050) 0:00:22.463 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:22:16 +0000 (0:00:00.071) 0:00:22.535 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:22:16 +0000 (0:00:00.024) 0:00:22.559 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258135.2558172, "block_size": 4096, "blocks": 8, "ctime": 1707258135.2358174, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5998981, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707258135.2358174, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 136, "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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:22:16 +0000 (0:00:00.201) 0:00:22.760 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:22:16 +0000 (0:00:00.027) 0:00:22.788 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.022434", "end": "2024-02-06 22:22:16.764226", "rc": 1, "start": "2024-02-06 22:22:16.741792" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:22:16 +0000 (0:00:00.228) 0:00:23.016 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101] ************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:22:16 +0000 (0:00:00.028) 0:00:23.044 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003223", "end": "2024-02-06 22:22:17.009530", "rc": 0, "start": "2024-02-06 22:22:17.006307" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:22:17 +0000 (0:00:00.209) 0:00:23.254 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:22:17 +0000 (0:00:00.029) 0:00:23.283 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003543", "end": "2024-02-06 22:22:17.242610", "rc": 0, "start": "2024-02-06 22:22:17.239067" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:22:17 +0000 (0:00:00.204) 0:00:23.488 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:22:17 +0000 (0:00:00.028) 0:00:23.516 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:22:17 +0000 (0:00:00.024) 0:00:23.540 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:22:17 +0000 (0:00:00.024) 0:00:23.565 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:22:17 +0000 (0:00:00.053) 0:00:23.619 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:22:17 +0000 (0:00:00.037) 0:00:23.656 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:22:17 +0000 (0:00:00.024) 0:00:23.681 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707258135.3648157, "block_size": 4096, "blocks": 8, "ctime": 1707258135.2358174, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5998983, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707258135.2358174, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101.90", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 166, "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_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:22:17 +0000 (0:00:00.203) 0:00:23.884 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:22:17 +0000 (0:00:00.023) 0:00:23.908 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.022218", "end": "2024-02-06 22:22:17.882713", "rc": 1, "start": "2024-02-06 22:22:17.860495" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:22:17 +0000 (0:00:00.217) 0:00:24.125 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101.90] ********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:22:17 +0000 (0:00:00.023) 0:00:24.148 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003135", "end": "2024-02-06 22:22:18.105260", "rc": 0, "start": "2024-02-06 22:22:18.102125" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:22:18 +0000 (0:00:00.201) 0:00:24.350 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-lsr101.90] ************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:22:18 +0000 (0:00:00.031) 0:00:24.381 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003294", "end": "2024-02-06 22:22:18.339238", "rc": 0, "start": "2024-02-06 22:22:18.335944" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:22:18 +0000 (0:00:00.203) 0:00:24.584 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101.90'] ************************ task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:22:18 +0000 (0:00:00.032) 0:00:24.617 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:22:18 +0000 (0:00:00.034) 0:00:24.651 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:22:18 +0000 (0:00:00.027) 0:00:24.678 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify DNS and ping still work before teardown] ************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:70 Tuesday 06 February 2024 22:22:18 +0000 (0:00:00.068) 0:00:24.747 ****** ok: [sut] => { "changed": false, "cmd": "set -euxo pipefail\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n exit 1\n fi\n if ! ping -c5 \"$host\"; then\n exit 1\n fi\ndone\n", "delta": "0:00:08.074631", "end": "2024-02-06 22:22:26.780325", "rc": 0, "start": "2024-02-06 22:22:18.705694" } STDOUT: 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (38.145.60.20) 56(84) bytes of data. 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=1 ttl=49 time=2.30 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=2 ttl=49 time=1.77 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=3 ttl=49 time=1.69 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=4 ttl=49 time=1.78 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=5 ttl=49 time=1.68 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 1.681/1.845/2.304/0.234 ms 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (67.219.144.68) 56(84) bytes of data. 64 bytes from 67.219.144.68 (67.219.144.68): icmp_seq=1 ttl=46 time=30.9 ms 64 bytes from 67.219.144.68 (67.219.144.68): icmp_seq=2 ttl=46 time=30.2 ms 64 bytes from 67.219.144.68 (67.219.144.68): icmp_seq=3 ttl=46 time=30.0 ms 64 bytes from 67.219.144.68 (67.219.144.68): icmp_seq=4 ttl=46 time=30.1 ms 64 bytes from 67.219.144.68 (67.219.144.68): icmp_seq=5 ttl=46 time=30.2 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4005ms rtt min/avg/max/mdev = 30.013/30.283/30.922/0.376 ms STDERR: + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.fedoraproject.org + ping -c5 mirrors.fedoraproject.org + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.centos.org + ping -c5 mirrors.centos.org TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:83 Tuesday 06 February 2024 22:22:26 +0000 (0:00:08.278) 0:00:33.025 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.022) 0:00:33.048 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.039) 0:00:33.087 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.028) 0:00:33.115 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.044) 0:00:33.160 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:22:26 +0000 (0:00:00.022) 0:00:33.182 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:22:28 +0000 (0:00:01.629) 0:00:34.811 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:22:29 +0000 (0:00:01.347) 0:00:36.159 ****** ok: [sut] => {} MSG: Using network provider: initscripts 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:22:29 +0000 (0:00:00.054) 0:00:36.214 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.025) 0:00:36.240 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.027) 0:00:36.268 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.061) 0:00:36.330 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.024) 0:00:36.354 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.022) 0:00:36.377 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.026) 0:00:36.403 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.023) 0:00:36.427 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.021) 0:00:36.448 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.343) 0:00:36.792 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23973istt747m/tmps2nfy3l3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:22:30 +0000 (0:00:00.295) 0:00:37.087 ****** 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": "initscripts" } }, "changed": true } STDERR: [005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active) [006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active [008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101' [009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.442) 0:00:37.530 ****** 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_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.057) 0:00:37.588 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.024) 0:00:37.613 ****** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)\n[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active\n[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'\n[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'\n", "stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.023) 0:00:37.637 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.022) 0:00:37.659 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Verify DNS and ping still work after teardown] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:98 Tuesday 06 February 2024 22:22:31 +0000 (0:00:00.196) 0:00:37.856 ****** ok: [sut] => { "changed": false, "cmd": "set -euxo pipefail\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n exit 1\n fi\n if ! ping -c5 \"$host\"; then\n exit 1\n fi\ndone\n", "delta": "0:00:08.078306", "end": "2024-02-06 22:22:39.893884", "rc": 0, "start": "2024-02-06 22:22:31.815578" } STDOUT: 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (152.19.134.142) 56(84) bytes of data. 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=1 ttl=41 time=26.1 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=2 ttl=41 time=25.1 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=3 ttl=41 time=25.1 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=4 ttl=41 time=25.1 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=5 ttl=41 time=25.1 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4005ms rtt min/avg/max/mdev = 25.079/25.294/26.109/0.443 ms 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (152.19.134.142) 56(84) bytes of data. 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=1 ttl=46 time=20.3 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=2 ttl=46 time=19.8 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=3 ttl=46 time=19.8 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=4 ttl=46 time=19.9 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=5 ttl=46 time=19.8 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4005ms rtt min/avg/max/mdev = 19.752/19.883/20.252/0.243 ms STDERR: + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.fedoraproject.org + ping -c5 mirrors.fedoraproject.org + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.centos.org + ping -c5 mirrors.centos.org TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:111 Tuesday 06 February 2024 22:22:39 +0000 (0:00:08.283) 0:00:46.139 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 22:22:39 +0000 (0:00:00.074) 0:00:46.213 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.023) 0:00:46.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.022) 0:00:46.259 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.036) 0:00:46.296 ****** included: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.036) 0:00:46.332 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003655", "end": "2024-02-06 22:22:40.297296", "rc": 0, "start": "2024-02-06 22:22:40.293641" } STDOUT: bonding_masters eth0 lo lsr101 lsr101.90 peerlsr101 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.209) 0:00:46.542 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "lsr101", "lsr101.90", "peerlsr101" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.033) 0:00:46.575 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'lsr101', 'lsr101.90', 'peerlsr101'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 22:22:40 +0000 (0:00:00.037) 0:00:46.613 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 22:22:43 +0000 (0:00:02.707) 0:00:49.321 ****** 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_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.037) 0:00:49.358 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.025) 0:00:49.384 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.015331", "end": "2024-02-06 22:22:43.354974", "rc": 0, "start": "2024-02-06 22:22:43.339643" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.220) 0:00:49.604 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.026) 0:00:49.631 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.023) 0:00:49.655 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.024) 0:00:49.679 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:115 Tuesday 06 February 2024 22:22:43 +0000 (0:00:00.022) 0:00:49.701 ****** ok: [sut] => { "changed": false, "cmd": "set -euxo pipefail\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n exit 1\n fi\n if ! ping -c5 \"$host\"; then\n exit 1\n fi\ndone\n", "delta": "0:00:08.070911", "end": "2024-02-06 22:22:51.730152", "rc": 0, "start": "2024-02-06 22:22:43.659241" } STDOUT: 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (8.43.85.67) 56(84) bytes of data. 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=1 ttl=50 time=12.5 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=2 ttl=50 time=11.5 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=3 ttl=50 time=11.4 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=4 ttl=50 time=11.5 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=5 ttl=50 time=11.5 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 11.413/11.675/12.455/0.409 ms 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (152.19.134.198) 56(84) bytes of data. 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=1 ttl=50 time=21.3 ms 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=2 ttl=50 time=20.5 ms 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=3 ttl=50 time=20.3 ms 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=4 ttl=50 time=20.3 ms 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=5 ttl=50 time=20.3 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 20.254/20.533/21.276/0.396 ms STDERR: + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.fedoraproject.org + ping -c5 mirrors.fedoraproject.org + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.centos.org + ping -c5 mirrors.centos.org META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=92 changed=2 unreachable=0 failed=0 skipped=47 rescued=0 ignored=2 Tuesday 06 February 2024 22:22:51 +0000 (0:00:08.261) 0:00:57.963 ****** =============================================================================== Verify DNS and ping still work after teardown --------------------------- 8.28s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:98 Verify DNS and ping still work before running the role ------------------ 8.28s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:22 Verify DNS and ping still work before teardown -------------------------- 8.28s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:70 Verify DNS and ping still work ------------------------------------------ 8.26s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:115 Install iproute --------------------------------------------------------- 3.10s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.71s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Enable EPEL 8 ----------------------------------------------------------- 1.49s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/enable_epel.yml:35 ------ linux-system-roles.network : Check which packages are installed --------- 1.47s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.35s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.72s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 Create veth interface lsr101 -------------------------------------------- 0.65s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tasks/manage_test_interface.yml:28 Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tests_vlan_mtu_initscripts.yml:5 Gathering Facts --------------------------------------------------------- 0.50s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/playbooks/tests_vlan_mtu.yml:3 linux-system-roles.network : Enable network service --------------------- 0.48s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 0.44s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 0.34s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:108 Gather the minimum subset of ansible_facts required by the network role test --- 0.33s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/tasks/el_repo_setup.yml:3 ----- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.30s /WORKDIR/git-bond_options_rewritesn2ilal8/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---