# 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_hotfix633pomqn/.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_auto_gateway_initscripts.yml *********************************** 2 plays in /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/tests_auto_gateway_initscripts.yml:5 Tuesday 12 March 2024 22:00:04 +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_hotfix633pomqn/tests/tests_auto_gateway_initscripts.yml:8 Tuesday 12 March 2024 22:00:05 +0000 (0:00:00.899) 0:00:00.910 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/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_hotfix633pomqn/tests/tasks/el_repo_setup.yml:3 Tuesday 12 March 2024 22:00:05 +0000 (0:00:00.011) 0:00:00.922 ********* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/tasks/el_repo_setup.yml:17 Tuesday 12 March 2024 22:00:05 +0000 (0:00:00.354) 0:00:01.277 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/tasks/el_repo_setup.yml:22 Tuesday 12 March 2024 22:00:06 +0000 (0:00:00.249) 0:00:01.527 ********* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/tasks/el_repo_setup.yml:26 Tuesday 12 March 2024 22:00:06 +0000 (0:00:00.013) 0:00:01.541 ********* 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_hotfix633pomqn/tests/tasks/el_repo_setup.yml:51 Tuesday 12 March 2024 22:00:06 +0000 (0:00:00.008) 0:00:01.550 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/tasks/enable_epel.yml:8 Tuesday 12 March 2024 22:00:06 +0000 (0:00:00.021) 0:00:01.571 ********* 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_hotfix633pomqn/tests/tasks/enable_epel.yml:24 Tuesday 12 March 2024 22:00:06 +0000 (0:00:00.252) 0:00:01.823 ********* 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_hotfix633pomqn/tests/tasks/enable_epel.yml:30 Tuesday 12 March 2024 22:00:06 +0000 (0:00:00.008) 0:00:01.832 ********* 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_hotfix633pomqn/tests/tasks/enable_epel.yml:35 Tuesday 12 March 2024 22:00:06 +0000 (0:00:00.008) 0:00:01.840 ********* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.243619", "end": "2024-03-12 22:00:06.975431", "rc": 0, "start": "2024-03-12 22:00:06.731812" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/tasks/enable_epel.yml:40 Tuesday 12 March 2024 22:00:06 +0000 (0:00:00.431) 0:00:02.272 ********* 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_hotfix633pomqn/tests/tests_auto_gateway_initscripts.yml:10 Tuesday 12 March 2024 22:00:07 +0000 (0:00:00.012) 0:00:02.285 ********* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 12 March 2024 22:00:07 +0000 (0:00:00.015) 0:00:02.301 ********* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 12 March 2024 22:00:09 +0000 (0:00:02.636) 0:00:04.937 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 22:00:09 +0000 (0:00:00.034) 0:00:04.972 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 22:00:09 +0000 (0:00:00.022) 0:00:04.994 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003663", "end": "2024-03-12 22:00:09.922828", "rc": 0, "start": "2024-03-12 22:00:09.919165" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 22:00:09 +0000 (0:00:00.227) 0:00:05.221 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 22:00:09 +0000 (0:00:00.026) 0:00:05.248 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 12 March 2024 22:00:09 +0000 (0:00:00.022) 0:00:05.270 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 22:00:10 +0000 (0:00:00.038) 0:00:05.309 ********* 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_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 22:00:10 +0000 (0:00:00.020) 0:00:05.329 ********* 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_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 22:00:10 +0000 (0:00:00.025) 0:00:05.354 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 22:00:10 +0000 (0:00:00.029) 0:00:05.384 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 22:00:10 +0000 (0:00:00.063) 0:00:05.447 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003560", "end": "2024-03-12 22:00:10.376527", "rc": 0, "start": "2024-03-12 22:00:10.372967" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 22:00:10 +0000 (0:00:00.226) 0:00:05.674 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 22:00:10 +0000 (0:00:00.018) 0:00:05.692 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 22:00:10 +0000 (0:00:00.018) 0:00:05.710 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 12 March 2024 22:00:13 +0000 (0:00:02.876) 0:00:08.587 ********* ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.017304", "end": "2024-03-12 22:00:13.509706", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-03-12 22:00:13.492402" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004533", "end": "2024-03-12 22:00:13.744008", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-03-12 22:00:13.739475" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004536", "end": "2024-03-12 22:00:13.933617", "item": "ip link set veth0 up", "rc": 0, "start": "2024-03-12 22:00:13.929081" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 12 March 2024 22:00:13 +0000 (0:00:00.645) 0:00:09.232 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.103586", "end": "2024-03-12 22:00:14.250784", "rc": 0, "start": "2024-03-12 22:00:14.147198" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 12 March 2024 22:00:14 +0000 (0:00:00.317) 0:00:09.549 ********* 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 veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 12 March 2024 22:00:14 +0000 (0:00:00.017) 0:00:09.567 ********* 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 veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 12 March 2024 22:00:14 +0000 (0:00:00.018) 0:00:09.585 ********* 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 veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 12 March 2024 22:00:14 +0000 (0:00:00.026) 0:00:09.612 ********* 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 veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 22:00:14 +0000 (0:00:00.019) 0:00:09.631 ********* 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_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 12 March 2024 22:00:14 +0000 (0:00:00.018) 0:00:09.650 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 12 March 2024 22:00:14 +0000 (0:00:00.036) 0:00:09.686 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 22:00:14 +0000 (0:00:00.022) 0:00:09.708 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1710280813.504585, "block_size": 4096, "blocks": 0, "ctime": 1710280813.504585, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21710, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1710280813.504585, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 12 March 2024 22:00:14 +0000 (0:00:00.208) 0:00:09.917 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 12 March 2024 22:00:14 +0000 (0:00:00.020) 0:00:09.937 ********* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 12 March 2024 22:00:14 +0000 (0:00:00.018) 0:00:09.956 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/.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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 12 March 2024 22:00:14 +0000 (0:00:00.026) 0:00:09.982 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 12 March 2024 22:00:14 +0000 (0:00:00.019) 0:00:10.002 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 12 March 2024 22:00:14 +0000 (0:00:00.020) 0:00:10.022 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 12 March 2024 22:00:14 +0000 (0:00:00.020) 0:00:10.042 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 12 March 2024 22:00:16 +0000 (0:00:01.576) 0:00:11.619 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 12 March 2024 22:00:17 +0000 (0:00:01.529) 0:00:13.149 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 12 March 2024 22:00:17 +0000 (0:00:00.030) 0:00:13.180 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 12 March 2024 22:00:17 +0000 (0:00:00.030) 0:00:13.210 ********* 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-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 12 March 2024 22:00:17 +0000 (0:00:00.031) 0:00:13.242 ********* 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-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 12 March 2024 22:00:18 +0000 (0:00:00.049) 0:00:13.291 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 12 March 2024 22:00:18 +0000 (0:00:00.028) 0:00:13.319 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 12 March 2024 22:00:18 +0000 (0:00:00.063) 0:00:13.383 ********* changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 12 March 2024 22:00:23 +0000 (0:00:05.690) 0:00:19.074 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 12 March 2024 22:00:23 +0000 (0:00:00.029) 0:00:19.104 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 12 March 2024 22:00:23 +0000 (0:00:00.030) 0:00:19.134 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 12 March 2024 22:00:23 +0000 (0:00:00.047) 0:00:19.181 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 12 March 2024 22:00:23 +0000 (0:00:00.029) 0:00:19.211 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 12 March 2024 22:00:23 +0000 (0:00:00.028) 0:00:19.240 ********* changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 12 March 2024 22:00:24 +0000 (0:00:00.942) 0:00:20.182 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2671sgd99rsr/tmpemi_kd5v" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 12 March 2024 22:00:25 +0000 (0:00:00.317) 0:00:20.499 ********* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 12 March 2024 22:00:31 +0000 (0:00:06.779) 0:00:27.278 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 12 March 2024 22:00:32 +0000 (0:00:00.030) 0:00:27.309 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 12 March 2024 22:00:32 +0000 (0:00:00.033) 0:00:27.342 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 12 March 2024 22:00:32 +0000 (0:00:00.032) 0:00:27.374 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 12 March 2024 22:00:32 +0000 (0:00:00.030) 0:00:27.405 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 12 March 2024 22:00:32 +0000 (0:00:00.307) 0:00:27.712 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 12 March 2024 22:00:32 +0000 (0:00:00.058) 0:00:27.771 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 22:00:32 +0000 (0:00:00.067) 0:00:27.838 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1710280813.504585, "block_size": 4096, "blocks": 0, "ctime": 1710280813.504585, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21710, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1710280813.504585, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 12 March 2024 22:00:32 +0000 (0:00:00.216) 0:00:28.055 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 12 March 2024 22:00:32 +0000 (0:00:00.044) 0:00:28.099 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 12 March 2024 22:00:32 +0000 (0:00:00.064) 0:00:28.164 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/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_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 12 March 2024 22:00:32 +0000 (0:00:00.047) 0:00:28.211 ********* 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_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 12 March 2024 22:00:32 +0000 (0:00:00.035) 0:00:28.247 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1710280825.6532876, "block_size": 4096, "blocks": 8, "ctime": 1710280825.6312878, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5972150, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710280825.6312878, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "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_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 12 March 2024 22:00:33 +0000 (0:00:00.212) 0:00:28.459 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 12 March 2024 22:00:33 +0000 (0:00:00.030) 0:00:28.489 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021077", "end": "2024-03-12 22:00:33.420691", "rc": 1, "start": "2024-03-12 22:00:33.399614" } 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_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 12 March 2024 22:00:33 +0000 (0:00:00.241) 0:00:28.731 ********* 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-veth0] ************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 12 March 2024 22:00:33 +0000 (0:00:00.036) 0:00:28.767 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003347", "end": "2024-03-12 22:00:33.683921", "rc": 0, "start": "2024-03-12 22:00:33.680574" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 12 March 2024 22:00:33 +0000 (0:00:00.234) 0:00:29.001 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 12 March 2024 22:00:33 +0000 (0:00:00.036) 0:00:29.038 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003517", "end": "2024-03-12 22:00:33.945884", "rc": 0, "start": "2024-03-12 22:00:33.942367" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 12 March 2024 22:00:33 +0000 (0:00:00.217) 0:00:29.255 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 12 March 2024 22:00:34 +0000 (0:00:00.035) 0:00:29.290 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 12 March 2024 22:00:34 +0000 (0:00:00.031) 0:00:29.322 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 12 March 2024 22:00:34 +0000 (0:00:00.071) 0:00:29.393 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 12 March 2024 22:00:34 +0000 (0:00:00.030) 0:00:29.424 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003918", "end": "2024-03-12 22:00:34.328764", "rc": 0, "start": "2024-03-12 22:00:34.324846" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.248 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.248 metric 100 169.254.0.0/16 dev veth0 scope link metric 1004 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 12 March 2024 22:00:34 +0000 (0:00:00.229) 0:00:29.654 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 12 March 2024 22:00:34 +0000 (0:00:00.041) 0:00:29.696 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004256", "end": "2024-03-12 22:00:34.625079", "rc": 0, "start": "2024-03-12 22:00:34.620823" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 12 March 2024 22:00:34 +0000 (0:00:00.236) 0:00:29.932 ********* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 12 March 2024 22:00:34 +0000 (0:00:00.029) 0:00:29.962 ********* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 12 March 2024 22:00:34 +0000 (0:00:00.029) 0:00:29.991 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/.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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 12 March 2024 22:00:34 +0000 (0:00:00.045) 0:00:30.037 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 12 March 2024 22:00:34 +0000 (0:00:00.039) 0:00:30.076 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 12 March 2024 22:00:34 +0000 (0:00:00.037) 0:00:30.113 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 12 March 2024 22:00:34 +0000 (0:00:00.045) 0:00:30.159 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 12 March 2024 22:00:36 +0000 (0:00:01.678) 0:00:31.837 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 12 March 2024 22:00:37 +0000 (0:00:01.349) 0:00:33.187 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 12 March 2024 22:00:37 +0000 (0:00:00.033) 0:00:33.221 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 12 March 2024 22:00:38 +0000 (0:00:00.065) 0:00:33.286 ********* 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-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 12 March 2024 22:00:38 +0000 (0:00:00.030) 0:00:33.317 ********* 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-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 12 March 2024 22:00:38 +0000 (0:00:00.035) 0:00:33.353 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 12 March 2024 22:00:38 +0000 (0:00:00.028) 0:00:33.382 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 12 March 2024 22:00:38 +0000 (0:00:00.038) 0:00:33.421 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 12 March 2024 22:00:38 +0000 (0:00:00.063) 0:00:33.484 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 12 March 2024 22:00:38 +0000 (0:00:00.041) 0:00:33.526 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 12 March 2024 22:00:38 +0000 (0:00:00.057) 0:00:33.583 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 12 March 2024 22:00:38 +0000 (0:00:00.038) 0:00:33.621 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 12 March 2024 22:00:38 +0000 (0:00:00.034) 0:00:33.656 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 12 March 2024 22:00:38 +0000 (0:00:00.029) 0:00:33.685 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 12 March 2024 22:00:38 +0000 (0:00:00.399) 0:00:34.084 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2671sgd99rsr/tmpeo9ka0ip" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 12 March 2024 22:00:39 +0000 (0:00:00.326) 0:00:34.411 ********* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': 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"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 12 March 2024 22:00:39 +0000 (0:00:00.450) 0:00:34.861 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 12 March 2024 22:00:39 +0000 (0:00:00.033) 0:00:34.895 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': 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\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 12 March 2024 22:00:39 +0000 (0:00:00.031) 0:00:34.926 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': 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[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': 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\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 12 March 2024 22:00:39 +0000 (0:00:00.030) 0:00:34.956 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 12 March 2024 22:00:39 +0000 (0:00:00.033) 0:00:34.990 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 12 March 2024 22:00:39 +0000 (0:00:00.259) 0:00:35.249 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 22:00:40 +0000 (0:00:00.064) 0:00:35.313 ********* 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_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 22:00:40 +0000 (0:00:00.041) 0:00:35.355 ********* 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_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 22:00:40 +0000 (0:00:00.052) 0:00:35.408 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 22:00:40 +0000 (0:00:00.066) 0:00:35.474 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 22:00:40 +0000 (0:00:00.054) 0:00:35.529 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003772", "end": "2024-03-12 22:00:40.440126", "rc": 0, "start": "2024-03-12 22:00:40.436354" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 22:00:40 +0000 (0:00:00.257) 0:00:35.786 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 22:00:40 +0000 (0:00:00.052) 0:00:35.838 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 22:00:40 +0000 (0:00:00.050) 0:00:35.889 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 12 March 2024 22:00:43 +0000 (0:00:02.654) 0:00:38.543 ********* skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 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_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 12 March 2024 22:00:43 +0000 (0:00:00.040) 0:00:38.583 ********* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 12 March 2024 22:00:43 +0000 (0:00:00.034) 0:00:38.618 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014816", "end": "2024-03-12 22:00:43.539144", "rc": 0, "start": "2024-03-12 22:00:43.524328" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 12 March 2024 22:00:43 +0000 (0:00:00.235) 0:00:38.854 ********* 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 veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 12 March 2024 22:00:43 +0000 (0:00:00.031) 0:00:38.885 ********* 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 veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 12 March 2024 22:00:43 +0000 (0:00:00.073) 0:00:38.959 ********* 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 veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 22:00:43 +0000 (0:00:00.049) 0:00:39.008 ********* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 12 March 2024 22:00:43 +0000 (0:00:00.065) 0:00:39.073 ********* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 12 March 2024 22:00:43 +0000 (0:00:00.047) 0:00:39.120 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 22:00:43 +0000 (0:00:00.061) 0:00:39.182 ********* 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_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 22:00:43 +0000 (0:00:00.030) 0:00:39.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_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 22:00:43 +0000 (0:00:00.029) 0:00:39.242 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 22:00:44 +0000 (0:00:00.043) 0:00:39.285 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 22:00:44 +0000 (0:00:00.053) 0:00:39.339 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003554", "end": "2024-03-12 22:00:44.274440", "rc": 0, "start": "2024-03-12 22:00:44.270886" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 22:00:44 +0000 (0:00:00.242) 0:00:39.581 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 22:00:44 +0000 (0:00:00.032) 0:00:39.614 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 22:00:44 +0000 (0:00:00.030) 0:00:39.644 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 12 March 2024 22:00:47 +0000 (0:00:02.732) 0:00:42.377 ********* ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.006693", "end": "2024-03-12 22:00:47.314920", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-03-12 22:00:47.308227" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004062", "end": "2024-03-12 22:00:47.553338", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-03-12 22:00:47.549276" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004895", "end": "2024-03-12 22:00:47.743377", "item": "ip link set veth0 up", "rc": 0, "start": "2024-03-12 22:00:47.738482" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 12 March 2024 22:00:47 +0000 (0:00:00.675) 0:00:43.053 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024523", "end": "2024-03-12 22:00:47.982809", "rc": 0, "start": "2024-03-12 22:00:47.958286" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 12 March 2024 22:00:48 +0000 (0:00:00.238) 0:00:43.292 ********* 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 veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 12 March 2024 22:00:48 +0000 (0:00:00.115) 0:00:43.408 ********* 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 veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 12 March 2024 22:00:48 +0000 (0:00:00.037) 0:00:43.446 ********* 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 veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 12 March 2024 22:00:48 +0000 (0:00:00.029) 0:00:43.475 ********* 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 veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 22:00:48 +0000 (0:00:00.029) 0:00:43.505 ********* skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 12 March 2024 22:00:48 +0000 (0:00:00.030) 0:00:43.535 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/.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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 12 March 2024 22:00:48 +0000 (0:00:00.044) 0:00:43.580 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 12 March 2024 22:00:48 +0000 (0:00:00.034) 0:00:43.614 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 12 March 2024 22:00:48 +0000 (0:00:00.042) 0:00:43.656 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 12 March 2024 22:00:48 +0000 (0:00:00.033) 0:00:43.690 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 12 March 2024 22:00:50 +0000 (0:00:01.649) 0:00:45.339 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 12 March 2024 22:00:51 +0000 (0:00:01.358) 0:00:46.697 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 12 March 2024 22:00:51 +0000 (0:00:00.037) 0:00:46.735 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 12 March 2024 22:00:51 +0000 (0:00:00.040) 0:00:46.775 ********* 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-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 12 March 2024 22:00:51 +0000 (0:00:00.040) 0:00:46.815 ********* 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-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 12 March 2024 22:00:51 +0000 (0:00:00.106) 0:00:46.922 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 12 March 2024 22:00:51 +0000 (0:00:00.029) 0:00:46.951 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 12 March 2024 22:00:51 +0000 (0:00:00.033) 0:00:46.985 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 12 March 2024 22:00:51 +0000 (0:00:00.053) 0:00:47.038 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 12 March 2024 22:00:51 +0000 (0:00:00.031) 0:00:47.069 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 12 March 2024 22:00:51 +0000 (0:00:00.031) 0:00:47.101 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 12 March 2024 22:00:51 +0000 (0:00:00.034) 0:00:47.135 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 12 March 2024 22:00:51 +0000 (0:00:00.030) 0:00:47.166 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 12 March 2024 22:00:51 +0000 (0:00:00.030) 0:00:47.197 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 12 March 2024 22:00:52 +0000 (0:00:00.391) 0:00:47.588 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2671sgd99rsr/tmpoizxje3m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 12 March 2024 22:00:52 +0000 (0:00:00.341) 0:00:47.930 ********* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 12 March 2024 22:00:59 +0000 (0:00:06.540) 0:00:54.470 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 12 March 2024 22:00:59 +0000 (0:00:00.044) 0:00:54.514 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 12 March 2024 22:00:59 +0000 (0:00:00.047) 0:00:54.562 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 12 March 2024 22:00:59 +0000 (0:00:00.066) 0:00:54.628 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 12 March 2024 22:00:59 +0000 (0:00:00.043) 0:00:54.672 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 12 March 2024 22:00:59 +0000 (0:00:00.218) 0:00:54.890 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 12 March 2024 22:00:59 +0000 (0:00:00.105) 0:00:54.995 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 12 March 2024 22:00:59 +0000 (0:00:00.040) 0:00:55.036 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1710280847.3122222, "block_size": 4096, "blocks": 0, "ctime": 1710280847.3122222, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22296, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1710280847.3122222, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 12 March 2024 22:00:59 +0000 (0:00:00.215) 0:00:55.251 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 12 March 2024 22:01:00 +0000 (0:00:00.031) 0:00:55.283 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 12 March 2024 22:01:00 +0000 (0:00:00.059) 0:00:55.342 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/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_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 12 March 2024 22:01:00 +0000 (0:00:00.042) 0:00:55.385 ********* 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_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 12 March 2024 22:01:00 +0000 (0:00:00.033) 0:00:55.418 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1710280852.943107, "block_size": 4096, "blocks": 8, "ctime": 1710280852.9221072, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5972150, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1710280852.9221072, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "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_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 12 March 2024 22:01:00 +0000 (0:00:00.215) 0:00:55.634 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 12 March 2024 22:01:00 +0000 (0:00:00.030) 0:00:55.664 ********* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021871", "end": "2024-03-12 22:01:00.591935", "rc": 1, "start": "2024-03-12 22:01:00.570064" } 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_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 12 March 2024 22:01:00 +0000 (0:00:00.236) 0:00:55.900 ********* 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-veth0] ************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 12 March 2024 22:01:00 +0000 (0:00:00.029) 0:00:55.930 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003403", "end": "2024-03-12 22:01:00.838719", "rc": 0, "start": "2024-03-12 22:01:00.835316" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 12 March 2024 22:01:00 +0000 (0:00:00.220) 0:00:56.150 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 12 March 2024 22:01:00 +0000 (0:00:00.034) 0:00:56.184 ********* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003712", "end": "2024-03-12 22:01:01.094994", "rc": 0, "start": "2024-03-12 22:01:01.091282" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 12 March 2024 22:01:01 +0000 (0:00:00.254) 0:00:56.439 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 12 March 2024 22:01:01 +0000 (0:00:00.034) 0:00:56.473 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 12 March 2024 22:01:01 +0000 (0:00:00.032) 0:00:56.506 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 12 March 2024 22:01:01 +0000 (0:00:00.030) 0:00:56.537 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 12 March 2024 22:01:01 +0000 (0:00:00.029) 0:00:56.566 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004009", "end": "2024-03-12 22:01:01.473764", "rc": 0, "start": "2024-03-12 22:01:01.469755" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.248 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.248 metric 100 169.254.0.0/16 dev veth0 scope link metric 1006 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 12 March 2024 22:01:01 +0000 (0:00:00.216) 0:00:56.782 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 12 March 2024 22:01:01 +0000 (0:00:00.034) 0:00:56.817 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004243", "end": "2024-03-12 22:01:01.725304", "rc": 0, "start": "2024-03-12 22:01:01.721061" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 12 March 2024 22:01:01 +0000 (0:00:00.221) 0:00:57.038 ********* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 12 March 2024 22:01:01 +0000 (0:00:00.036) 0:00:57.075 ********* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 12 March 2024 22:01:01 +0000 (0:00:00.045) 0:00:57.120 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/.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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 12 March 2024 22:01:01 +0000 (0:00:00.061) 0:00:57.182 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 12 March 2024 22:01:01 +0000 (0:00:00.038) 0:00:57.221 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 12 March 2024 22:01:01 +0000 (0:00:00.036) 0:00:57.257 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 12 March 2024 22:01:02 +0000 (0:00:00.031) 0:00:57.289 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 12 March 2024 22:01:03 +0000 (0:00:01.638) 0:00:58.928 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 12 March 2024 22:01:05 +0000 (0:00:01.411) 0:01:00.339 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 12 March 2024 22:01:05 +0000 (0:00:00.031) 0:01:00.370 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 12 March 2024 22:01:05 +0000 (0:00:00.029) 0:01:00.400 ********* 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-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 12 March 2024 22:01:05 +0000 (0:00:00.032) 0:01:00.432 ********* 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-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 12 March 2024 22:01:05 +0000 (0:00:00.035) 0:01:00.468 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 12 March 2024 22:01:05 +0000 (0:00:00.027) 0:01:00.495 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 12 March 2024 22:01:05 +0000 (0:00:00.034) 0:01:00.530 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 12 March 2024 22:01:05 +0000 (0:00:00.051) 0:01:00.582 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 12 March 2024 22:01:05 +0000 (0:00:00.030) 0:01:00.613 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 12 March 2024 22:01:05 +0000 (0:00:00.029) 0:01:00.643 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 12 March 2024 22:01:05 +0000 (0:00:00.037) 0:01:00.680 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:120 Tuesday 12 March 2024 22:01:05 +0000 (0:00:00.031) 0:01:00.712 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Tuesday 12 March 2024 22:01:05 +0000 (0:00:00.027) 0:01:00.739 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:137 Tuesday 12 March 2024 22:01:05 +0000 (0:00:00.388) 0:01:01.128 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2671sgd99rsr/tmp10ae7gd6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 Tuesday 12 March 2024 22:01:06 +0000 (0:00:00.344) 0:01:01.472 ********* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': 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"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:158 Tuesday 12 March 2024 22:01:06 +0000 (0:00:00.449) 0:01:01.922 ********* 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_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 12 March 2024 22:01:06 +0000 (0:00:00.033) 0:01:01.956 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': 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\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:168 Tuesday 12 March 2024 22:01:06 +0000 (0:00:00.034) 0:01:01.991 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': 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[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': 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\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:173 Tuesday 12 March 2024 22:01:06 +0000 (0:00:00.087) 0:01:02.079 ********* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:179 Tuesday 12 March 2024 22:01:06 +0000 (0:00:00.036) 0:01:02.115 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 12 March 2024 22:01:07 +0000 (0:00:00.239) 0:01:02.354 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 12 March 2024 22:01:07 +0000 (0:00:00.089) 0:01:02.444 ********* 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_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 12 March 2024 22:01:07 +0000 (0:00:00.040) 0:01:02.484 ********* 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_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 12 March 2024 22:01:07 +0000 (0:00:00.040) 0:01:02.525 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 12 March 2024 22:01:07 +0000 (0:00:00.065) 0:01:02.591 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 12 March 2024 22:01:07 +0000 (0:00:00.047) 0:01:02.639 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003594", "end": "2024-03-12 22:01:07.546909", "rc": 0, "start": "2024-03-12 22:01:07.543315" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 12 March 2024 22:01:07 +0000 (0:00:00.215) 0:01:02.854 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 12 March 2024 22:01:07 +0000 (0:00:00.032) 0:01:02.886 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 12 March 2024 22:01:07 +0000 (0:00:00.031) 0:01:02.918 ********* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 12 March 2024 22:01:10 +0000 (0:00:02.609) 0:01:05.527 ********* skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 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_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 12 March 2024 22:01:10 +0000 (0:00:00.037) 0:01:05.565 ********* skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 12 March 2024 22:01:10 +0000 (0:00:00.028) 0:01:05.594 ********* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012969", "end": "2024-03-12 22:01:10.511167", "rc": 0, "start": "2024-03-12 22:01:10.498198" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 12 March 2024 22:01:10 +0000 (0:00:00.270) 0:01:05.865 ********* 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 veth0] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 12 March 2024 22:01:10 +0000 (0:00:00.057) 0:01:05.922 ********* 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 veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 12 March 2024 22:01:10 +0000 (0:00:00.036) 0:01:05.958 ********* 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 veth0] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 12 March 2024 22:01:10 +0000 (0:00:00.030) 0:01:05.988 ********* 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_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:153 Tuesday 12 March 2024 22:01:10 +0000 (0:00:00.038) 0:01:06.026 ********* included: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 12 March 2024 22:01:10 +0000 (0:00:00.067) 0:01:06.094 ********* 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.009797", "end": "2024-03-12 22:01:11.009271", "rc": 0, "start": "2024-03-12 22:01:10.999474" } 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 02:1e:46:ec:fc:37 brd ff:ff:ff:ff:ff:ff inet 10.31.44.248/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2578sec preferred_lft 2578sec inet6 fe80::1e:46ff:feec:fc37/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.248 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.248 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_hotfix633pomqn/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 12 March 2024 22:01:11 +0000 (0:00:00.224) 0:01:06.319 ********* 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.413815", "end": "2024-03-12 22:01:11.637042", "rc": 0, "start": "2024-03-12 22:01:11.223227" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 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.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.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 990 0 --:--:-- --:--:-- --:--:-- 990 % 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 3683 0 --:--:-- --:--:-- --:--:-- 3683 PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=101 rescued=0 ignored=2 Tuesday 12 March 2024 22:01:11 +0000 (0:00:00.662) 0:01:06.981 ********* =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.78s /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.54s /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:146 fedora.linux_system_roles.network : Install packages -------------------- 5.69s /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Install iproute --------------------------------------------------------- 2.88s /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.73s /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.65s /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 2.64s /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tests_auto_gateway.yml:3 Install iproute --------------------------------------------------------- 2.61s /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /WORKDIR/git-nm_plugin_hotfix633pomqn/.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.65s /WORKDIR/git-nm_plugin_hotfix633pomqn/.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.64s /WORKDIR/git-nm_plugin_hotfix633pomqn/.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.58s /WORKDIR/git-nm_plugin_hotfix633pomqn/.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.53s /WORKDIR/git-nm_plugin_hotfix633pomqn/.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.41s /WORKDIR/git-nm_plugin_hotfix633pomqn/.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.36s /WORKDIR/git-nm_plugin_hotfix633pomqn/.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.35s /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 0.94s /WORKDIR/git-nm_plugin_hotfix633pomqn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:129 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/tests_auto_gateway_initscripts.yml:5 Create veth interface veth0 --------------------------------------------- 0.68s /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/manage_test_interface.yml:27 Verify DNS and network connectivity ------------------------------------- 0.66s /WORKDIR/git-nm_plugin_hotfix633pomqn/tests/playbooks/tasks/check_network_dns.yml:24 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---