# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/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-team-test-not-cleaning-up-properly7up32op_/tests/tests_auto_gateway_initscripts.yml:5 Wednesday 24 July 2024 18:54:37 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/tests_auto_gateway_initscripts.yml:8 Wednesday 24 July 2024 18:54:37 +0000 (0:00:00.722) 0:00:00.734 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/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-team-test-not-cleaning-up-properly7up32op_/tests/tasks/el_repo_setup.yml:3 Wednesday 24 July 2024 18:54:37 +0000 (0:00:00.012) 0:00:00.747 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/tasks/el_repo_setup.yml:19 Wednesday 24 July 2024 18:54:38 +0000 (0:00:00.468) 0:00:01.215 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/tasks/el_repo_setup.yml:24 Wednesday 24 July 2024 18:54:38 +0000 (0:00:00.249) 0:00:01.464 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/tasks/el_repo_setup.yml:28 Wednesday 24 July 2024 18:54:38 +0000 (0:00:00.020) 0:00:01.484 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/tasks/el_repo_setup.yml:53 Wednesday 24 July 2024 18:54:38 +0000 (0:00:00.017) 0:00:01.501 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/tasks/enable_epel.yml:8 Wednesday 24 July 2024 18:54:38 +0000 (0:00:00.031) 0:00:01.533 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/tasks/enable_epel.yml:24 Wednesday 24 July 2024 18:54:38 +0000 (0:00:00.238) 0:00:01.771 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/tasks/enable_epel.yml:30 Wednesday 24 July 2024 18:54:38 +0000 (0:00:00.012) 0:00:01.784 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/tasks/enable_epel.yml:35 Wednesday 24 July 2024 18:54:38 +0000 (0:00:00.010) 0:00:01.794 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.345799", "end": "2024-07-24 18:54:39.534568", "rc": 0, "start": "2024-07-24 18:54:39.188769" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/tasks/enable_epel.yml:40 Wednesday 24 July 2024 18:54:39 +0000 (0:00:00.587) 0:00:02.381 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/tests_auto_gateway_initscripts.yml:10 Wednesday 24 July 2024 18:54:39 +0000 (0:00:00.009) 0:00:02.391 ******** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 24 July 2024 18:54:39 +0000 (0:00:00.012) 0:00:02.404 ******** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 24 July 2024 18:54:40 +0000 (0:00:00.599) 0:00:03.004 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:54:40 +0000 (0:00:00.026) 0:00:03.030 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:54:40 +0000 (0:00:00.014) 0:00:03.044 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004377", "end": "2024-07-24 18:54:40.452994", "rc": 0, "start": "2024-07-24 18:54:40.448617" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:54:40 +0000 (0:00:00.251) 0:00:03.296 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:54:40 +0000 (0:00:00.012) 0:00:03.308 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 24 July 2024 18:54:40 +0000 (0:00:00.012) 0:00:03.321 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 18:54:40 +0000 (0:00:00.030) 0:00:03.351 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 18:54:40 +0000 (0:00:00.010) 0:00:03.362 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 18:54:40 +0000 (0:00:00.009) 0:00:03.372 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:54:40 +0000 (0:00:00.013) 0:00:03.385 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:54:40 +0000 (0:00:00.013) 0:00:03.398 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004186", "end": "2024-07-24 18:54:40.813770", "rc": 0, "start": "2024-07-24 18:54:40.809584" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:54:40 +0000 (0:00:00.257) 0:00:03.655 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:54:40 +0000 (0:00:00.012) 0:00:03.668 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 18:54:40 +0000 (0:00:00.012) 0:00:03.680 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 24 July 2024 18:54:43 +0000 (0:00:02.867) 0:00:06.547 ******** 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.018176", "end": "2024-07-24 18:54:43.903105", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-24 18:54:43.884929" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003333", "end": "2024-07-24 18:54:44.107171", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-24 18:54:44.103838" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005147", "end": "2024-07-24 18:54:44.276388", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-24 18:54:44.271241" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 24 July 2024 18:54:44 +0000 (0:00:00.566) 0:00:07.114 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023269", "end": "2024-07-24 18:54:44.474770", "rc": 0, "start": "2024-07-24 18:54:44.451501" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 24 July 2024 18:54:44 +0000 (0:00:00.199) 0:00:07.314 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 24 July 2024 18:54:44 +0000 (0:00:00.012) 0:00:07.326 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 24 July 2024 18:54:44 +0000 (0:00:00.014) 0:00:07.340 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 18:54:44 +0000 (0:00:00.013) 0:00:07.354 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 24 July 2024 18:54:44 +0000 (0:00:00.011) 0:00:07.366 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 24 July 2024 18:54:44 +0000 (0:00:00.011) 0:00:07.378 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 18:54:44 +0000 (0:00:00.031) 0:00:07.409 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 18:54:44 +0000 (0:00:00.017) 0:00:07.427 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721847283.8949716, "block_size": 4096, "blocks": 0, "ctime": 1721847283.8949716, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21722, "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": 1721847283.8949716, "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-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 18:54:44 +0000 (0:00:00.177) 0:00:07.604 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 24 July 2024 18:54:44 +0000 (0:00:00.013) 0:00:07.618 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 18:54:44 +0000 (0:00:00.011) 0:00:07.629 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 18:54:44 +0000 (0:00:00.018) 0:00:07.648 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 18:54:44 +0000 (0:00:00.016) 0:00:07.665 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 18:54:44 +0000 (0:00:00.012) 0:00:07.677 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 18:54:44 +0000 (0:00:00.010) 0:00:07.688 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 18:54:46 +0000 (0:00:01.351) 0:00:09.040 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 18:54:47 +0000 (0:00:01.419) 0:00:10.459 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 18:54:47 +0000 (0:00:00.070) 0:00:10.529 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 18:54:47 +0000 (0:00:00.030) 0:00:10.560 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 18:54:47 +0000 (0:00:00.055) 0:00:10.616 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 18:54:47 +0000 (0:00:00.025) 0:00:10.642 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 18:54:47 +0000 (0:00:00.036) 0:00:10.678 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 18:54:47 +0000 (0:00:00.024) 0:00:10.702 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 18:54:47 +0000 (0:00:00.029) 0:00:10.732 ******** 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 [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 18:54:51 +0000 (0:00:03.787) 0:00:14.520 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 18:54:51 +0000 (0:00:00.025) 0:00:14.546 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 18:54:51 +0000 (0:00:00.023) 0:00:14.569 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 18:54:51 +0000 (0:00:00.029) 0:00:14.598 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 18:54:51 +0000 (0:00:00.023) 0:00:14.622 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 18:54:51 +0000 (0:00:00.024) 0:00:14.646 ******** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 18:54:52 +0000 (0:00:00.730) 0:00:15.377 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23237dg9765f/tmphvbvv28r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 18:54:52 +0000 (0:00:00.277) 0:00:15.655 ******** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 18:54:59 +0000 (0:00:06.653) 0:00:22.308 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 18:54:59 +0000 (0:00:00.026) 0:00:22.335 ******** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 18:54:59 +0000 (0:00:00.028) 0:00:22.363 ******** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 18:54:59 +0000 (0:00:00.025) 0:00:22.389 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 18:54:59 +0000 (0:00:00.022) 0:00:22.411 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 24 July 2024 18:54:59 +0000 (0:00:00.383) 0:00:22.794 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 18:55:00 +0000 (0:00:00.075) 0:00:22.870 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 18:55:00 +0000 (0:00:00.036) 0:00:22.907 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721847283.8949716, "block_size": 4096, "blocks": 0, "ctime": 1721847283.8949716, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21722, "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": 1721847283.8949716, "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-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 18:55:00 +0000 (0:00:00.187) 0:00:23.094 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 24 July 2024 18:55:00 +0000 (0:00:00.024) 0:00:23.118 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 18:55:00 +0000 (0:00:00.051) 0:00:23.170 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 18:55:00 +0000 (0:00:00.036) 0:00:23.206 ******** 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-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 18:55:00 +0000 (0:00:00.022) 0:00:23.229 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721847293.2570922, "block_size": 4096, "blocks": 8, "ctime": 1721847293.2560923, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301838, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721847293.2560923, "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-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 18:55:00 +0000 (0:00:00.185) 0:00:23.414 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 18:55:00 +0000 (0:00:00.025) 0:00:23.439 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017305", "end": "2024-07-24 18:55:00.791046", "rc": 1, "start": "2024-07-24 18:55:00.773741" } 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-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 18:55:00 +0000 (0:00:00.241) 0:00:23.681 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 18:55:00 +0000 (0:00:00.024) 0:00:23.705 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002769", "end": "2024-07-24 18:55:01.052092", "rc": 0, "start": "2024-07-24 18:55:01.049323" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 18:55:01 +0000 (0:00:00.197) 0:00:23.903 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 18:55:01 +0000 (0:00:00.027) 0:00:23.931 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002919", "end": "2024-07-24 18:55:01.273971", "rc": 0, "start": "2024-07-24 18:55:01.271052" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 18:55:01 +0000 (0:00:00.195) 0:00:24.126 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 18:55:01 +0000 (0:00:00.029) 0:00:24.155 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 18:55:01 +0000 (0:00:00.027) 0:00:24.182 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 18:55:01 +0000 (0:00:00.024) 0:00:24.207 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 24 July 2024 18:55:01 +0000 (0:00:00.023) 0:00:24.231 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003404", "end": "2024-07-24 18:55:01.579764", "rc": 0, "start": "2024-07-24 18:55:01.576360" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.6 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.6 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-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 24 July 2024 18:55:01 +0000 (0:00:00.199) 0:00:24.430 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 24 July 2024 18:55:01 +0000 (0:00:00.026) 0:00:24.456 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003450", "end": "2024-07-24 18:55:01.802562", "rc": 0, "start": "2024-07-24 18:55:01.799112" } 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-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 24 July 2024 18:55:01 +0000 (0:00:00.197) 0:00:24.653 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 24 July 2024 18:55:01 +0000 (0:00:00.024) 0:00:24.678 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 18:55:01 +0000 (0:00:00.023) 0:00:24.702 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 18:55:01 +0000 (0:00:00.085) 0:00:24.788 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 18:55:01 +0000 (0:00:00.029) 0:00:24.818 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 18:55:02 +0000 (0:00:00.031) 0:00:24.849 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 18:55:02 +0000 (0:00:00.024) 0:00:24.873 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 18:55:03 +0000 (0:00:01.444) 0:00:26.318 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 18:55:04 +0000 (0:00:01.298) 0:00:27.617 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 18:55:04 +0000 (0:00:00.029) 0:00:27.646 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 18:55:04 +0000 (0:00:00.025) 0:00:27.672 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 18:55:04 +0000 (0:00:00.026) 0:00:27.698 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 18:55:04 +0000 (0:00:00.025) 0:00:27.724 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 18:55:04 +0000 (0:00:00.033) 0:00:27.758 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 18:55:04 +0000 (0:00:00.024) 0:00:27.783 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 18:55:05 +0000 (0:00:00.045) 0:00:27.828 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 18:55:05 +0000 (0:00:00.059) 0:00:27.887 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 18:55:05 +0000 (0:00:00.024) 0:00:27.912 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 18:55:05 +0000 (0:00:00.024) 0:00:27.937 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 18:55:05 +0000 (0:00:00.029) 0:00:27.967 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 18:55:05 +0000 (0:00:00.031) 0:00:27.998 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 18:55:05 +0000 (0:00:00.023) 0:00:28.021 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 18:55:05 +0000 (0:00:00.362) 0:00:28.383 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23237dg9765f/tmp7eqj_hfw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 18:55:05 +0000 (0:00:00.339) 0:00:28.723 ******** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 18:55:06 +0000 (0:00:00.396) 0:00:29.119 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 18:55:06 +0000 (0:00:00.028) 0:00:29.148 ******** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 18:55:06 +0000 (0:00:00.025) 0:00:29.173 ******** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 18:55:06 +0000 (0:00:00.029) 0:00:29.202 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 18:55:06 +0000 (0:00:00.025) 0:00:29.228 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 24 July 2024 18:55:06 +0000 (0:00:00.195) 0:00:29.423 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 18:55:06 +0000 (0:00:00.059) 0:00:29.483 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 18:55:06 +0000 (0:00:00.023) 0:00:29.507 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 18:55:06 +0000 (0:00:00.023) 0:00:29.530 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:55:06 +0000 (0:00:00.037) 0:00:29.567 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:55:06 +0000 (0:00:00.080) 0:00:29.648 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004552", "end": "2024-07-24 18:55:06.989851", "rc": 0, "start": "2024-07-24 18:55:06.985299" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:55:07 +0000 (0:00:00.192) 0:00:29.840 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:55:07 +0000 (0:00:00.024) 0:00:29.865 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 18:55:07 +0000 (0:00:00.026) 0:00:29.891 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 24 July 2024 18:55:09 +0000 (0:00:02.477) 0:00:32.369 ******** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 24 July 2024 18:55:09 +0000 (0:00:00.036) 0:00:32.405 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 24 July 2024 18:55:09 +0000 (0:00:00.030) 0:00:32.435 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012351", "end": "2024-07-24 18:55:09.796083", "rc": 0, "start": "2024-07-24 18:55:09.783732" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 24 July 2024 18:55:09 +0000 (0:00:00.214) 0:00:32.650 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 24 July 2024 18:55:09 +0000 (0:00:00.112) 0:00:32.762 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 18:55:09 +0000 (0:00:00.040) 0:00:32.803 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 24 July 2024 18:55:10 +0000 (0:00:00.037) 0:00:32.840 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 24 July 2024 18:55:10 +0000 (0:00:00.031) 0:00:32.872 ******** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 24 July 2024 18:55:10 +0000 (0:00:00.027) 0:00:32.899 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 18:55:10 +0000 (0:00:00.057) 0:00:32.956 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 18:55:10 +0000 (0:00:00.023) 0:00:32.979 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 18:55:10 +0000 (0:00:00.022) 0:00:33.001 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:55:10 +0000 (0:00:00.036) 0:00:33.038 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:55:10 +0000 (0:00:00.035) 0:00:33.073 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004875", "end": "2024-07-24 18:55:10.412242", "rc": 0, "start": "2024-07-24 18:55:10.407367" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:55:10 +0000 (0:00:00.188) 0:00:33.261 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:55:10 +0000 (0:00:00.025) 0:00:33.287 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 18:55:10 +0000 (0:00:00.068) 0:00:33.355 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 24 July 2024 18:55:13 +0000 (0:00:02.469) 0:00:35.824 ******** 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.010167", "end": "2024-07-24 18:55:13.173892", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-24 18:55:13.163725" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003097", "end": "2024-07-24 18:55:13.371842", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-24 18:55:13.368745" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003478", "end": "2024-07-24 18:55:13.543175", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-24 18:55:13.539697" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 24 July 2024 18:55:13 +0000 (0:00:00.569) 0:00:36.393 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.018239", "end": "2024-07-24 18:55:13.753795", "rc": 0, "start": "2024-07-24 18:55:13.735556" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 24 July 2024 18:55:13 +0000 (0:00:00.212) 0:00:36.606 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 24 July 2024 18:55:13 +0000 (0:00:00.025) 0:00:36.631 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 24 July 2024 18:55:13 +0000 (0:00:00.024) 0:00:36.656 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 18:55:13 +0000 (0:00:00.023) 0:00:36.680 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 24 July 2024 18:55:13 +0000 (0:00:00.055) 0:00:36.735 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 18:55:13 +0000 (0:00:00.022) 0:00:36.758 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 18:55:13 +0000 (0:00:00.039) 0:00:36.797 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 18:55:14 +0000 (0:00:00.027) 0:00:36.824 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 18:55:14 +0000 (0:00:00.022) 0:00:36.847 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 18:55:14 +0000 (0:00:00.023) 0:00:36.870 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 18:55:15 +0000 (0:00:01.362) 0:00:38.233 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 18:55:16 +0000 (0:00:01.370) 0:00:39.603 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 18:55:16 +0000 (0:00:00.035) 0:00:39.639 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 18:55:16 +0000 (0:00:00.037) 0:00:39.676 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 18:55:16 +0000 (0:00:00.074) 0:00:39.751 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 18:55:16 +0000 (0:00:00.047) 0:00:39.798 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 18:55:17 +0000 (0:00:00.041) 0:00:39.840 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 18:55:17 +0000 (0:00:00.031) 0:00:39.872 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 18:55:17 +0000 (0:00:00.038) 0:00:39.911 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 18:55:17 +0000 (0:00:00.053) 0:00:39.965 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 18:55:17 +0000 (0:00:00.024) 0:00:39.989 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 18:55:17 +0000 (0:00:00.023) 0:00:40.012 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 18:55:17 +0000 (0:00:00.027) 0:00:40.040 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 18:55:17 +0000 (0:00:00.022) 0:00:40.062 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 18:55:17 +0000 (0:00:00.024) 0:00:40.087 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 18:55:17 +0000 (0:00:00.331) 0:00:40.419 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23237dg9765f/tmpr0uwbrbm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 18:55:17 +0000 (0:00:00.363) 0:00:40.782 ******** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 18:55:24 +0000 (0:00:06.464) 0:00:47.247 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 18:55:24 +0000 (0:00:00.023) 0:00:47.270 ******** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 18:55:24 +0000 (0:00:00.024) 0:00:47.295 ******** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 18:55:24 +0000 (0:00:00.024) 0:00:47.319 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 18:55:24 +0000 (0:00:00.023) 0:00:47.342 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 24 July 2024 18:55:24 +0000 (0:00:00.182) 0:00:47.524 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 18:55:24 +0000 (0:00:00.056) 0:00:47.581 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 18:55:24 +0000 (0:00:00.035) 0:00:47.616 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721847313.166903, "block_size": 4096, "blocks": 0, "ctime": 1721847313.166903, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22308, "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": 1721847313.166903, "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-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 18:55:24 +0000 (0:00:00.188) 0:00:47.804 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 24 July 2024 18:55:25 +0000 (0:00:00.043) 0:00:47.848 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 18:55:25 +0000 (0:00:00.079) 0:00:47.927 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 18:55:25 +0000 (0:00:00.055) 0:00:47.983 ******** 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-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 18:55:25 +0000 (0:00:00.040) 0:00:48.024 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721847318.228297, "block_size": 4096, "blocks": 8, "ctime": 1721847318.2112968, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301838, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721847318.2112968, "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-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 18:55:25 +0000 (0:00:00.253) 0:00:48.277 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 18:55:25 +0000 (0:00:00.029) 0:00:48.307 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.017724", "end": "2024-07-24 18:55:25.674115", "rc": 1, "start": "2024-07-24 18:55:25.656391" } 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-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 18:55:25 +0000 (0:00:00.216) 0:00:48.524 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 18:55:25 +0000 (0:00:00.027) 0:00:48.552 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002450", "end": "2024-07-24 18:55:25.889617", "rc": 0, "start": "2024-07-24 18:55:25.887167" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 18:55:25 +0000 (0:00:00.190) 0:00:48.743 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 18:55:25 +0000 (0:00:00.029) 0:00:48.772 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002400", "end": "2024-07-24 18:55:26.112955", "rc": 0, "start": "2024-07-24 18:55:26.110555" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 18:55:26 +0000 (0:00:00.191) 0:00:48.964 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 18:55:26 +0000 (0:00:00.028) 0:00:48.993 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 18:55:26 +0000 (0:00:00.028) 0:00:49.021 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 18:55:26 +0000 (0:00:00.027) 0:00:49.049 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 24 July 2024 18:55:26 +0000 (0:00:00.029) 0:00:49.079 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003075", "end": "2024-07-24 18:55:26.419979", "rc": 0, "start": "2024-07-24 18:55:26.416904" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.6 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.6 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-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 24 July 2024 18:55:26 +0000 (0:00:00.201) 0:00:49.281 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 24 July 2024 18:55:26 +0000 (0:00:00.074) 0:00:49.355 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003172", "end": "2024-07-24 18:55:26.732248", "rc": 0, "start": "2024-07-24 18:55:26.729076" } 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-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 24 July 2024 18:55:26 +0000 (0:00:00.226) 0:00:49.581 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 24 July 2024 18:55:26 +0000 (0:00:00.071) 0:00:49.653 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 18:55:26 +0000 (0:00:00.023) 0:00:49.676 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 18:55:26 +0000 (0:00:00.041) 0:00:49.718 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 18:55:26 +0000 (0:00:00.029) 0:00:49.748 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 18:55:26 +0000 (0:00:00.023) 0:00:49.772 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 18:55:26 +0000 (0:00:00.023) 0:00:49.795 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 18:55:28 +0000 (0:00:01.348) 0:00:51.144 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 18:55:29 +0000 (0:00:01.263) 0:00:52.407 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 18:55:29 +0000 (0:00:00.024) 0:00:52.432 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 18:55:29 +0000 (0:00:00.024) 0:00:52.456 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 18:55:29 +0000 (0:00:00.023) 0:00:52.480 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 18:55:29 +0000 (0:00:00.024) 0:00:52.504 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 18:55:29 +0000 (0:00:00.028) 0:00:52.533 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 18:55:29 +0000 (0:00:00.024) 0:00:52.558 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 18:55:29 +0000 (0:00:00.026) 0:00:52.584 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 18:55:29 +0000 (0:00:00.045) 0:00:52.630 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 18:55:29 +0000 (0:00:00.023) 0:00:52.653 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 18:55:29 +0000 (0:00:00.022) 0:00:52.676 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 18:55:29 +0000 (0:00:00.025) 0:00:52.702 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 18:55:29 +0000 (0:00:00.023) 0:00:52.725 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 18:55:29 +0000 (0:00:00.024) 0:00:52.749 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 18:55:30 +0000 (0:00:00.388) 0:00:53.137 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-23237dg9765f/tmpibmmw798" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 18:55:30 +0000 (0:00:00.275) 0:00:53.413 ******** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 18:55:30 +0000 (0:00:00.395) 0:00:53.808 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 18:55:31 +0000 (0:00:00.024) 0:00:53.832 ******** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 18:55:31 +0000 (0:00:00.024) 0:00:53.856 ******** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 18:55:31 +0000 (0:00:00.027) 0:00:53.884 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 18:55:31 +0000 (0:00:00.023) 0:00:53.908 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 24 July 2024 18:55:31 +0000 (0:00:00.184) 0:00:54.092 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 18:55:31 +0000 (0:00:00.069) 0:00:54.161 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 18:55:31 +0000 (0:00:00.030) 0:00:54.192 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 18:55:31 +0000 (0:00:00.025) 0:00:54.217 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:55:31 +0000 (0:00:00.117) 0:00:54.335 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:55:31 +0000 (0:00:00.054) 0:00:54.390 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002702", "end": "2024-07-24 18:55:31.738150", "rc": 0, "start": "2024-07-24 18:55:31.735448" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:55:31 +0000 (0:00:00.201) 0:00:54.591 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:55:31 +0000 (0:00:00.025) 0:00:54.617 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 18:55:31 +0000 (0:00:00.024) 0:00:54.642 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:28 Wednesday 24 July 2024 18:55:34 +0000 (0:00:02.491) 0:00:57.133 ******** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "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, "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, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:37 Wednesday 24 July 2024 18:55:34 +0000 (0:00:00.035) 0:00:57.169 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:45 Wednesday 24 July 2024 18:55:34 +0000 (0:00:00.026) 0:00:57.195 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013415", "end": "2024-07-24 18:55:34.546699", "rc": 0, "start": "2024-07-24 18:55:34.533284" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:52 Wednesday 24 July 2024 18:55:34 +0000 (0:00:00.202) 0:00:57.398 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 24 July 2024 18:55:34 +0000 (0:00:00.024) 0:00:57.422 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 18:55:34 +0000 (0:00:00.074) 0:00:57.496 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:71 Wednesday 24 July 2024 18:55:34 +0000 (0:00:00.023) 0:00:57.520 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tests_auto_gateway.yml:153 Wednesday 24 July 2024 18:55:34 +0000 (0:00:00.022) 0:00:57.543 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 24 July 2024 18:55:34 +0000 (0:00:00.059) 0:00:57.602 ******** 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.008108", "end": "2024-07-24 18:55:34.945450", "rc": 0, "start": "2024-07-24 18:55:34.937342" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:c7:ac:ac:20:df brd ff:ff:ff:ff:ff:ff inet 10.31.11.6/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2820sec preferred_lft 2820sec inet6 fe80::10c7:acff:feac:20df/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.6 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.6 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-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 24 July 2024 18:55:34 +0000 (0:00:00.195) 0:00:57.798 ******** 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.260577", "end": "2024-07-24 18:55:35.398672", "rc": 0, "start": "2024-07-24 18:55:35.138095" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1392 0 --:--:-- --:--:-- --:--:-- 1392 % 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 17117 0 --:--:-- --:--:-- --:--:-- 17117 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=141 changed=6 unreachable=0 failed=0 skipped=105 rescued=0 ignored=2 Wednesday 24 July 2024 18:55:35 +0000 (0:00:00.444) 0:00:58.242 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.65s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Configure networking connection profiles --- 6.46s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Install packages --------------------------- 3.79s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:92 Install iproute --------------------------------------------------------- 2.87s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.49s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.48s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.47s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.42s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.37s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.35s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.35s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.30s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.26s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.79s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Enable network service --------------------- 0.75s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:171 linux-system-roles.network : Enable network service --------------------- 0.73s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:171 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/tests_auto_gateway_initscripts.yml:5 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.61s /WORKDIR/git-team-test-not-cleaning-up-properly7up32op_/tests/roles/linux-system-roles.network/tasks/main.yml:179 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---