# 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_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/tests_vlan_mtu_initscripts.yml:5 Friday 09 February 2024 13:53:35 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tests_vlan_mtu_initscripts.yml:8 Friday 09 February 2024 13:53:36 +0000 (0:00:00.604) 0:00:00.617 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 13:53:36 +0000 (0:00:00.012) 0:00:00.629 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:19 Friday 09 February 2024 13:53:36 +0000 (0:00:00.323) 0:00:00.953 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:24 Friday 09 February 2024 13:53:37 +0000 (0:00:00.251) 0:00:01.205 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:28 Friday 09 February 2024 13:53:37 +0000 (0:00:00.021) 0:00:01.227 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:53 Friday 09 February 2024 13:53:37 +0000 (0:00:00.045) 0:00:01.272 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 13:53:37 +0000 (0:00:00.032) 0:00:01.305 ******* 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_rewritekh3yrgl7/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 13:53:37 +0000 (0:00:00.232) 0:00:01.537 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 13:53:37 +0000 (0:00:00.012) 0:00:01.550 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 13:53:37 +0000 (0:00:00.011) 0:00:01.561 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.239033", "end": "2024-02-09 13:53:37.789381", "rc": 0, "start": "2024-02-09 13:53:37.550348" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 13:53:37 +0000 (0:00:00.421) 0:00:01.982 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tests_vlan_mtu_initscripts.yml:10 Friday 09 February 2024 13:53:37 +0000 (0:00:00.009) 0:00:01.992 ******* 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_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:3 Friday 09 February 2024 13:53:37 +0000 (0:00:00.010) 0:00:02.002 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:10 Friday 09 February 2024 13:53:38 +0000 (0:00:00.484) 0:00:02.486 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:53:38 +0000 (0:00:00.018) 0:00:02.504 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:53:38 +0000 (0:00:00.013) 0:00:02.518 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002873", "end": "2024-02-09 13:53:38.511271", "rc": 0, "start": "2024-02-09 13:53:38.508398" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:53:38 +0000 (0:00:00.183) 0:00:02.702 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:53:38 +0000 (0:00:00.012) 0:00:02.714 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:12 Friday 09 February 2024 13:53:38 +0000 (0:00:00.012) 0:00:02.727 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 13:53:38 +0000 (0:00:00.023) 0:00:02.750 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 13:53:38 +0000 (0:00:00.011) 0:00:02.762 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 13:53:38 +0000 (0:00:00.010) 0:00:02.773 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:53:38 +0000 (0:00:00.014) 0:00:02.787 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:53:38 +0000 (0:00:00.013) 0:00:02.800 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003083", "end": "2024-02-09 13:53:38.793653", "rc": 0, "start": "2024-02-09 13:53:38.790570" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:53:38 +0000 (0:00:00.184) 0:00:02.985 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:53:38 +0000 (0:00:00.012) 0:00:02.997 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 13:53:38 +0000 (0:00:00.012) 0:00:03.009 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 13:53:41 +0000 (0:00:03.023) 0:00:06.033 ******* 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.014947", "end": "2024-02-09 13:53:42.040573", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-02-09 13:53:42.025626" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.003366", "end": "2024-02-09 13:53:42.252444", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-02-09 13:53:42.249078" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.003724", "end": "2024-02-09 13:53:42.431002", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-02-09 13:53:42.427278" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 13:53:42 +0000 (0:00:00.589) 0:00:06.623 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.024401", "end": "2024-02-09 13:53:42.637206", "rc": 0, "start": "2024-02-09 13:53:42.612805" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 13:53:42 +0000 (0:00:00.207) 0:00:06.830 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 13:53:42 +0000 (0:00:00.013) 0:00:06.844 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 13:53:42 +0000 (0:00:00.011) 0:00:06.856 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 13:53:42 +0000 (0:00:00.012) 0:00:06.868 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 13:53:42 +0000 (0:00:00.011) 0:00:06.880 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:16 Friday 09 February 2024 13:53:42 +0000 (0:00:00.010) 0:00:06.891 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 13:53:42 +0000 (0:00:00.021) 0:00:06.912 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:53:42 +0000 (0:00:00.014) 0:00:06.927 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707486822.0288827, "block_size": 4096, "blocks": 0, "ctime": 1707486822.0288827, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26460, "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": 1707486822.0288827, "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_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 13:53:42 +0000 (0:00:00.185) 0:00:07.112 ******* 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_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:18 Friday 09 February 2024 13:53:42 +0000 (0:00:00.013) 0:00:07.126 ******* ok: [sut] => {} MSG: ################################################## TASK [Verify DNS and ping still work before running the role] ****************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:22 Friday 09 February 2024 13:53:42 +0000 (0:00:00.012) 0:00:07.139 ******* 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.047631", "end": "2024-02-09 13:53:51.177488", "rc": 0, "start": "2024-02-09 13:53:43.129857" } STDOUT: 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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=51 time=2.83 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=2 ttl=51 time=1.97 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=3 ttl=51 time=1.87 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=4 ttl=51 time=2.12 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=5 ttl=51 time=1.91 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 1.871/2.141/2.830/0.354 ms 2620:52:3:1:dead:beef:cafe:fed6 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 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 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 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=11.9 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=2 ttl=50 time=10.7 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=3 ttl=50 time=26.8 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=4 ttl=50 time=39.4 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=5 ttl=50 time=10.5 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 10.515/19.874/39.405/11.525 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:53:51 +0000 (0:00:08.231) 0:00:15.370 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:53:51 +0000 (0:00:00.068) 0:00:15.439 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:53:51 +0000 (0:00:00.012) 0:00:15.452 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:53:51 +0000 (0:00:00.012) 0:00:15.464 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:53:51 +0000 (0:00:00.010) 0:00:15.475 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:53:52 +0000 (0:00:01.537) 0:00:17.013 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:53:54 +0000 (0:00:01.450) 0:00:18.464 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:53:54 +0000 (0:00:00.040) 0:00:18.504 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:53:54 +0000 (0:00:00.024) 0:00:18.529 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:53:54 +0000 (0:00:00.022) 0:00:18.552 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:53:54 +0000 (0:00:00.047) 0:00:18.599 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:53:54 +0000 (0:00:00.024) 0:00:18.624 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:53:54 +0000 (0:00:00.022) 0:00:18.646 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:53:54 +0000 (0:00:00.028) 0:00:18.675 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:53:54 +0000 (0:00:00.024) 0:00:18.699 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:53:54 +0000 (0:00:00.022) 0:00:18.722 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:53:55 +0000 (0:00:00.475) 0:00:19.198 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23430wilglpn9/tmpcz_6cbzh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:53:55 +0000 (0:00:00.298) 0:00:19.496 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:53:56 +0000 (0:00:00.733) 0:00:20.230 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:53:56 +0000 (0:00:00.024) 0:00:20.255 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:53:56 +0000 (0:00:00.025) 0:00:20.280 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:53:56 +0000 (0:00:00.025) 0:00:20.306 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:53:56 +0000 (0:00:00.024) 0:00:20.331 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:59 Friday 09 February 2024 13:53:56 +0000 (0:00:00.240) 0:00:20.571 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 13:53:56 +0000 (0:00:00.044) 0:00:20.615 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 13:53:56 +0000 (0:00:00.038) 0:00:20.653 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707486835.9080477, "block_size": 4096, "blocks": 0, "ctime": 1707486835.9080477, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26862, "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": 1707486835.9080477, "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_rewritekh3yrgl7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 13:53:56 +0000 (0:00:00.195) 0:00:20.849 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:63 Friday 09 February 2024 13:53:56 +0000 (0:00:00.026) 0:00:20.875 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml for sut included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 13:53:56 +0000 (0:00:00.052) 0:00:20.927 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 13:53:56 +0000 (0:00:00.070) 0:00:20.998 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 13:53:56 +0000 (0:00:00.026) 0:00:21.024 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707486835.7358258, "block_size": 4096, "blocks": 8, "ctime": 1707486835.7348256, "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": 1707486835.7348256, "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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 13:53:57 +0000 (0:00:00.194) 0:00:21.219 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 13:53:57 +0000 (0:00:00.025) 0:00:21.244 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.021093", "end": "2024-02-09 13:53:57.255913", "rc": 1, "start": "2024-02-09 13:53:57.234820" } 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 13:53:57 +0000 (0:00:00.214) 0:00:21.458 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 13:53:57 +0000 (0:00:00.023) 0:00:21.482 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.002706", "end": "2024-02-09 13:53:57.506775", "rc": 0, "start": "2024-02-09 13:53:57.504069" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 13:53:57 +0000 (0:00:00.228) 0:00:21.711 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 13:53:57 +0000 (0:00:00.030) 0:00:21.742 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.002617", "end": "2024-02-09 13:53:57.737427", "rc": 0, "start": "2024-02-09 13:53:57.734810" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 13:53:57 +0000 (0:00:00.199) 0:00:21.941 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 13:53:57 +0000 (0:00:00.029) 0:00:21.970 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 13:53:57 +0000 (0:00:00.026) 0:00:21.997 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 13:53:57 +0000 (0:00:00.025) 0:00:22.023 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 13:53:57 +0000 (0:00:00.051) 0:00:22.074 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 13:53:57 +0000 (0:00:00.041) 0:00:22.115 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 13:53:57 +0000 (0:00:00.025) 0:00:22.140 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707486835.8628254, "block_size": 4096, "blocks": 8, "ctime": 1707486835.7358258, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434765, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707486835.7358258, "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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 13:53:58 +0000 (0:00:00.194) 0:00:22.335 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 13:53:58 +0000 (0:00:00.028) 0:00:22.363 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.022058", "end": "2024-02-09 13:53:58.376732", "rc": 1, "start": "2024-02-09 13:53:58.354674" } 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 13:53:58 +0000 (0:00:00.215) 0:00:22.579 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 13:53:58 +0000 (0:00:00.023) 0:00:22.603 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.002843", "end": "2024-02-09 13:53:58.599185", "rc": 0, "start": "2024-02-09 13:53:58.596342" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 13:53:58 +0000 (0:00:00.201) 0:00:22.804 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 13:53:58 +0000 (0:00:00.030) 0:00:22.835 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.002718", "end": "2024-02-09 13:53:58.832226", "rc": 0, "start": "2024-02-09 13:53:58.829508" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 13:53:58 +0000 (0:00:00.201) 0:00:23.037 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 13:53:58 +0000 (0:00:00.029) 0:00:23.066 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 13:53:58 +0000 (0:00:00.026) 0:00:23.092 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 13:53:58 +0000 (0:00:00.027) 0:00:23.120 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify DNS and ping still work before teardown] ************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:70 Friday 09 February 2024 13:53:59 +0000 (0:00:00.079) 0:00:23.200 ******* 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.050056", "end": "2024-02-09 13:54:07.246510", "rc": 0, "start": "2024-02-09 13:53:59.196454" } STDOUT: 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 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 2620:52:3:1:dead:beef:cafe:fed6 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.21) 56(84) bytes of data. 64 bytes from proxy-iad02.fedoraproject.org (38.145.60.21): icmp_seq=1 ttl=53 time=2.79 ms 64 bytes from proxy-iad02.fedoraproject.org (38.145.60.21): icmp_seq=2 ttl=53 time=1.86 ms 64 bytes from proxy-iad02.fedoraproject.org (38.145.60.21): icmp_seq=3 ttl=53 time=1.83 ms 64 bytes from proxy-iad02.fedoraproject.org (38.145.60.21): icmp_seq=4 ttl=53 time=1.83 ms 64 bytes from proxy-iad02.fedoraproject.org (38.145.60.21): icmp_seq=5 ttl=53 time=1.93 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 1.825/2.045/2.790/0.374 ms 2600:2701:4000:5211:dead:beef:fe:fed3 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 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2605:bc80:3010:600:dead:beef:cafe:fed9 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 (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=18.10 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=2 ttl=50 time=10.6 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=3 ttl=50 time=10.6 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=4 ttl=50 time=10.8 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=5 ttl=50 time=10.6 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 10.559/12.298/18.962/3.335 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_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:83 Friday 09 February 2024 13:54:07 +0000 (0:00:08.252) 0:00:31.452 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 13:54:07 +0000 (0:00:00.023) 0:00:31.476 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 13:54:07 +0000 (0:00:00.042) 0:00:31.518 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 13:54:07 +0000 (0:00:00.029) 0:00:31.548 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 13:54:07 +0000 (0:00:00.046) 0:00:31.594 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 13:54:07 +0000 (0:00:00.024) 0:00:31.619 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 13:54:08 +0000 (0:00:01.477) 0:00:33.097 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 13:54:10 +0000 (0:00:01.289) 0:00:34.386 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 13:54:10 +0000 (0:00:00.054) 0:00:34.441 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 13:54:10 +0000 (0:00:00.024) 0:00:34.466 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 13:54:10 +0000 (0:00:00.024) 0:00:34.490 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 13:54:10 +0000 (0:00:00.049) 0:00:34.539 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 13:54:10 +0000 (0:00:00.025) 0:00:34.565 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 13:54:10 +0000 (0:00:00.023) 0:00:34.589 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 13:54:10 +0000 (0:00:00.030) 0:00:34.619 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 13:54:10 +0000 (0:00:00.026) 0:00:34.646 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 13:54:10 +0000 (0:00:00.024) 0:00:34.670 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 13:54:10 +0000 (0:00:00.351) 0:00:35.021 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23430wilglpn9/tmpo37xa1x8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 13:54:11 +0000 (0:00:00.299) 0:00:35.321 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 13:54:11 +0000 (0:00:00.438) 0:00:35.759 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 13:54:11 +0000 (0:00:00.056) 0:00:35.816 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 13:54:11 +0000 (0:00:00.026) 0:00:35.842 ******* 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_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 13:54:11 +0000 (0:00:00.025) 0:00:35.867 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 13:54:11 +0000 (0:00:00.024) 0:00:35.892 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Verify DNS and ping still work after teardown] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:98 Friday 09 February 2024 13:54:11 +0000 (0:00:00.190) 0:00:36.082 ******* 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.114714", "end": "2024-02-09 13:54:20.192705", "rc": 0, "start": "2024-02-09 13:54:12.077991" } 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 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 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 (34.221.3.152) 56(84) bytes of data. 64 bytes from ec2-34-221-3-152.us-west-2.compute.amazonaws.com (34.221.3.152): icmp_seq=1 ttl=54 time=63.3 ms 64 bytes from ec2-34-221-3-152.us-west-2.compute.amazonaws.com (34.221.3.152): icmp_seq=2 ttl=54 time=62.4 ms 64 bytes from ec2-34-221-3-152.us-west-2.compute.amazonaws.com (34.221.3.152): icmp_seq=3 ttl=54 time=62.5 ms 64 bytes from ec2-34-221-3-152.us-west-2.compute.amazonaws.com (34.221.3.152): icmp_seq=4 ttl=54 time=62.4 ms 64 bytes from ec2-34-221-3-152.us-west-2.compute.amazonaws.com (34.221.3.152): icmp_seq=5 ttl=54 time=62.4 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 62.380/62.603/63.340/0.432 ms 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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:2701:4000:5211:dead:beef:fe:fed3 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 2604:1580:fe00:0:dead:beef:cafe:fed1 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.4 ms 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=2 ttl=50 time=19.7 ms 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=3 ttl=50 time=19.9 ms 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=4 ttl=50 time=19.7 ms 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=5 ttl=50 time=22.4 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4005ms rtt min/avg/max/mdev = 19.664/20.622/22.382/1.102 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_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:111 Friday 09 February 2024 13:54:20 +0000 (0:00:08.351) 0:00:44.434 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:3 Friday 09 February 2024 13:54:20 +0000 (0:00:00.050) 0:00:44.484 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:8 Friday 09 February 2024 13:54:20 +0000 (0:00:00.023) 0:00:44.507 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:13 Friday 09 February 2024 13:54:20 +0000 (0:00:00.024) 0:00:44.532 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 13:54:20 +0000 (0:00:00.037) 0:00:44.569 ******* included: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 13:54:20 +0000 (0:00:00.037) 0:00:44.607 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002795", "end": "2024-02-09 13:54:20.600481", "rc": 0, "start": "2024-02-09 13:54:20.597686" } STDOUT: bonding_masters eth0 lo lsr101 lsr101.90 peerlsr101 rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 13:54:20 +0000 (0:00:00.196) 0:00:44.803 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "lsr101", "lsr101.90", "peerlsr101", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 13:54:20 +0000 (0:00:00.026) 0:00:44.830 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'lsr101', 'lsr101.90', 'peerlsr101', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:16 Friday 09 February 2024 13:54:20 +0000 (0:00:00.025) 0:00:44.855 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:28 Friday 09 February 2024 13:54:23 +0000 (0:00:02.576) 0:00:47.432 ******* 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_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:37 Friday 09 February 2024 13:54:23 +0000 (0:00:00.035) 0:00:47.467 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:45 Friday 09 February 2024 13:54:23 +0000 (0:00:00.027) 0:00:47.495 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.011234", "end": "2024-02-09 13:54:23.499813", "rc": 0, "start": "2024-02-09 13:54:23.488579" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:52 Friday 09 February 2024 13:54:23 +0000 (0:00:00.211) 0:00:47.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:58 Friday 09 February 2024 13:54:23 +0000 (0:00:00.025) 0:00:47.733 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:65 Friday 09 February 2024 13:54:23 +0000 (0:00:00.027) 0:00:47.761 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:71 Friday 09 February 2024 13:54:23 +0000 (0:00:00.025) 0:00:47.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:115 Friday 09 February 2024 13:54:23 +0000 (0:00:00.023) 0:00:47.809 ******* 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.055340", "end": "2024-02-09 13:54:31.862597", "rc": 0, "start": "2024-02-09 13:54:23.807257" } STDOUT: 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 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 PING wildcard.fedoraproject.org (8.43.85.73) 56(84) bytes of data. 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=1 ttl=50 time=15.2 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=2 ttl=50 time=10.6 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=3 ttl=50 time=10.6 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=4 ttl=50 time=10.6 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=5 ttl=50 time=10.5 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 10.540/11.528/15.217/1.848 ms 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 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 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 PING wildcard.fedoraproject.org (8.43.85.73) 56(84) bytes of data. 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=1 ttl=50 time=11.7 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=2 ttl=50 time=10.9 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=3 ttl=50 time=10.6 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=4 ttl=50 time=10.7 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=5 ttl=50 time=10.8 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 10.599/10.922/11.705/0.401 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 Friday 09 February 2024 13:54:31 +0000 (0:00:08.243) 0:00:56.053 ******* =============================================================================== Verify DNS and ping still work after teardown --------------------------- 8.35s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:98 Verify DNS and ping still work before teardown -------------------------- 8.25s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:70 Verify DNS and ping still work ------------------------------------------ 8.24s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:115 Verify DNS and ping still work before running the role ------------------ 8.23s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:22 Install iproute --------------------------------------------------------- 3.02s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.58s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.45s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.29s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.73s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gathering Facts --------------------------------------------------------- 0.60s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tests_vlan_mtu_initscripts.yml:5 Create veth interface lsr101 -------------------------------------------- 0.59s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tasks/manage_test_interface.yml:28 Gathering Facts --------------------------------------------------------- 0.48s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/playbooks/tests_vlan_mtu.yml:3 linux-system-roles.network : Enable network service --------------------- 0.48s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 0.44s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:125 Enable EPEL 8 ----------------------------------------------------------- 0.42s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/enable_epel.yml:35 ------ linux-system-roles.network : Enable network service --------------------- 0.35s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/roles/linux-system-roles.network/tasks/main.yml:108 Gather the minimum subset of ansible_facts required by the network role test --- 0.32s /WORKDIR/git-bond_options_rewritekh3yrgl7/tests/tasks/el_repo_setup.yml:3 ----- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.30s /WORKDIR/git-bond_options_rewritekh3yrgl7/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. ---^---^---^---^---^---