# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_nm.yml ******************************************** 2 plays in /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/tests_auto_gateway_nm.yml:6 Wednesday 24 July 2024 18:56:19 +0000 (0:00:00.011) 0:00:00.011 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/tests_auto_gateway_nm.yml:9 Wednesday 24 July 2024 18:56:20 +0000 (0:00:00.923) 0:00:00.935 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/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-properlysmdiv7q9/tests/tasks/el_repo_setup.yml:3 Wednesday 24 July 2024 18:56:20 +0000 (0:00:00.011) 0:00:00.947 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/tasks/el_repo_setup.yml:17 Wednesday 24 July 2024 18:56:20 +0000 (0:00:00.437) 0:00:01.385 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/tasks/el_repo_setup.yml:22 Wednesday 24 July 2024 18:56:20 +0000 (0:00:00.263) 0:00:01.648 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/tasks/el_repo_setup.yml:26 Wednesday 24 July 2024 18:56:20 +0000 (0:00:00.015) 0:00:01.664 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/tasks/el_repo_setup.yml:51 Wednesday 24 July 2024 18:56:20 +0000 (0:00:00.010) 0:00:01.674 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/tasks/enable_epel.yml:8 Wednesday 24 July 2024 18:56:20 +0000 (0:00:00.023) 0:00:01.698 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/tasks/enable_epel.yml:24 Wednesday 24 July 2024 18:56:21 +0000 (0:00:00.255) 0:00:01.953 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/tasks/enable_epel.yml:30 Wednesday 24 July 2024 18:56:21 +0000 (0:00:00.013) 0:00:01.967 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/tasks/enable_epel.yml:35 Wednesday 24 July 2024 18:56:21 +0000 (0:00:00.011) 0:00:01.978 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.259734", "end": "2024-07-24 18:56:21.540926", "rc": 0, "start": "2024-07-24 18:56:21.281192" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/tasks/enable_epel.yml:40 Wednesday 24 July 2024 18:56:21 +0000 (0:00:00.473) 0:00:02.452 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/tests_auto_gateway_nm.yml:11 Wednesday 24 July 2024 18:56:21 +0000 (0:00:00.013) 0:00:02.466 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 24 July 2024 18:56:21 +0000 (0:00:00.048) 0:00:02.514 ******** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 24 July 2024 18:56:22 +0000 (0:00:00.722) 0:00:03.236 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/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-properlysmdiv7q9/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:22 +0000 (0:00:00.039) 0:00:03.276 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:22 +0000 (0:00:00.015) 0:00:03.291 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003272", "end": "2024-07-24 18:56:22.594577", "rc": 0, "start": "2024-07-24 18:56:22.591305" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:22 +0000 (0:00:00.203) 0:00:03.495 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:22 +0000 (0:00:00.016) 0:00:03.511 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 24 July 2024 18:56:22 +0000 (0:00:00.010) 0:00:03.522 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 18:56:22 +0000 (0:00:00.029) 0:00:03.551 ******** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 18:56:22 +0000 (0:00:00.009) 0:00:03.560 ******** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 18:56:22 +0000 (0:00:00.008) 0:00:03.568 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/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-properlysmdiv7q9/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:22 +0000 (0:00:00.011) 0:00:03.580 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:22 +0000 (0:00:00.017) 0:00:03.597 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003420", "end": "2024-07-24 18:56:22.894691", "rc": 0, "start": "2024-07-24 18:56:22.891271" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:22 +0000 (0:00:00.195) 0:00:03.793 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:22 +0000 (0:00:00.010) 0:00:03.803 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 18:56:22 +0000 (0:00:00.011) 0:00:03.814 ******** 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-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 18:56:25 +0000 (0:00:02.985) 0:00:06.799 ******** 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.014218", "end": "2024-07-24 18:56:26.110337", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-24 18:56:26.096119" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003959", "end": "2024-07-24 18:56:26.341340", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-24 18:56:26.337381" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004024", "end": "2024-07-24 18:56:26.535676", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-24 18:56:26.531652" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 18:56:26 +0000 (0:00:00.634) 0:00:07.434 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024027", "end": "2024-07-24 18:56:26.754745", "rc": 0, "start": "2024-07-24 18:56:26.730718" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 18:56:26 +0000 (0:00:00.220) 0:00:07.655 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 18:56:26 +0000 (0:00:00.010) 0:00:07.665 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 18:56:26 +0000 (0:00:00.012) 0:00:07.677 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 18:56:26 +0000 (0:00:00.010) 0:00:07.688 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 18:56:26 +0000 (0:00:00.011) 0:00:07.699 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 24 July 2024 18:56:26 +0000 (0:00:00.010) 0:00:07.709 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/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-properlysmdiv7q9/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 18:56:26 +0000 (0:00:00.025) 0:00:07.734 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 18:56:26 +0000 (0:00:00.011) 0:00:07.745 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721847386.0998695, "block_size": 4096, "blocks": 0, "ctime": 1721847386.0998695, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22920, "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": 1721847386.0998695, "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-properlysmdiv7q9/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 18:56:27 +0000 (0:00:00.193) 0:00:07.939 ******** 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-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 24 July 2024 18:56:27 +0000 (0:00:00.011) 0:00:07.950 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 18:56:27 +0000 (0:00:00.009) 0:00:07.960 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 18:56:27 +0000 (0:00:00.017) 0:00:07.978 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 18:56:27 +0000 (0:00:00.021) 0:00:07.999 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 18:56:27 +0000 (0:00:00.013) 0:00:08.012 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 18:56:27 +0000 (0:00:00.012) 0:00:08.025 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 18:56:28 +0000 (0:00:01.702) 0:00:09.728 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 18:56:30 +0000 (0:00:01.569) 0:00:11.298 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 18:56:30 +0000 (0:00:00.022) 0:00:11.321 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 18:56:30 +0000 (0:00:00.018) 0:00:11.339 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.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-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 18:56:30 +0000 (0:00:00.020) 0:00:11.360 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 18:56:30 +0000 (0:00:00.029) 0:00:11.389 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 18:56:30 +0000 (0:00:00.037) 0:00:11.426 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 18:56:30 +0000 (0:00:00.066) 0:00:11.493 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 18:56:30 +0000 (0:00:00.035) 0:00:11.529 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 18:56:30 +0000 (0:00:00.055) 0:00:11.584 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 18:56:30 +0000 (0:00:00.020) 0:00:11.605 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 18:56:30 +0000 (0:00:00.020) 0:00:11.626 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 18:56:30 +0000 (0:00:00.043) 0:00:11.669 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 18:56:31 +0000 (0:00:00.581) 0:00:12.251 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 18:56:31 +0000 (0:00:00.037) 0:00:12.289 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 18:56:31 +0000 (0:00:00.020) 0:00:12.309 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 18:56:31 +0000 (0:00:00.019) 0:00:12.329 ******** 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": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 77fb7240-4776-4e5c-89db-25bc8af827f8 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 77fb7240-4776-4e5c-89db-25bc8af827f8 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 18:56:32 +0000 (0:00:00.640) 0:00:12.969 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 18:56:32 +0000 (0:00:00.027) 0:00:12.996 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 77fb7240-4776-4e5c-89db-25bc8af827f8", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 77fb7240-4776-4e5c-89db-25bc8af827f8 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 18:56:32 +0000 (0:00:00.038) 0:00:13.035 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 77fb7240-4776-4e5c-89db-25bc8af827f8\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 77fb7240-4776-4e5c-89db-25bc8af827f8 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 77fb7240-4776-4e5c-89db-25bc8af827f8", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 77fb7240-4776-4e5c-89db-25bc8af827f8 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 18:56:32 +0000 (0:00:00.023) 0:00:13.059 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 18:56:32 +0000 (0:00:00.021) 0:00:13.080 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 24 July 2024 18:56:32 +0000 (0:00:00.308) 0:00:13.389 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/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-properlysmdiv7q9/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 18:56:32 +0000 (0:00:00.078) 0:00:13.468 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 18:56:32 +0000 (0:00:00.030) 0:00:13.498 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721847386.0998695, "block_size": 4096, "blocks": 0, "ctime": 1721847386.0998695, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22920, "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": 1721847386.0998695, "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-properlysmdiv7q9/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 18:56:32 +0000 (0:00:00.203) 0:00:13.702 ******** 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-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 24 July 2024 18:56:32 +0000 (0:00:00.020) 0:00:13.722 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/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-properlysmdiv7q9/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 18:56:32 +0000 (0:00:00.047) 0:00:13.770 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/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-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 18:56:32 +0000 (0:00:00.031) 0:00:13.802 ******** 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-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 18:56:32 +0000 (0:00:00.020) 0:00:13.823 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721847392.0406997, "block_size": 4096, "blocks": 8, "ctime": 1721847391.9986994, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301854, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721847391.9986994, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 396, "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-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 18:56:33 +0000 (0:00:00.200) 0:00:14.023 ******** 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-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 18:56:33 +0000 (0:00:00.021) 0:00:14.045 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022081", "end": "2024-07-24 18:56:33.362917", "rc": 0, "start": "2024-07-24 18:56:33.340836" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 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-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 18:56:33 +0000 (0:00:00.225) 0:00:14.270 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 18:56:33 +0000 (0:00:00.021) 0:00:14.291 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 18:56:33 +0000 (0:00:00.019) 0:00:14.311 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 18:56:33 +0000 (0:00:00.018) 0:00:14.330 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 18:56:33 +0000 (0:00:00.019) 0:00:14.349 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 18:56:33 +0000 (0:00:00.020) 0:00:14.370 ******** 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-properlysmdiv7q9/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 18:56:33 +0000 (0:00:00.052) 0:00:14.422 ******** 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-properlysmdiv7q9/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 18:56:33 +0000 (0:00:00.023) 0:00:14.446 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 24 July 2024 18:56:33 +0000 (0:00:00.022) 0:00:14.469 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004162", "end": "2024-07-24 18:56:33.768247", "rc": 0, "start": "2024-07-24 18:56:33.764085" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.165 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.165 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 24 July 2024 18:56:33 +0000 (0:00:00.207) 0:00:14.676 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 24 July 2024 18:56:33 +0000 (0:00:00.021) 0:00:14.698 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003758", "end": "2024-07-24 18:56:33.995306", "rc": 0, "start": "2024-07-24 18:56:33.991548" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 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 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 24 July 2024 18:56:34 +0000 (0:00:00.205) 0:00:14.904 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 24 July 2024 18:56:34 +0000 (0:00:00.022) 0:00:14.926 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 18:56:34 +0000 (0:00:00.020) 0:00:14.946 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 18:56:34 +0000 (0:00:00.034) 0:00:14.981 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 18:56:34 +0000 (0:00:00.040) 0:00:15.021 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 18:56:34 +0000 (0:00:00.023) 0:00:15.045 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 18:56:34 +0000 (0:00:00.023) 0:00:15.068 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 18:56:35 +0000 (0:00:01.568) 0:00:16.636 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 18:56:37 +0000 (0:00:01.402) 0:00:18.039 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 18:56:37 +0000 (0:00:00.074) 0:00:18.113 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 18:56:37 +0000 (0:00:00.027) 0:00:18.140 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.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-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 18:56:37 +0000 (0:00:00.021) 0:00:18.162 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 18:56:37 +0000 (0:00:00.028) 0:00:18.191 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 18:56:37 +0000 (0:00:00.040) 0:00:18.231 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 18:56:37 +0000 (0:00:00.032) 0:00:18.263 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 18:56:37 +0000 (0:00:00.033) 0:00:18.297 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 18:56:37 +0000 (0:00:00.055) 0:00:18.353 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 18:56:37 +0000 (0:00:00.020) 0:00:18.373 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 18:56:37 +0000 (0:00:00.022) 0:00:18.396 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 18:56:37 +0000 (0:00:00.038) 0:00:18.434 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 18:56:37 +0000 (0:00:00.396) 0:00:18.830 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 18:56:37 +0000 (0:00:00.041) 0:00:18.872 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 18:56:38 +0000 (0:00:00.019) 0:00:18.892 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 18:56:38 +0000 (0:00:00.024) 0:00:18.916 ******** 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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 18:56:38 +0000 (0:00:00.407) 0:00:19.324 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 18:56:38 +0000 (0:00:00.020) 0:00:19.345 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 18:56:38 +0000 (0:00:00.022) 0:00:19.368 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 18:56:38 +0000 (0:00:00.023) 0:00:19.391 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 18:56:38 +0000 (0:00:00.049) 0:00:19.440 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 24 July 2024 18:56:38 +0000 (0:00:00.210) 0:00:19.651 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 18:56:38 +0000 (0:00:00.052) 0:00:19.703 ******** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 18:56:38 +0000 (0:00:00.020) 0:00:19.724 ******** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 18:56:38 +0000 (0:00:00.018) 0:00:19.742 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/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-properlysmdiv7q9/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:38 +0000 (0:00:00.032) 0:00:19.775 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:38 +0000 (0:00:00.032) 0:00:19.808 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003379", "end": "2024-07-24 18:56:39.109741", "rc": 0, "start": "2024-07-24 18:56:39.106362" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:39 +0000 (0:00:00.210) 0:00:20.018 ******** 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-properlysmdiv7q9/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:39 +0000 (0:00:00.024) 0:00:20.042 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 18:56:39 +0000 (0:00:00.026) 0:00:20.068 ******** 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-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 18:56:42 +0000 (0:00:02.839) 0:00:22.908 ******** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 18:56:42 +0000 (0:00:00.027) 0:00:22.935 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 18:56:42 +0000 (0:00:00.019) 0:00:22.954 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014198", "end": "2024-07-24 18:56:42.263892", "rc": 0, "start": "2024-07-24 18:56:42.249694" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 18:56:42 +0000 (0:00:00.251) 0:00:23.206 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 18:56:42 +0000 (0:00:00.025) 0:00:23.232 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 18:56:42 +0000 (0:00:00.020) 0:00:23.253 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 18:56:42 +0000 (0:00:00.022) 0:00:23.275 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 24 July 2024 18:56:42 +0000 (0:00:00.031) 0:00:23.307 ******** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 24 July 2024 18:56:42 +0000 (0:00:00.033) 0:00:23.340 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 18:56:42 +0000 (0:00:00.067) 0:00:23.408 ******** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 18:56:42 +0000 (0:00:00.022) 0:00:23.430 ******** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 18:56:42 +0000 (0:00:00.021) 0:00:23.452 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/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-properlysmdiv7q9/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:42 +0000 (0:00:00.035) 0:00:23.488 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:42 +0000 (0:00:00.038) 0:00:23.526 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003328", "end": "2024-07-24 18:56:42.831128", "rc": 0, "start": "2024-07-24 18:56:42.827800" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:42 +0000 (0:00:00.213) 0:00:23.739 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:42 +0000 (0:00:00.020) 0:00:23.760 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 18:56:42 +0000 (0:00:00.022) 0:00:23.782 ******** 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-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 18:56:45 +0000 (0:00:02.854) 0:00:26.637 ******** 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.011368", "end": "2024-07-24 18:56:45.947837", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-07-24 18:56:45.936469" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003757", "end": "2024-07-24 18:56:46.179517", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-07-24 18:56:46.175760" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003935", "end": "2024-07-24 18:56:46.369183", "item": "ip link set veth0 up", "rc": 0, "start": "2024-07-24 18:56:46.365248" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 18:56:46 +0000 (0:00:00.640) 0:00:27.277 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023227", "end": "2024-07-24 18:56:46.596560", "rc": 0, "start": "2024-07-24 18:56:46.573333" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 18:56:46 +0000 (0:00:00.228) 0:00:27.505 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 18:56:46 +0000 (0:00:00.020) 0:00:27.525 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 18:56:46 +0000 (0:00:00.021) 0:00:27.547 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 18:56:46 +0000 (0:00:00.022) 0:00:27.570 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 18:56:46 +0000 (0:00:00.020) 0:00:27.591 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 18:56:46 +0000 (0:00:00.019) 0:00:27.610 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 18:56:46 +0000 (0:00:00.034) 0:00:27.645 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 18:56:46 +0000 (0:00:00.034) 0:00:27.679 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 18:56:46 +0000 (0:00:00.023) 0:00:27.703 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 18:56:46 +0000 (0:00:00.026) 0:00:27.730 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 18:56:48 +0000 (0:00:01.597) 0:00:29.328 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 18:56:49 +0000 (0:00:01.350) 0:00:30.678 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 18:56:49 +0000 (0:00:00.022) 0:00:30.701 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 18:56:49 +0000 (0:00:00.061) 0:00:30.763 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.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-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 18:56:49 +0000 (0:00:00.019) 0:00:30.782 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 18:56:49 +0000 (0:00:00.029) 0:00:30.812 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 18:56:49 +0000 (0:00:00.036) 0:00:30.849 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 18:56:49 +0000 (0:00:00.029) 0:00:30.879 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 18:56:50 +0000 (0:00:00.036) 0:00:30.915 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 18:56:50 +0000 (0:00:00.059) 0:00:30.975 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 18:56:50 +0000 (0:00:00.020) 0:00:30.996 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 18:56:50 +0000 (0:00:00.020) 0:00:31.017 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 18:56:50 +0000 (0:00:00.035) 0:00:31.053 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 18:56:50 +0000 (0:00:00.387) 0:00:31.440 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 18:56:50 +0000 (0:00:00.034) 0:00:31.474 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 18:56:50 +0000 (0:00:00.022) 0:00:31.496 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 18:56:50 +0000 (0:00:00.022) 0:00:31.519 ******** 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": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4dfb592b-5474-4290-be24-0e078b900eac [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4dfb592b-5474-4290-be24-0e078b900eac (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 18:56:51 +0000 (0:00:00.468) 0:00:31.987 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 18:56:51 +0000 (0:00:00.031) 0:00:32.019 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4dfb592b-5474-4290-be24-0e078b900eac", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4dfb592b-5474-4290-be24-0e078b900eac (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 18:56:51 +0000 (0:00:00.024) 0:00:32.043 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4dfb592b-5474-4290-be24-0e078b900eac\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4dfb592b-5474-4290-be24-0e078b900eac (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 4dfb592b-5474-4290-be24-0e078b900eac", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 4dfb592b-5474-4290-be24-0e078b900eac (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 18:56:51 +0000 (0:00:00.026) 0:00:32.070 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 18:56:51 +0000 (0:00:00.056) 0:00:32.126 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 24 July 2024 18:56:51 +0000 (0:00:00.214) 0:00:32.340 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/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-properlysmdiv7q9/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 18:56:51 +0000 (0:00:00.053) 0:00:32.393 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 18:56:51 +0000 (0:00:00.057) 0:00:32.450 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721847405.9402738, "block_size": 4096, "blocks": 0, "ctime": 1721847405.9402738, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23506, "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": 1721847405.9402738, "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-properlysmdiv7q9/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 18:56:51 +0000 (0:00:00.203) 0:00:32.654 ******** 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-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 24 July 2024 18:56:51 +0000 (0:00:00.023) 0:00:32.677 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/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-properlysmdiv7q9/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 18:56:51 +0000 (0:00:00.050) 0:00:32.728 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/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-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 18:56:51 +0000 (0:00:00.032) 0:00:32.761 ******** 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-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 18:56:51 +0000 (0:00:00.019) 0:00:32.781 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721847411.0438495, "block_size": 4096, "blocks": 8, "ctime": 1721847410.999849, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721847410.999849, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 323, "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-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 18:56:52 +0000 (0:00:00.206) 0:00:32.987 ******** 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-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 18:56:52 +0000 (0:00:00.024) 0:00:33.011 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021043", "end": "2024-07-24 18:56:52.327953", "rc": 0, "start": "2024-07-24 18:56:52.306910" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 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-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 18:56:52 +0000 (0:00:00.224) 0:00:33.236 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 18:56:52 +0000 (0:00:00.055) 0:00:33.292 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 18:56:52 +0000 (0:00:00.021) 0:00:33.313 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 18:56:52 +0000 (0:00:00.020) 0:00:33.334 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 18:56:52 +0000 (0:00:00.021) 0:00:33.355 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 18:56:52 +0000 (0:00:00.020) 0:00:33.375 ******** 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-properlysmdiv7q9/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 18:56:52 +0000 (0:00:00.028) 0:00:33.404 ******** 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-properlysmdiv7q9/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 18:56:52 +0000 (0:00:00.022) 0:00:33.426 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 24 July 2024 18:56:52 +0000 (0:00:00.022) 0:00:33.449 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003826", "end": "2024-07-24 18:56:52.746876", "rc": 0, "start": "2024-07-24 18:56:52.743050" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.11.165 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.165 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 24 July 2024 18:56:52 +0000 (0:00:00.205) 0:00:33.654 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 24 July 2024 18:56:52 +0000 (0:00:00.024) 0:00:33.679 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003759", "end": "2024-07-24 18:56:52.977729", "rc": 0, "start": "2024-07-24 18:56:52.973970" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 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 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 24 July 2024 18:56:53 +0000 (0:00:00.206) 0:00:33.885 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 24 July 2024 18:56:53 +0000 (0:00:00.020) 0:00:33.906 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 24 July 2024 18:56:53 +0000 (0:00:00.020) 0:00:33.927 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 24 July 2024 18:56:53 +0000 (0:00:00.035) 0:00:33.963 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 24 July 2024 18:56:53 +0000 (0:00:00.036) 0:00:33.999 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 24 July 2024 18:56:53 +0000 (0:00:00.026) 0:00:34.025 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 24 July 2024 18:56:53 +0000 (0:00:00.026) 0:00:34.052 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 24 July 2024 18:56:54 +0000 (0:00:01.627) 0:00:35.680 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 24 July 2024 18:56:56 +0000 (0:00:01.358) 0:00:37.038 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 24 July 2024 18:56:56 +0000 (0:00:00.043) 0:00:37.082 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 24 July 2024 18:56:56 +0000 (0:00:00.021) 0:00:37.104 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.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-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 24 July 2024 18:56:56 +0000 (0:00:00.022) 0:00:37.126 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 24 July 2024 18:56:56 +0000 (0:00:00.029) 0:00:37.156 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 24 July 2024 18:56:56 +0000 (0:00:00.036) 0:00:37.192 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 24 July 2024 18:56:56 +0000 (0:00:00.029) 0:00:37.221 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 24 July 2024 18:56:56 +0000 (0:00:00.035) 0:00:37.257 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 24 July 2024 18:56:56 +0000 (0:00:00.053) 0:00:37.310 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 24 July 2024 18:56:56 +0000 (0:00:00.019) 0:00:37.330 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 24 July 2024 18:56:56 +0000 (0:00:00.019) 0:00:37.349 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 24 July 2024 18:56:56 +0000 (0:00:00.037) 0:00:37.386 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 24 July 2024 18:56:56 +0000 (0:00:00.386) 0:00:37.773 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 24 July 2024 18:56:56 +0000 (0:00:00.036) 0:00:37.810 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 24 July 2024 18:56:56 +0000 (0:00:00.019) 0:00:37.830 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 24 July 2024 18:56:57 +0000 (0:00:00.065) 0:00:37.895 ******** 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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 24 July 2024 18:56:57 +0000 (0:00:00.414) 0:00:38.309 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 24 July 2024 18:56:57 +0000 (0:00:00.020) 0:00:38.330 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 24 July 2024 18:56:57 +0000 (0:00:00.029) 0:00:38.359 ******** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 24 July 2024 18:56:57 +0000 (0:00:00.026) 0:00:38.386 ******** skipping: [sut] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 24 July 2024 18:56:57 +0000 (0:00:00.019) 0:00:38.405 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 24 July 2024 18:56:57 +0000 (0:00:00.218) 0:00:38.624 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 24 July 2024 18:56:57 +0000 (0:00:00.053) 0:00:38.677 ******** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 24 July 2024 18:56:57 +0000 (0:00:00.019) 0:00:38.696 ******** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 24 July 2024 18:56:57 +0000 (0:00:00.019) 0:00:38.715 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/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-properlysmdiv7q9/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 18:56:57 +0000 (0:00:00.031) 0:00:38.747 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 18:56:57 +0000 (0:00:00.030) 0:00:38.777 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003388", "end": "2024-07-24 18:56:58.076122", "rc": 0, "start": "2024-07-24 18:56:58.072734" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 18:56:58 +0000 (0:00:00.206) 0:00:38.984 ******** 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-properlysmdiv7q9/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 18:56:58 +0000 (0:00:00.083) 0:00:39.068 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 24 July 2024 18:56:58 +0000 (0:00:00.022) 0:00:39.091 ******** 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-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 24 July 2024 18:57:00 +0000 (0:00:02.691) 0:00:41.782 ******** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 24 July 2024 18:57:00 +0000 (0:00:00.028) 0:00:41.811 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 24 July 2024 18:57:00 +0000 (0:00:00.022) 0:00:41.834 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010068", "end": "2024-07-24 18:57:01.141262", "rc": 0, "start": "2024-07-24 18:57:01.131194" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 24 July 2024 18:57:01 +0000 (0:00:00.218) 0:00:42.053 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 24 July 2024 18:57:01 +0000 (0:00:00.021) 0:00:42.074 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 24 July 2024 18:57:01 +0000 (0:00:00.020) 0:00:42.094 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 24 July 2024 18:57:01 +0000 (0:00:00.020) 0:00:42.114 ******** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:153 Wednesday 24 July 2024 18:57:01 +0000 (0:00:00.019) 0:00:42.134 ******** included: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 24 July 2024 18:57:01 +0000 (0:00:00.052) 0:00:42.186 ******** 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.009201", "end": "2024-07-24 18:57:01.494517", "rc": 0, "start": "2024-07-24 18:57:01.485316" } 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:9a:84:74:a8:47 brd ff:ff:ff:ff:ff:ff inet 10.31.11.165/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2739sec preferred_lft 2739sec inet6 fe80::109a:84ff:fe74:a847/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.165 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.165 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-properlysmdiv7q9/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 24 July 2024 18:57:01 +0000 (0:00:00.216) 0:00:42.403 ******** 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.219237", "end": "2024-07-24 18:57:01.926321", "rc": 0, "start": "2024-07-24 18:57:01.707084" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.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 4013 0 --:--:-- --:--:-- --:--:-- 4013 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2487 0 --:--:-- --:--:-- --:--:-- 2466 PLAY RECAP ********************************************************************* sut : ok=132 changed=4 unreachable=0 failed=0 skipped=114 rescued=0 ignored=0 Wednesday 24 July 2024 18:57:02 +0000 (0:00:00.489) 0:00:42.892 ******** =============================================================================== Install iproute --------------------------------------------------------- 2.99s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.85s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.84s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.69s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.57s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.40s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/tests_auto_gateway_nm.yml:6 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tests_auto_gateway.yml:3 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.64s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Create veth interface veth0 --------------------------------------------- 0.64s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 0.63s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.58s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Verify DNS and network connectivity ------------------------------------- 0.49s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/playbooks/tasks/check_network_dns.yml:24 Enable EPEL 8 ----------------------------------------------------------- 0.47s /WORKDIR/git-team-test-not-cleaning-up-properlysmdiv7q9/tests/tasks/enable_epel.yml:35 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---