# 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-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/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-ostree-skip-test-better-textrmy8vce0/tests/tests_vlan_mtu_initscripts.yml:5 Monday 25 March 2024 20:32:14 +0000 (0:00:00.011) 0:00:00.011 ********** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tests_vlan_mtu_initscripts.yml:8 Monday 25 March 2024 20:32:14 +0000 (0:00:00.917) 0:00:00.928 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/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-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:3 Monday 25 March 2024 20:32:14 +0000 (0:00:00.011) 0:00:00.939 ********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:17 Monday 25 March 2024 20:32:15 +0000 (0:00:00.397) 0:00:01.337 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:22 Monday 25 March 2024 20:32:15 +0000 (0:00:00.270) 0:00:01.607 ********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:26 Monday 25 March 2024 20:32:15 +0000 (0:00:00.013) 0:00:01.620 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:51 Monday 25 March 2024 20:32:15 +0000 (0:00:00.008) 0:00:01.629 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:8 Monday 25 March 2024 20:32:15 +0000 (0:00:00.022) 0:00:01.652 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:24 Monday 25 March 2024 20:32:15 +0000 (0:00:00.266) 0:00:01.919 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:30 Monday 25 March 2024 20:32:15 +0000 (0:00:00.008) 0:00:01.927 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:35 Monday 25 March 2024 20:32:15 +0000 (0:00:00.007) 0:00:01.935 ********** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.266809", "end": "2024-03-25 20:32:17.414762", "rc": 0, "start": "2024-03-25 20:32:16.147953" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:40 Monday 25 March 2024 20:32:17 +0000 (0:00:01.473) 0:00:03.408 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/tests_vlan_mtu_initscripts.yml:10 Monday 25 March 2024 20:32:17 +0000 (0:00:00.007) 0:00:03.416 ********** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing vlan mtu setting] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_vlan_mtu.yml:3 Monday 25 March 2024 20:32:17 +0000 (0:00:00.015) 0:00:03.431 ********** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_vlan_mtu.yml:10 Monday 25 March 2024 20:32:18 +0000 (0:00:00.684) 0:00:04.115 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:32:18 +0000 (0:00:00.025) 0:00:04.140 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:32:18 +0000 (0:00:00.017) 0:00:04.158 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003821", "end": "2024-03-25 20:32:18.383419", "rc": 0, "start": "2024-03-25 20:32:18.379598" } STDOUT: bonding_masters eth0 lo team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:32:18 +0000 (0:00:00.216) 0:00:04.374 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:32:18 +0000 (0:00:00.018) 0:00:04.393 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'team0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_vlan_mtu.yml:12 Monday 25 March 2024 20:32:18 +0000 (0:00:00.018) 0:00:04.412 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 25 March 2024 20:32:18 +0000 (0:00:00.029) 0:00:04.441 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 25 March 2024 20:32:18 +0000 (0:00:00.016) 0:00:04.457 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 25 March 2024 20:32:18 +0000 (0:00:00.017) 0:00:04.475 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:32:18 +0000 (0:00:00.019) 0:00:04.495 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:32:18 +0000 (0:00:00.019) 0:00:04.514 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003904", "end": "2024-03-25 20:32:18.738504", "rc": 0, "start": "2024-03-25 20:32:18.734600" } STDOUT: bonding_masters eth0 lo team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:32:18 +0000 (0:00:00.215) 0:00:04.730 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:32:18 +0000 (0:00:00.018) 0:00:04.748 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'team0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 25 March 2024 20:32:18 +0000 (0:00:00.018) 0:00:04.767 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:27 Monday 25 March 2024 20:32:22 +0000 (0:00:03.329) 0:00:08.096 ********** 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.012521", "end": "2024-03-25 20:32:22.337604", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-03-25 20:32:22.325083" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.004572", "end": "2024-03-25 20:32:22.586180", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-03-25 20:32:22.581608" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.004795", "end": "2024-03-25 20:32:22.791754", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-03-25 20:32:22.786959" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:35 Monday 25 March 2024 20:32:22 +0000 (0:00:00.687) 0:00:08.783 ********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.022797", "end": "2024-03-25 20:32:23.031426", "rc": 0, "start": "2024-03-25 20:32:23.008629" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:43 Monday 25 March 2024 20:32:23 +0000 (0:00:00.240) 0:00:09.024 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 25 March 2024 20:32:23 +0000 (0:00:00.017) 0:00:09.042 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 25 March 2024 20:32:23 +0000 (0:00:00.016) 0:00:09.058 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 25 March 2024 20:32:23 +0000 (0:00:00.016) 0:00:09.074 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 25 March 2024 20:32:23 +0000 (0:00:00.016) 0:00:09.091 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_vlan_mtu.yml:16 Monday 25 March 2024 20:32:23 +0000 (0:00:00.015) 0:00:09.106 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 March 2024 20:32:23 +0000 (0:00:00.025) 0:00:09.132 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 March 2024 20:32:23 +0000 (0:00:00.019) 0:00:09.151 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711398742.3292093, "block_size": 4096, "blocks": 0, "ctime": 1711398742.3292093, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39031, "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": 1711398742.3292093, "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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 March 2024 20:32:23 +0000 (0:00:00.217) 0:00:09.369 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_vlan_mtu.yml:18 Monday 25 March 2024 20:32:23 +0000 (0:00:00.019) 0:00:09.388 ********** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:32:23 +0000 (0:00:00.018) 0:00:09.407 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:32:23 +0000 (0:00:00.024) 0:00:09.432 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:32:23 +0000 (0:00:00.018) 0:00:09.450 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:32:23 +0000 (0:00:00.018) 0:00:09.469 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:32:23 +0000 (0:00:00.018) 0:00:09.487 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:32:25 +0000 (0:00:01.811) 0:00:11.298 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:32:26 +0000 (0:00:01.652) 0:00:12.951 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:32:27 +0000 (0:00:00.028) 0:00:12.980 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:32:27 +0000 (0:00:00.027) 0:00:13.008 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:32:27 +0000 (0:00:00.027) 0:00:13.035 ********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:32:27 +0000 (0:00:00.035) 0:00:13.071 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:32:27 +0000 (0:00:00.025) 0:00:13.097 ********** 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 : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:32:27 +0000 (0:00:00.032) 0:00:13.129 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:32:27 +0000 (0:00:00.090) 0:00:13.220 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:32:27 +0000 (0:00:00.029) 0:00:13.249 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:32:27 +0000 (0:00:00.028) 0:00:13.277 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:32:27 +0000 (0:00:00.033) 0:00:13.310 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:32:27 +0000 (0:00:00.028) 0:00:13.339 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:32:27 +0000 (0:00:00.025) 0:00:13.364 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:32:27 +0000 (0:00:00.578) 0:00:13.943 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14580hpixtfv4/tmptktjmde3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:32:28 +0000 (0:00:00.329) 0:00:14.273 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:32:29 +0000 (0:00:00.744) 0:00:15.017 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:32:29 +0000 (0:00:00.029) 0:00:15.047 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:32:29 +0000 (0:00:00.029) 0:00:15.076 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:32:29 +0000 (0:00:00.029) 0:00:15.106 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:32:29 +0000 (0:00:00.028) 0:00:15.134 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_vlan_mtu.yml:46 Monday 25 March 2024 20:32:29 +0000 (0:00:00.310) 0:00:15.445 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 March 2024 20:32:29 +0000 (0:00:00.045) 0:00:15.491 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 March 2024 20:32:29 +0000 (0:00:00.090) 0:00:15.581 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711398748.882307, "block_size": 4096, "blocks": 0, "ctime": 1711398748.882307, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39324, "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": 1711398748.882307, "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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 March 2024 20:32:29 +0000 (0:00:00.229) 0:00:15.811 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_vlan_mtu.yml:50 Monday 25 March 2024 20:32:29 +0000 (0:00:00.030) 0:00:15.841 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=lsr101) included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=lsr101.90) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 March 2024 20:32:29 +0000 (0:00:00.051) 0:00:15.893 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 March 2024 20:32:29 +0000 (0:00:00.039) 0:00:15.932 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 March 2024 20:32:29 +0000 (0:00:00.028) 0:00:15.960 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711398748.7352173, "block_size": 4096, "blocks": 8, "ctime": 1711398748.713217, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4762790, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1711398748.713217, "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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 March 2024 20:32:30 +0000 (0:00:00.223) 0:00:16.184 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 March 2024 20:32:30 +0000 (0:00:00.029) 0:00:16.213 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.024870", "end": "2024-03-25 20:32:30.461004", "rc": 1, "start": "2024-03-25 20:32:30.436134" } 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 March 2024 20:32:30 +0000 (0:00:00.248) 0:00:16.462 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 March 2024 20:32:30 +0000 (0:00:00.027) 0:00:16.490 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003587", "end": "2024-03-25 20:32:30.719549", "rc": 0, "start": "2024-03-25 20:32:30.715962" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 March 2024 20:32:30 +0000 (0:00:00.232) 0:00:16.722 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 March 2024 20:32:30 +0000 (0:00:00.030) 0:00:16.752 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003866", "end": "2024-03-25 20:32:30.982881", "rc": 0, "start": "2024-03-25 20:32:30.979015" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 March 2024 20:32:31 +0000 (0:00:00.232) 0:00:16.985 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 March 2024 20:32:31 +0000 (0:00:00.055) 0:00:17.041 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 March 2024 20:32:31 +0000 (0:00:00.030) 0:00:17.072 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 March 2024 20:32:31 +0000 (0:00:00.030) 0:00:17.102 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 March 2024 20:32:31 +0000 (0:00:00.030) 0:00:17.132 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 March 2024 20:32:31 +0000 (0:00:00.040) 0:00:17.172 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 March 2024 20:32:31 +0000 (0:00:00.028) 0:00:17.201 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1711398748.8452182, "block_size": 4096, "blocks": 8, "ctime": 1711398748.713217, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4762791, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1711398748.713217, "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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 March 2024 20:32:31 +0000 (0:00:00.223) 0:00:17.424 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 March 2024 20:32:31 +0000 (0:00:00.029) 0:00:17.454 ********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.024375", "end": "2024-03-25 20:32:31.703738", "rc": 1, "start": "2024-03-25 20:32:31.679363" } 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 March 2024 20:32:31 +0000 (0:00:00.251) 0:00:17.705 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 March 2024 20:32:31 +0000 (0:00:00.029) 0:00:17.735 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003714", "end": "2024-03-25 20:32:31.966443", "rc": 0, "start": "2024-03-25 20:32:31.962729" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 March 2024 20:32:31 +0000 (0:00:00.234) 0:00:17.969 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 March 2024 20:32:32 +0000 (0:00:00.032) 0:00:18.002 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003818", "end": "2024-03-25 20:32:32.231153", "rc": 0, "start": "2024-03-25 20:32:32.227335" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 March 2024 20:32:32 +0000 (0:00:00.231) 0:00:18.233 ********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101.90'] ************************ task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 March 2024 20:32:32 +0000 (0:00:00.031) 0:00:18.265 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101.90'] ******* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 March 2024 20:32:32 +0000 (0:00:00.029) 0:00:18.295 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 March 2024 20:32:32 +0000 (0:00:00.029) 0:00:18.324 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_vlan_mtu.yml:58 Monday 25 March 2024 20:32:32 +0000 (0:00:00.052) 0:00:18.376 ********** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 March 2024 20:32:32 +0000 (0:00:00.030) 0:00:18.407 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 March 2024 20:32:32 +0000 (0:00:00.043) 0:00:18.450 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 March 2024 20:32:32 +0000 (0:00:00.032) 0:00:18.483 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 March 2024 20:32:32 +0000 (0:00:00.028) 0:00:18.512 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 March 2024 20:32:32 +0000 (0:00:00.029) 0:00:18.541 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 March 2024 20:32:34 +0000 (0:00:01.715) 0:00:20.256 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 March 2024 20:32:35 +0000 (0:00:01.495) 0:00:21.751 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 March 2024 20:32:35 +0000 (0:00:00.029) 0:00:21.781 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 March 2024 20:32:35 +0000 (0:00:00.028) 0:00:21.810 ********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 25 March 2024 20:32:35 +0000 (0:00:00.029) 0:00:21.840 ********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 25 March 2024 20:32:35 +0000 (0:00:00.034) 0:00:21.874 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 25 March 2024 20:32:35 +0000 (0:00:00.026) 0:00:21.901 ********** 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 : Install packages] ******************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 25 March 2024 20:32:36 +0000 (0:00:00.097) 0:00:21.998 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 25 March 2024 20:32:36 +0000 (0:00:00.054) 0:00:22.053 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 25 March 2024 20:32:36 +0000 (0:00:00.031) 0:00:22.084 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 25 March 2024 20:32:36 +0000 (0:00:00.032) 0:00:22.116 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 25 March 2024 20:32:36 +0000 (0:00:00.034) 0:00:22.151 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 25 March 2024 20:32:36 +0000 (0:00:00.029) 0:00:22.180 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 March 2024 20:32:36 +0000 (0:00:00.026) 0:00:22.207 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 25 March 2024 20:32:36 +0000 (0:00:00.423) 0:00:22.630 ********** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-14580hpixtfv4/tmpxluc13uz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 25 March 2024 20:32:36 +0000 (0:00:00.325) 0:00:22.955 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 25 March 2024 20:32:37 +0000 (0:00:00.479) 0:00:23.435 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 25 March 2024 20:32:37 +0000 (0:00:00.030) 0:00:23.465 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 25 March 2024 20:32:37 +0000 (0:00:00.029) 0:00:23.494 ********** 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-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 25 March 2024 20:32:37 +0000 (0:00:00.031) 0:00:23.525 ********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 25 March 2024 20:32:37 +0000 (0:00:00.029) 0:00:23.554 ********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_vlan_mtu.yml:73 Monday 25 March 2024 20:32:37 +0000 (0:00:00.231) 0:00:23.786 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 25 March 2024 20:32:37 +0000 (0:00:00.079) 0:00:23.865 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 25 March 2024 20:32:37 +0000 (0:00:00.028) 0:00:23.894 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 25 March 2024 20:32:37 +0000 (0:00:00.028) 0:00:23.922 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 March 2024 20:32:37 +0000 (0:00:00.040) 0:00:23.962 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 March 2024 20:32:38 +0000 (0:00:00.038) 0:00:24.001 ********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003961", "end": "2024-03-25 20:32:38.230553", "rc": 0, "start": "2024-03-25 20:32:38.226592" } STDOUT: bonding_masters eth0 lo lsr101 lsr101.90 peerlsr101 team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 March 2024 20:32:38 +0000 (0:00:00.231) 0:00:24.232 ********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "lsr101", "lsr101.90", "peerlsr101", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 March 2024 20:32:38 +0000 (0:00:00.030) 0:00:24.262 ********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'lsr101', 'lsr101.90', 'peerlsr101', 'team0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 25 March 2024 20:32:38 +0000 (0:00:00.029) 0:00:24.292 ********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:27 Monday 25 March 2024 20:32:41 +0000 (0:00:02.906) 0:00:27.198 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:35 Monday 25 March 2024 20:32:41 +0000 (0:00:00.035) 0:00:27.233 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:43 Monday 25 March 2024 20:32:41 +0000 (0:00:00.027) 0:00:27.261 ********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.013709", "end": "2024-03-25 20:32:41.500013", "rc": 0, "start": "2024-03-25 20:32:41.486304" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 25 March 2024 20:32:41 +0000 (0:00:00.243) 0:00:27.504 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 25 March 2024 20:32:41 +0000 (0:00:00.028) 0:00:27.532 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 25 March 2024 20:32:41 +0000 (0:00:00.027) 0:00:27.560 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 25 March 2024 20:32:41 +0000 (0:00:00.052) 0:00:27.613 ********** 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-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_vlan_mtu.yml:77 Monday 25 March 2024 20:32:41 +0000 (0:00:00.027) 0:00:27.641 ********** included: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/check_network_dns.yml:6 Monday 25 March 2024 20:32:41 +0000 (0:00:00.050) 0:00:27.691 ********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 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\n", "delta": "0:00:00.010534", "end": "2024-03-25 20:32:41.927619", "rc": 0, "start": "2024-03-25 20:32:41.917085" } 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 0e:71:ef:84:5c:15 brd ff:ff:ff:ff:ff:ff inet 10.31.43.83/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3563sec preferred_lft 3563sec inet6 fe80::c71:efff:fe84:5c15/64 scope link valid_lft forever preferred_lft forever 60: team0: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 42:d9:7a:e8:a8:42 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.83 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.83 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium 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 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/check_network_dns.yml:24 Monday 25 March 2024 20:32:41 +0000 (0:00:00.238) 0:00:27.930 ********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\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.138261", "end": "2024-03-25 20:32:42.294583", "rc": 0, "start": "2024-03-25 20:32:42.156322" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.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:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 3505 0 --:--:-- --:--:-- --:--:-- 3505 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 13227 0 --:--:-- --:--:-- --:--:-- 13227 PLAY RECAP ********************************************************************* sut : ok=91 changed=2 unreachable=0 failed=0 skipped=53 rescued=0 ignored=2 Monday 25 March 2024 20:32:42 +0000 (0:00:00.403) 0:00:28.334 ********** =============================================================================== Install iproute --------------------------------------------------------- 3.33s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.91s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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.72s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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.65s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.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.50s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Enable EPEL 8 ----------------------------------------------------------- 1.47s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/enable_epel.yml:35 Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tests_vlan_mtu_initscripts.yml:5 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.74s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Create veth interface lsr101 -------------------------------------------- 0.69s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tests_vlan_mtu.yml:3 fedora.linux_system_roles.network : Enable network service -------------- 0.58s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.48s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 fedora.linux_system_roles.network : Enable network service -------------- 0.42s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Verify DNS and network connectivity ------------------------------------- 0.40s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/playbooks/tasks/check_network_dns.yml:24 Gather the minimum subset of ansible_facts required by the network role test --- 0.40s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:3 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.33s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.33s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.31s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Check if system is ostree ----------------------------------------------- 0.27s /WORKDIR/git-ostree-skip-test-better-textrmy8vce0/tests/tasks/el_repo_setup.yml:17 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---