# 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-nm_plugin_hotfixjy76u1gx/.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-nm_plugin_hotfixjy76u1gx/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-nm_plugin_hotfixjy76u1gx/tests/tests_vlan_mtu_initscripts.yml:5 Thursday 22 February 2024 04:09:14 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tests_vlan_mtu_initscripts.yml:8 Thursday 22 February 2024 04:09:15 +0000 (0:00:00.868) 0:00:00.879 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/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-nm_plugin_hotfixjy76u1gx/tests/tasks/el_repo_setup.yml:3 Thursday 22 February 2024 04:09:15 +0000 (0:00:00.011) 0:00:00.891 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tasks/el_repo_setup.yml:17 Thursday 22 February 2024 04:09:16 +0000 (0:00:00.361) 0:00:01.252 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tasks/el_repo_setup.yml:22 Thursday 22 February 2024 04:09:16 +0000 (0:00:00.241) 0:00:01.494 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tasks/el_repo_setup.yml:26 Thursday 22 February 2024 04:09:16 +0000 (0:00:00.013) 0:00:01.507 ***** 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-nm_plugin_hotfixjy76u1gx/tests/tasks/el_repo_setup.yml:51 Thursday 22 February 2024 04:09:16 +0000 (0:00:00.007) 0:00:01.515 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tasks/enable_epel.yml:8 Thursday 22 February 2024 04:09:16 +0000 (0:00:00.021) 0:00:01.536 ***** 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-nm_plugin_hotfixjy76u1gx/tests/tasks/enable_epel.yml:24 Thursday 22 February 2024 04:09:16 +0000 (0:00:00.241) 0:00:01.778 ***** 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-nm_plugin_hotfixjy76u1gx/tests/tasks/enable_epel.yml:30 Thursday 22 February 2024 04:09:16 +0000 (0:00:00.008) 0:00:01.786 ***** 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-nm_plugin_hotfixjy76u1gx/tests/tasks/enable_epel.yml:35 Thursday 22 February 2024 04:09:16 +0000 (0:00:00.008) 0:00:01.795 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.242006", "end": "2024-02-22 04:09:17.030295", "rc": 0, "start": "2024-02-22 04:09:16.788289" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tasks/enable_epel.yml:40 Thursday 22 February 2024 04:09:17 +0000 (0:00:00.428) 0:00:02.224 ***** 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-nm_plugin_hotfixjy76u1gx/tests/tests_vlan_mtu_initscripts.yml:10 Thursday 22 February 2024 04:09:17 +0000 (0:00:00.007) 0:00:02.231 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing vlan mtu setting] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tests_vlan_mtu.yml:3 Thursday 22 February 2024 04:09:17 +0000 (0:00:00.015) 0:00:02.246 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tests_vlan_mtu.yml:10 Thursday 22 February 2024 04:09:19 +0000 (0:00:02.643) 0:00:04.890 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 04:09:19 +0000 (0:00:00.025) 0:00:04.916 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 04:09:19 +0000 (0:00:00.019) 0:00:04.935 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003187", "end": "2024-02-22 04:09:19.938413", "rc": 0, "start": "2024-02-22 04:09:19.935226" } STDOUT: bonding_masters eth0 lo team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 04:09:19 +0000 (0:00:00.195) 0:00:05.130 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 04:09:19 +0000 (0:00:00.018) 0:00:05.149 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'team0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tests_vlan_mtu.yml:12 Thursday 22 February 2024 04:09:19 +0000 (0:00:00.018) 0:00:05.167 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 22 February 2024 04:09:20 +0000 (0:00:00.028) 0:00:05.196 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 22 February 2024 04:09:20 +0000 (0:00:00.016) 0:00:05.213 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 22 February 2024 04:09:20 +0000 (0:00:00.016) 0:00:05.230 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 04:09:20 +0000 (0:00:00.019) 0:00:05.249 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 04:09:20 +0000 (0:00:00.019) 0:00:05.268 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003140", "end": "2024-02-22 04:09:20.271904", "rc": 0, "start": "2024-02-22 04:09:20.268764" } STDOUT: bonding_masters eth0 lo team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 04:09:20 +0000 (0:00:00.197) 0:00:05.465 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 04:09:20 +0000 (0:00:00.020) 0:00:05.485 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'team0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 22 February 2024 04:09:20 +0000 (0:00:00.019) 0:00:05.505 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:27 Thursday 22 February 2024 04:09:25 +0000 (0:00:05.016) 0:00:10.522 ***** 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.013577", "end": "2024-02-22 04:09:25.540221", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-02-22 04:09:25.526644" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.003759", "end": "2024-02-22 04:09:25.762842", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-02-22 04:09:25.759083" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.004363", "end": "2024-02-22 04:09:25.945083", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-02-22 04:09:25.940720" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:35 Thursday 22 February 2024 04:09:25 +0000 (0:00:00.616) 0:00:11.139 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.025466", "end": "2024-02-22 04:09:26.166755", "rc": 0, "start": "2024-02-22 04:09:26.141289" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:43 Thursday 22 February 2024 04:09:26 +0000 (0:00:00.221) 0:00:11.360 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:49 Thursday 22 February 2024 04:09:26 +0000 (0:00:00.024) 0:00:11.384 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 22 February 2024 04:09:26 +0000 (0:00:00.019) 0:00:11.403 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:60 Thursday 22 February 2024 04:09:26 +0000 (0:00:00.024) 0:00:11.428 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 22 February 2024 04:09:26 +0000 (0:00:00.018) 0:00:11.447 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tests_vlan_mtu.yml:16 Thursday 22 February 2024 04:09:26 +0000 (0:00:00.017) 0:00:11.464 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 04:09:26 +0000 (0:00:00.026) 0:00:11.491 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 04:09:26 +0000 (0:00:00.020) 0:00:11.512 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708574965.530232, "block_size": 4096, "blocks": 0, "ctime": 1708574965.530232, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33987, "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": 1708574965.530232, "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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 04:09:26 +0000 (0:00:00.196) 0:00:11.708 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tests_vlan_mtu.yml:18 Thursday 22 February 2024 04:09:26 +0000 (0:00:00.019) 0:00:11.727 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:09:26 +0000 (0:00:00.017) 0:00:11.745 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:09:26 +0000 (0:00:00.025) 0:00:11.770 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:09:26 +0000 (0:00:00.018) 0:00:11.789 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:09:26 +0000 (0:00:00.018) 0:00:11.808 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:09:26 +0000 (0:00:00.018) 0:00:11.826 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:09:28 +0000 (0:00:01.617) 0:00:13.444 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:09:29 +0000 (0:00:01.497) 0:00:14.941 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:09:29 +0000 (0:00:00.029) 0:00:14.970 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:09:29 +0000 (0:00:00.027) 0:00:14.998 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:09:29 +0000 (0:00:00.027) 0:00:15.026 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:09:35 +0000 (0:00:05.815) 0:00:20.841 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:09:35 +0000 (0:00:00.027) 0:00:20.868 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:09:35 +0000 (0:00:00.035) 0:00:20.904 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:09:35 +0000 (0:00:00.074) 0:00:20.979 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:09:35 +0000 (0:00:00.029) 0:00:21.008 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:09:35 +0000 (0:00:00.032) 0:00:21.041 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:09:35 +0000 (0:00:00.041) 0:00:21.082 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:09:35 +0000 (0:00:00.032) 0:00:21.115 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:09:35 +0000 (0:00:00.028) 0:00:21.143 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:09:36 +0000 (0:00:00.538) 0:00:21.682 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18039gtzb5dut/tmptc_l8mj4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:09:36 +0000 (0:00:00.321) 0:00:22.003 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:09:37 +0000 (0:00:00.728) 0:00:22.731 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:09:37 +0000 (0:00:00.029) 0:00:22.761 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:09:37 +0000 (0:00:00.032) 0:00:22.794 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:09:37 +0000 (0:00:00.031) 0:00:22.825 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:09:37 +0000 (0:00:00.029) 0:00:22.855 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tests_vlan_mtu.yml:46 Thursday 22 February 2024 04:09:37 +0000 (0:00:00.316) 0:00:23.171 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 22 February 2024 04:09:38 +0000 (0:00:00.045) 0:00:23.216 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 22 February 2024 04:09:38 +0000 (0:00:00.057) 0:00:23.274 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708574977.40498, "block_size": 4096, "blocks": 0, "ctime": 1708574977.40498, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34389, "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": 1708574977.40498, "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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 22 February 2024 04:09:38 +0000 (0:00:00.208) 0:00:23.482 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tests_vlan_mtu.yml:50 Thursday 22 February 2024 04:09:38 +0000 (0:00:00.030) 0:00:23.513 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=lsr101) included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=lsr101.90) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 04:09:38 +0000 (0:00:00.051) 0:00:23.565 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 04:09:38 +0000 (0:00:00.040) 0:00:23.606 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 04:09:38 +0000 (0:00:00.034) 0:00:23.640 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708574977.2458084, "block_size": 4096, "blocks": 8, "ctime": 1708574977.224808, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976459, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708574977.224808, "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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 04:09:38 +0000 (0:00:00.212) 0:00:23.853 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 04:09:38 +0000 (0:00:00.028) 0:00:23.881 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.022957", "end": "2024-02-22 04:09:38.905316", "rc": 1, "start": "2024-02-22 04:09:38.882359" } 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 04:09:38 +0000 (0:00:00.225) 0:00:24.106 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 04:09:38 +0000 (0:00:00.029) 0:00:24.136 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.002967", "end": "2024-02-22 04:09:39.142419", "rc": 0, "start": "2024-02-22 04:09:39.139452" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 04:09:39 +0000 (0:00:00.209) 0:00:24.345 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 04:09:39 +0000 (0:00:00.031) 0:00:24.377 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003085", "end": "2024-02-22 04:09:39.383830", "rc": 0, "start": "2024-02-22 04:09:39.380745" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 04:09:39 +0000 (0:00:00.210) 0:00:24.587 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 04:09:39 +0000 (0:00:00.031) 0:00:24.618 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 04:09:39 +0000 (0:00:00.030) 0:00:24.649 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 04:09:39 +0000 (0:00:00.051) 0:00:24.701 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 22 February 2024 04:09:39 +0000 (0:00:00.030) 0:00:24.731 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 22 February 2024 04:09:39 +0000 (0:00:00.039) 0:00:24.770 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 22 February 2024 04:09:39 +0000 (0:00:00.027) 0:00:24.798 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708574977.3578107, "block_size": 4096, "blocks": 8, "ctime": 1708574977.224808, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976462, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708574977.224808, "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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 22 February 2024 04:09:39 +0000 (0:00:00.201) 0:00:25.000 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 22 February 2024 04:09:39 +0000 (0:00:00.028) 0:00:25.028 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.023098", "end": "2024-02-22 04:09:40.052558", "rc": 1, "start": "2024-02-22 04:09:40.029460" } 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 22 February 2024 04:09:40 +0000 (0:00:00.226) 0:00:25.254 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 22 February 2024 04:09:40 +0000 (0:00:00.027) 0:00:25.282 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.002947", "end": "2024-02-22 04:09:40.286955", "rc": 0, "start": "2024-02-22 04:09:40.284008" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 22 February 2024 04:09:40 +0000 (0:00:00.207) 0:00:25.489 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 22 February 2024 04:09:40 +0000 (0:00:00.031) 0:00:25.521 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003003", "end": "2024-02-22 04:09:40.527093", "rc": 0, "start": "2024-02-22 04:09:40.524090" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 22 February 2024 04:09:40 +0000 (0:00:00.208) 0:00:25.730 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101.90'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 22 February 2024 04:09:40 +0000 (0:00:00.030) 0:00:25.760 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101.90'] ******* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 22 February 2024 04:09:40 +0000 (0:00:00.029) 0:00:25.790 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 22 February 2024 04:09:40 +0000 (0:00:00.029) 0:00:25.820 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tests_vlan_mtu.yml:58 Thursday 22 February 2024 04:09:40 +0000 (0:00:00.031) 0:00:25.851 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 22 February 2024 04:09:40 +0000 (0:00:00.032) 0:00:25.884 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 22 February 2024 04:09:40 +0000 (0:00:00.066) 0:00:25.951 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 22 February 2024 04:09:40 +0000 (0:00:00.035) 0:00:25.986 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 22 February 2024 04:09:40 +0000 (0:00:00.029) 0:00:26.016 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 22 February 2024 04:09:40 +0000 (0:00:00.030) 0:00:26.046 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 22 February 2024 04:09:42 +0000 (0:00:01.553) 0:00:27.600 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 22 February 2024 04:09:43 +0000 (0:00:01.322) 0:00:28.923 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 22 February 2024 04:09:43 +0000 (0:00:00.029) 0:00:28.953 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 22 February 2024 04:09:43 +0000 (0:00:00.028) 0:00:28.982 ***** 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] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Thursday 22 February 2024 04:09:43 +0000 (0:00:00.028) 0:00:29.011 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Thursday 22 February 2024 04:09:51 +0000 (0:00:07.647) 0:00:36.658 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Thursday 22 February 2024 04:09:51 +0000 (0:00:00.026) 0:00:36.685 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Thursday 22 February 2024 04:09:51 +0000 (0:00:00.033) 0:00:36.719 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Thursday 22 February 2024 04:09:51 +0000 (0:00:00.053) 0:00:36.773 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Thursday 22 February 2024 04:09:51 +0000 (0:00:00.040) 0:00:36.813 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 22 February 2024 04:09:51 +0000 (0:00:00.101) 0:00:36.915 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Thursday 22 February 2024 04:09:51 +0000 (0:00:00.040) 0:00:36.956 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Thursday 22 February 2024 04:09:51 +0000 (0:00:00.041) 0:00:36.998 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Thursday 22 February 2024 04:09:51 +0000 (0:00:00.030) 0:00:37.028 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Thursday 22 February 2024 04:09:52 +0000 (0:00:00.379) 0:00:37.408 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18039gtzb5dut/tmp2ujleiyh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 22 February 2024 04:09:52 +0000 (0:00:00.298) 0:00:37.706 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Thursday 22 February 2024 04:09:52 +0000 (0:00:00.444) 0:00:38.150 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Thursday 22 February 2024 04:09:53 +0000 (0:00:00.030) 0:00:38.181 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Thursday 22 February 2024 04:09:53 +0000 (0:00:00.031) 0:00:38.212 ***** 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-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Thursday 22 February 2024 04:09:53 +0000 (0:00:00.032) 0:00:38.245 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Thursday 22 February 2024 04:09:53 +0000 (0:00:00.032) 0:00:38.277 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tests_vlan_mtu.yml:73 Thursday 22 February 2024 04:09:53 +0000 (0:00:00.211) 0:00:38.489 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 22 February 2024 04:09:53 +0000 (0:00:00.049) 0:00:38.538 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 22 February 2024 04:09:53 +0000 (0:00:00.027) 0:00:38.565 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 22 February 2024 04:09:53 +0000 (0:00:00.026) 0:00:38.592 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 22 February 2024 04:09:53 +0000 (0:00:00.061) 0:00:38.654 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 22 February 2024 04:09:53 +0000 (0:00:00.038) 0:00:38.693 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003619", "end": "2024-02-22 04:09:53.699299", "rc": 0, "start": "2024-02-22 04:09:53.695680" } STDOUT: bonding_masters eth0 lo lsr101 lsr101.90 peerlsr101 team0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 22 February 2024 04:09:53 +0000 (0:00:00.209) 0:00:38.902 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 22 February 2024 04:09:53 +0000 (0:00:00.029) 0:00:38.932 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'lsr101', 'lsr101.90', 'peerlsr101', 'team0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 22 February 2024 04:09:53 +0000 (0:00:00.030) 0:00:38.963 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:27 Thursday 22 February 2024 04:09:56 +0000 (0:00:02.762) 0:00:41.725 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:35 Thursday 22 February 2024 04:09:56 +0000 (0:00:00.036) 0:00:41.761 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:43 Thursday 22 February 2024 04:09:56 +0000 (0:00:00.027) 0:00:41.789 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.015574", "end": "2024-02-22 04:09:56.810961", "rc": 0, "start": "2024-02-22 04:09:56.795387" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:49 Thursday 22 February 2024 04:09:56 +0000 (0:00:00.225) 0:00:42.015 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 22 February 2024 04:09:56 +0000 (0:00:00.028) 0:00:42.043 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:60 Thursday 22 February 2024 04:09:56 +0000 (0:00:00.030) 0:00:42.073 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 22 February 2024 04:09:56 +0000 (0:00:00.028) 0:00:42.101 ***** 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tests_vlan_mtu.yml:77 Thursday 22 February 2024 04:09:56 +0000 (0:00:00.026) 0:00:42.127 ***** included: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 22 February 2024 04:09:57 +0000 (0:00:00.049) 0:00:42.177 ***** 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.010177", "end": "2024-02-22 04:09:57.191417", "rc": 0, "start": "2024-02-22 04:09:57.181240" } 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 12:bc:81:a9:9f:3d brd ff:ff:ff:ff:ff:ff inet 10.31.8.14/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 3549sec preferred_lft 3549sec inet6 fe80::10bc:81ff:fea9:9f3d/64 scope link valid_lft forever preferred_lft forever 45: team0: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 36:3d:83:f1:e8:48 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.14 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.14 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-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 22 February 2024 04:09:57 +0000 (0:00:00.216) 0:00:42.393 ***** 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.305355", "end": "2024-02-22 04:09:57.730047", "rc": 0, "start": "2024-02-22 04:09:57.424692" } 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 5648 0 --:--:-- --:--:-- --:--:-- 5648 % 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 1293 0 --:--:-- --:--:-- --:--:-- 1293 PLAY RECAP ********************************************************************* sut : ok=93 changed=2 unreachable=0 failed=0 skipped=51 rescued=0 ignored=2 Thursday 22 February 2024 04:09:57 +0000 (0:00:00.620) 0:00:43.013 ***** =============================================================================== fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 7.65s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 5.82s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Install iproute --------------------------------------------------------- 5.02s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.76s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 2.64s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tests_vlan_mtu.yml:3 ---- fedora.linux_system_roles.network : Check which services are running ---- 1.62s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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.55s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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.50s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.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.32s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.87s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tests_vlan_mtu_initscripts.yml:5 -- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.73s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Verify DNS and network connectivity ------------------------------------- 0.62s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/check_network_dns.yml:24 Create veth interface lsr101 -------------------------------------------- 0.62s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Enable network service -------------- 0.54s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.44s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Enable EPEL 8 ----------------------------------------------------------- 0.43s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tasks/enable_epel.yml:35 ---------- fedora.linux_system_roles.network : Enable network service -------------- 0.38s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Gather the minimum subset of ansible_facts required by the network role test --- 0.36s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/tests/tasks/el_repo_setup.yml:3 --------- fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.32s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.32s /WORKDIR/git-nm_plugin_hotfixjy76u1gx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---