# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_vlan_mtu_initscripts.yml *************************************** 2 plays in /WORKDIR/git-bond_options_rewritep6fl2l2k/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_rewritep6fl2l2k/tests/tests_vlan_mtu_initscripts.yml:5 Tuesday 13 February 2024 02:44:37 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tests_vlan_mtu_initscripts.yml:8 Tuesday 13 February 2024 02:44:38 +0000 (0:00:00.886) 0:00:00.898 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/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_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 02:44:38 +0000 (0:00:00.010) 0:00:00.909 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:17 Tuesday 13 February 2024 02:44:38 +0000 (0:00:00.366) 0:00:01.276 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:22 Tuesday 13 February 2024 02:44:39 +0000 (0:00:00.243) 0:00:01.519 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:26 Tuesday 13 February 2024 02:44:39 +0000 (0:00:00.014) 0:00:01.534 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:51 Tuesday 13 February 2024 02:44:39 +0000 (0:00:00.008) 0:00:01.542 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 02:44:39 +0000 (0:00:00.021) 0:00:01.563 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 02:44:39 +0000 (0:00:00.245) 0:00:01.809 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 02:44:39 +0000 (0:00:00.009) 0:00:01.819 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 02:44:39 +0000 (0:00:00.008) 0:00:01.827 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.248904", "end": "2024-02-13 02:44:39.891270", "rc": 0, "start": "2024-02-13 02:44:39.642366" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 02:44:39 +0000 (0:00:00.438) 0:00:02.266 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tests_vlan_mtu_initscripts.yml:10 Tuesday 13 February 2024 02:44:39 +0000 (0:00:00.008) 0:00:02.274 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing vlan mtu setting] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_vlan_mtu.yml:3 Tuesday 13 February 2024 02:44:39 +0000 (0:00:00.014) 0:00:02.288 ****** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_vlan_mtu.yml:10 Tuesday 13 February 2024 02:44:40 +0000 (0:00:00.633) 0:00:02.922 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 02:44:40 +0000 (0:00:00.024) 0:00:02.946 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 02:44:40 +0000 (0:00:00.018) 0:00:02.964 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003575", "end": "2024-02-13 02:44:40.790094", "rc": 0, "start": "2024-02-13 02:44:40.786519" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 02:44:40 +0000 (0:00:00.199) 0:00:03.164 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 02:44:40 +0000 (0:00:00.018) 0:00:03.183 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_vlan_mtu.yml:12 Tuesday 13 February 2024 02:44:40 +0000 (0:00:00.017) 0:00:03.201 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 02:44:40 +0000 (0:00:00.026) 0:00:03.227 ****** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 02:44:40 +0000 (0:00:00.016) 0:00:03.244 ****** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 02:44:40 +0000 (0:00:00.017) 0:00:03.261 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 02:44:40 +0000 (0:00:00.018) 0:00:03.280 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 02:44:40 +0000 (0:00:00.017) 0:00:03.298 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003568", "end": "2024-02-13 02:44:41.122888", "rc": 0, "start": "2024-02-13 02:44:41.119320" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 02:44:41 +0000 (0:00:00.198) 0:00:03.496 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 02:44:41 +0000 (0:00:00.018) 0:00:03.515 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 02:44:41 +0000 (0:00:00.018) 0:00:03.533 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 02:44:44 +0000 (0:00:02.825) 0:00:06.358 ****** 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.012179", "end": "2024-02-13 02:44:44.196554", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-02-13 02:44:44.184375" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.004038", "end": "2024-02-13 02:44:44.430159", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-02-13 02:44:44.426121" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.004814", "end": "2024-02-13 02:44:44.614458", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-02-13 02:44:44.609644" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 02:44:44 +0000 (0:00:00.630) 0:00:06.989 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.131187", "end": "2024-02-13 02:44:44.943181", "rc": 0, "start": "2024-02-13 02:44:44.811994" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 02:44:44 +0000 (0:00:00.329) 0:00:07.319 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 02:44:44 +0000 (0:00:00.017) 0:00:07.337 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 02:44:44 +0000 (0:00:00.016) 0:00:07.353 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 02:44:45 +0000 (0:00:00.017) 0:00:07.371 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 02:44:45 +0000 (0:00:00.017) 0:00:07.388 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_vlan_mtu.yml:16 Tuesday 13 February 2024 02:44:45 +0000 (0:00:00.016) 0:00:07.405 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 02:44:45 +0000 (0:00:00.025) 0:00:07.431 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 02:44:45 +0000 (0:00:00.019) 0:00:07.450 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707792284.1949236, "block_size": 4096, "blocks": 0, "ctime": 1707792284.1949236, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21657, "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": 1707792284.1949236, "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_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 02:44:45 +0000 (0:00:00.200) 0:00:07.650 ****** 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_rewritep6fl2l2k/tests/playbooks/tests_vlan_mtu.yml:18 Tuesday 13 February 2024 02:44:45 +0000 (0:00:00.019) 0:00:07.669 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 02:44:45 +0000 (0:00:00.018) 0:00:07.688 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:44:45 +0000 (0:00:00.026) 0:00:07.715 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 02:44:45 +0000 (0:00:00.019) 0:00:07.734 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 02:44:45 +0000 (0:00:00.020) 0:00:07.754 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 02:44:45 +0000 (0:00:00.019) 0:00:07.774 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 02:44:46 +0000 (0:00:01.556) 0:00:09.330 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 02:44:48 +0000 (0:00:01.505) 0:00:10.836 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 02:44:48 +0000 (0:00:00.030) 0:00:10.866 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 02:44:48 +0000 (0:00:00.029) 0:00:10.896 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 02:44:48 +0000 (0:00:00.029) 0:00:10.925 ****** changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 02:44:52 +0000 (0:00:04.050) 0:00:14.976 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 02:44:52 +0000 (0:00:00.030) 0:00:15.006 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 02:44:52 +0000 (0:00:00.030) 0:00:15.036 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 02:44:52 +0000 (0:00:00.034) 0:00:15.070 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 02:44:52 +0000 (0:00:00.048) 0:00:15.119 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 02:44:52 +0000 (0:00:00.026) 0:00:15.146 ****** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 02:44:53 +0000 (0:00:00.833) 0:00:15.980 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-47566x0adl09a/tmp4gqkcvqh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 02:44:53 +0000 (0:00:00.303) 0:00:16.284 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 02:44:54 +0000 (0:00:00.831) 0:00:17.115 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 02:44:54 +0000 (0:00:00.032) 0:00:17.148 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 02:44:54 +0000 (0:00:00.030) 0:00:17.178 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 02:44:54 +0000 (0:00:00.030) 0:00:17.208 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 02:44:54 +0000 (0:00:00.029) 0:00:17.238 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_vlan_mtu.yml:46 Tuesday 13 February 2024 02:44:55 +0000 (0:00:00.309) 0:00:17.548 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 02:44:55 +0000 (0:00:00.045) 0:00:17.593 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 02:44:55 +0000 (0:00:00.039) 0:00:17.633 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707792294.6080306, "block_size": 4096, "blocks": 0, "ctime": 1707792294.6080306, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22126, "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": 1707792294.6080306, "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_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 02:44:55 +0000 (0:00:00.220) 0:00:17.853 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_vlan_mtu.yml:50 Tuesday 13 February 2024 02:44:55 +0000 (0:00:00.033) 0:00:17.887 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=lsr101) included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=lsr101.90) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 02:44:55 +0000 (0:00:00.078) 0:00:17.966 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/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_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 02:44:55 +0000 (0:00:00.042) 0:00:18.008 ****** 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_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 02:44:55 +0000 (0:00:00.032) 0:00:18.040 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707792294.3443832, "block_size": 4096, "blocks": 8, "ctime": 1707792294.3233836, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707792294.3233836, "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_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 02:44:55 +0000 (0:00:00.208) 0:00:18.249 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 02:44:55 +0000 (0:00:00.029) 0:00:18.278 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.022274", "end": "2024-02-13 02:44:56.124394", "rc": 1, "start": "2024-02-13 02:44:56.102120" } 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_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 02:44:56 +0000 (0:00:00.229) 0:00:18.507 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101] ************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 02:44:56 +0000 (0:00:00.030) 0:00:18.537 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003297", "end": "2024-02-13 02:44:56.364757", "rc": 0, "start": "2024-02-13 02:44:56.361460" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 02:44:56 +0000 (0:00:00.211) 0:00:18.748 ****** 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_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 02:44:56 +0000 (0:00:00.032) 0:00:18.781 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003201", "end": "2024-02-13 02:44:56.608205", "rc": 0, "start": "2024-02-13 02:44:56.605004" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 02:44:56 +0000 (0:00:00.210) 0:00:18.991 ****** 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_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 02:44:56 +0000 (0:00:00.032) 0:00:19.024 ****** 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_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 02:44:56 +0000 (0:00:00.028) 0:00:19.052 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 02:44:56 +0000 (0:00:00.030) 0:00:19.083 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 02:44:56 +0000 (0:00:00.028) 0:00:19.112 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/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_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 02:44:56 +0000 (0:00:00.037) 0:00:19.149 ****** 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_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 02:44:56 +0000 (0:00:00.027) 0:00:19.177 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707792294.4583817, "block_size": 4096, "blocks": 8, "ctime": 1707792294.3233836, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5998980, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707792294.3233836, "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_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 02:44:57 +0000 (0:00:00.232) 0:00:19.409 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 02:44:57 +0000 (0:00:00.032) 0:00:19.441 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.022233", "end": "2024-02-13 02:44:57.286800", "rc": 1, "start": "2024-02-13 02:44:57.264567" } 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_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 02:44:57 +0000 (0:00:00.230) 0:00:19.672 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101.90] ********************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 02:44:57 +0000 (0:00:00.040) 0:00:19.712 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003279", "end": "2024-02-13 02:44:57.549545", "rc": 0, "start": "2024-02-13 02:44:57.546266" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 02:44:57 +0000 (0:00:00.221) 0:00:19.934 ****** 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_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 02:44:57 +0000 (0:00:00.033) 0:00:19.967 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003377", "end": "2024-02-13 02:44:57.798094", "rc": 0, "start": "2024-02-13 02:44:57.794717" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 02:44:57 +0000 (0:00:00.215) 0:00:20.183 ****** 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_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 02:44:57 +0000 (0:00:00.032) 0:00:20.215 ****** 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_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 02:44:57 +0000 (0:00:00.031) 0:00:20.247 ****** 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_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 02:44:57 +0000 (0:00:00.029) 0:00:20.276 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_vlan_mtu.yml:58 Tuesday 13 February 2024 02:44:57 +0000 (0:00:00.030) 0:00:20.306 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 02:44:57 +0000 (0:00:00.028) 0:00:20.335 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 02:44:58 +0000 (0:00:00.042) 0:00:20.378 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 02:44:58 +0000 (0:00:00.033) 0:00:20.412 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 02:44:58 +0000 (0:00:00.031) 0:00:20.443 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 02:44:58 +0000 (0:00:00.029) 0:00:20.473 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 02:44:59 +0000 (0:00:01.592) 0:00:22.065 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 02:45:01 +0000 (0:00:01.329) 0:00:23.394 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 02:45:01 +0000 (0:00:00.030) 0:00:23.425 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 02:45:01 +0000 (0:00:00.031) 0:00:23.456 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 02:45:01 +0000 (0:00:00.031) 0:00:23.488 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 02:45:01 +0000 (0:00:00.056) 0:00:23.544 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 02:45:01 +0000 (0:00:00.031) 0:00:23.575 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 02:45:01 +0000 (0:00:00.029) 0:00:23.605 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 02:45:01 +0000 (0:00:00.035) 0:00:23.641 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 02:45:01 +0000 (0:00:00.031) 0:00:23.672 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 02:45:01 +0000 (0:00:00.029) 0:00:23.702 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 02:45:01 +0000 (0:00:00.389) 0:00:24.091 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-47566x0adl09a/tmpum7_ouvg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 02:45:02 +0000 (0:00:00.314) 0:00:24.405 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 02:45:02 +0000 (0:00:00.462) 0:00:24.868 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 02:45:02 +0000 (0:00:00.032) 0:00:24.901 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 02:45:02 +0000 (0:00:00.034) 0:00:24.935 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 02:45:02 +0000 (0:00:00.064) 0:00:25.000 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 02:45:02 +0000 (0:00:00.031) 0:00:25.031 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_vlan_mtu.yml:73 Tuesday 13 February 2024 02:45:02 +0000 (0:00:00.218) 0:00:25.250 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 02:45:02 +0000 (0:00:00.052) 0:00:25.303 ****** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 02:45:02 +0000 (0:00:00.029) 0:00:25.332 ****** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 02:45:03 +0000 (0:00:00.028) 0:00:25.361 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 02:45:03 +0000 (0:00:00.040) 0:00:25.401 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 02:45:03 +0000 (0:00:00.048) 0:00:25.449 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003423", "end": "2024-02-13 02:45:03.279463", "rc": 0, "start": "2024-02-13 02:45:03.276040" } STDOUT: eth0 lo lsr101 lsr101.90 peerlsr101 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 02:45:03 +0000 (0:00:00.215) 0:00:25.665 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "lsr101", "lsr101.90", "peerlsr101" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 02:45:03 +0000 (0:00:00.031) 0:00:25.696 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'lsr101', 'lsr101.90', 'peerlsr101'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 02:45:03 +0000 (0:00:00.029) 0:00:25.725 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 02:45:06 +0000 (0:00:02.636) 0:00:28.361 ****** skipping: [sut] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set lsr101 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 02:45:06 +0000 (0:00:00.035) 0:00:28.397 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 02:45:06 +0000 (0:00:00.026) 0:00:28.423 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.015932", "end": "2024-02-13 02:45:06.263011", "rc": 0, "start": "2024-02-13 02:45:06.247079" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 02:45:06 +0000 (0:00:00.251) 0:00:28.674 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 02:45:06 +0000 (0:00:00.029) 0:00:28.704 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 02:45:06 +0000 (0:00:00.030) 0:00:28.734 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 02:45:06 +0000 (0:00:00.028) 0:00:28.763 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_vlan_mtu.yml:77 Tuesday 13 February 2024 02:45:06 +0000 (0:00:00.027) 0:00:28.790 ****** included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 02:45:06 +0000 (0:00:00.047) 0:00:28.838 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\ntype -p resolvectl && resolvectl\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.017149", "end": "2024-02-13 02:45:06.683514", "rc": 1, "start": "2024-02-13 02:45:06.666365" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:76:25:fc:4d:ef brd ff:ff:ff:ff:ff:ff inet 10.31.15.4/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2858sec preferred_lft 2858sec inet6 fe80::876:25ff:fefc:4def/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.4 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.4 metric 100 RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 /usr/bin/resolvectl STDERR: Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found. MSG: non-zero return code to retry, use: --limit @/tmp/tests_vlan_mtu_initscripts.retry PLAY RECAP ********************************************************************* sut : ok=90 changed=4 unreachable=0 failed=1 skipped=46 rescued=0 ignored=2 Tuesday 13 February 2024 02:45:06 +0000 (0:00:00.217) 0:00:29.055 ****** =============================================================================== fedora.linux_system_roles.network : Install packages -------------------- 4.05s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install iproute --------------------------------------------------------- 2.83s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.64s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.56s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.33s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tests_vlan_mtu_initscripts.yml:5 fedora.linux_system_roles.network : Enable network service -------------- 0.83s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.83s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Gathering Facts --------------------------------------------------------- 0.63s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_vlan_mtu.yml:3 Create veth interface lsr101 -------------------------------------------- 0.63s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.46s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Enable EPEL 8 ----------------------------------------------------------- 0.44s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:35 ------ fedora.linux_system_roles.network : Enable network service -------------- 0.39s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Gather the minimum subset of ansible_facts required by the network role test --- 0.37s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:3 ----- Set up veth as managed by NetworkManager -------------------------------- 0.33s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/manage_test_interface.yml:35 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.31s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.31s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.30s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---