# 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-code_refactoryf2pishp/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /WORKDIR/git-code_refactoryf2pishp/tests/tests_auto_gateway_initscripts.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/tests_auto_gateway_initscripts.yml:4 Thursday 30 November 2023 18:29:54 +0000 (0:00:00.013) 0:00:00.013 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactoryf2pishp/tests/tests_auto_gateway_initscripts.yml:8 Thursday 30 November 2023 18:29:55 +0000 (0:00:00.846) 0:00:00.860 ***** included: /WORKDIR/git-code_refactoryf2pishp/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-code_refactoryf2pishp/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 18:29:55 +0000 (0:00:00.013) 0:00:00.873 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/tasks/el_repo_setup.yml:17 Thursday 30 November 2023 18:29:55 +0000 (0:00:00.371) 0:00:01.244 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/tasks/el_repo_setup.yml:22 Thursday 30 November 2023 18:29:55 +0000 (0:00:00.257) 0:00:01.502 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/tasks/el_repo_setup.yml:26 Thursday 30 November 2023 18:29:55 +0000 (0:00:00.016) 0:00:01.518 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/tasks/el_repo_setup.yml:51 Thursday 30 November 2023 18:29:55 +0000 (0:00:00.009) 0:00:01.528 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 18:29:56 +0000 (0:00:00.024) 0:00:01.553 ***** changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:00.659391", "end": "2023-11-30 18:29:56.912706", "rc": 0, "start": "2023-11-30 18:29:56.253315" } STDOUT: Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Verifying packages... Preparing packages... epel-release-8-19.el8.noarch Many EPEL packages require the CodeReady Builder (CRB) repository. It is recommended that you run /usr/bin/crb enable to enable the CRB repository. TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 18:29:56 +0000 (0:00:00.927) 0:00:02.480 ***** 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-code_refactoryf2pishp/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 18:29:56 +0000 (0:00:00.010) 0:00:02.490 ***** 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-code_refactoryf2pishp/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 18:29:56 +0000 (0:00:00.009) 0:00:02.500 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.372067", "end": "2023-11-30 18:29:57.498306", "rc": 0, "start": "2023-11-30 18:29:57.126239" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 18:29:57 +0000 (0:00:00.560) 0:00:03.060 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/tests_auto_gateway_initscripts.yml:10 Thursday 30 November 2023 18:29:57 +0000 (0:00:00.009) 0:00:03.070 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:3 Thursday 30 November 2023 18:29:57 +0000 (0:00:00.020) 0:00:03.090 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:9 Thursday 30 November 2023 18:29:58 +0000 (0:00:00.651) 0:00:03.742 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:29:58 +0000 (0:00:00.038) 0:00:03.781 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:29:58 +0000 (0:00:00.021) 0:00:03.802 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003597", "end": "2023-11-30 18:29:58.441279", "rc": 0, "start": "2023-11-30 18:29:58.437682" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:29:58 +0000 (0:00:00.200) 0:00:04.003 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:29:58 +0000 (0:00:00.020) 0:00:04.024 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:11 Thursday 30 November 2023 18:29:58 +0000 (0:00:00.021) 0:00:04.045 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:29:58 +0000 (0:00:00.040) 0:00:04.086 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:29:58 +0000 (0:00:00.018) 0:00:04.104 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:29:58 +0000 (0:00:00.019) 0:00:04.123 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:29:58 +0000 (0:00:00.023) 0:00:04.146 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:29:58 +0000 (0:00:00.024) 0:00:04.170 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003259", "end": "2023-11-30 18:29:58.807611", "rc": 0, "start": "2023-11-30 18:29:58.804352" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:29:58 +0000 (0:00:00.198) 0:00:04.369 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:29:58 +0000 (0:00:00.021) 0:00:04.390 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:29:58 +0000 (0:00:00.019) 0:00:04.410 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:30:06 +0000 (0:00:07.866) 0:00:12.277 ***** 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.049033", "end": "2023-11-30 18:30:06.965361", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-30 18:30:06.916328" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.006931", "end": "2023-11-30 18:30:07.203166", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-30 18:30:07.196235" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007785", "end": "2023-11-30 18:30:07.397363", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-30 18:30:07.389578" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:30:07 +0000 (0:00:00.684) 0:00:12.961 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.186994", "end": "2023-11-30 18:30:07.791376", "rc": 0, "start": "2023-11-30 18:30:07.604382" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:30:07 +0000 (0:00:00.393) 0:00:13.355 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:30:07 +0000 (0:00:00.021) 0:00:13.376 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:30:07 +0000 (0:00:00.020) 0:00:13.396 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:30:07 +0000 (0:00:00.019) 0:00:13.416 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:30:07 +0000 (0:00:00.019) 0:00:13.436 ***** 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-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:15 Thursday 30 November 2023 18:30:07 +0000 (0:00:00.018) 0:00:13.455 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:30:07 +0000 (0:00:00.038) 0:00:13.493 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:30:07 +0000 (0:00:00.022) 0:00:13.515 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369006.9635732, "block_size": 4096, "blocks": 0, "ctime": 1701369006.9635732, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21836, "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": 1701369006.9635732, "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-code_refactoryf2pishp/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:30:08 +0000 (0:00:00.198) 0:00:13.713 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:17 Thursday 30 November 2023 18:30:08 +0000 (0:00:00.021) 0:00:13.735 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:30:08 +0000 (0:00:00.020) 0:00:13.756 ***** included: /WORKDIR/git-code_refactoryf2pishp/.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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:30:08 +0000 (0:00:00.031) 0:00:13.788 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:30:08 +0000 (0:00:00.022) 0:00:13.810 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:30:08 +0000 (0:00:00.021) 0:00:13.832 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:30:08 +0000 (0:00:00.023) 0:00:13.856 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:30:10 +0000 (0:00:01.747) 0:00:15.604 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:30:11 +0000 (0:00:01.498) 0:00:17.102 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:30:11 +0000 (0:00:00.034) 0:00:17.137 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:30:11 +0000 (0:00:00.033) 0:00:17.171 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:30:11 +0000 (0:00:00.033) 0:00:17.204 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.18-1.el8.x86_64", "Installed: network-scripts-team-1.31-4.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:30:14 +0000 (0:00:02.923) 0:00:20.128 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:30:14 +0000 (0:00:00.077) 0:00:20.205 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:30:14 +0000 (0:00:00.037) 0:00:20.243 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:30:14 +0000 (0:00:00.045) 0:00:20.288 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:30:14 +0000 (0:00:00.035) 0:00:20.324 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:30:14 +0000 (0:00:00.032) 0:00:20.356 ***** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:30:15 +0000 (0:00:00.925) 0:00:21.282 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2388wn2l8og4/tmpz3kq12sr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:30:16 +0000 (0:00:00.320) 0:00:21.603 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:30:22 +0000 (0:00:06.696) 0:00:28.300 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:30:22 +0000 (0:00:00.036) 0:00:28.336 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:30:22 +0000 (0:00:00.034) 0:00:28.371 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:30:22 +0000 (0:00:00.033) 0:00:28.405 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:30:22 +0000 (0:00:00.033) 0:00:28.438 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:42 Thursday 30 November 2023 18:30:23 +0000 (0:00:00.320) 0:00:28.759 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:30:23 +0000 (0:00:00.062) 0:00:28.821 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:30:23 +0000 (0:00:00.070) 0:00:28.892 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369006.9635732, "block_size": 4096, "blocks": 0, "ctime": 1701369006.9635732, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21836, "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": 1701369006.9635732, "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-code_refactoryf2pishp/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:30:23 +0000 (0:00:00.219) 0:00:29.111 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:44 Thursday 30 November 2023 18:30:23 +0000 (0:00:00.037) 0:00:29.149 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 18:30:23 +0000 (0:00:00.072) 0:00:29.222 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:30:23 +0000 (0:00:00.050) 0:00:29.272 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:30:23 +0000 (0:00:00.043) 0:00:29.316 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369016.502617, "block_size": 4096, "blocks": 8, "ctime": 1701369016.480617, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701369016.480617, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:30:23 +0000 (0:00:00.217) 0:00:29.533 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.051) 0:00:29.585 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021502", "end": "2023-11-30 18:30:24.249735", "rc": 1, "start": "2023-11-30 18:30:24.228233" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.240) 0:00:29.825 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.043) 0:00:29.869 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003571", "end": "2023-11-30 18:30:24.521036", "rc": 0, "start": "2023-11-30 18:30:24.517465" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.228) 0:00:30.097 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.039) 0:00:30.137 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003461", "end": "2023-11-30 18:30:24.788441", "rc": 0, "start": "2023-11-30 18:30:24.784980" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.227) 0:00:30.364 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.040) 0:00:30.404 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.065) 0:00:30.469 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.036) 0:00:30.506 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:48 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.036) 0:00:30.543 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004246", "end": "2023-11-30 18:30:25.190071", "rc": 0, "start": "2023-11-30 18:30:25.185825" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.98 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.98 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:52 Thursday 30 November 2023 18:30:25 +0000 (0:00:00.224) 0:00:30.767 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:58 Thursday 30 November 2023 18:30:25 +0000 (0:00:00.036) 0:00:30.804 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004314", "end": "2023-11-30 18:30:25.447383", "rc": 0, "start": "2023-11-30 18:30:25.443069" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:62 Thursday 30 November 2023 18:30:25 +0000 (0:00:00.218) 0:00:31.023 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:69 Thursday 30 November 2023 18:30:25 +0000 (0:00:00.039) 0:00:31.062 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:30:25 +0000 (0:00:00.033) 0:00:31.096 ***** included: /WORKDIR/git-code_refactoryf2pishp/.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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:30:25 +0000 (0:00:00.053) 0:00:31.149 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:30:25 +0000 (0:00:00.049) 0:00:31.199 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:30:25 +0000 (0:00:00.046) 0:00:31.245 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:30:25 +0000 (0:00:00.048) 0:00:31.294 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:30:27 +0000 (0:00:01.799) 0:00:33.093 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:30:28 +0000 (0:00:01.347) 0:00:34.440 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:30:28 +0000 (0:00:00.037) 0:00:34.478 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:30:28 +0000 (0:00:00.036) 0:00:34.515 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:30:29 +0000 (0:00:00.036) 0:00:34.551 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:30:29 +0000 (0:00:00.063) 0:00:34.614 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:30:29 +0000 (0:00:00.036) 0:00:34.650 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:30:29 +0000 (0:00:00.038) 0:00:34.689 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:30:29 +0000 (0:00:00.048) 0:00:34.737 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:30:29 +0000 (0:00:00.039) 0:00:34.777 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:30:29 +0000 (0:00:00.035) 0:00:34.813 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:30:29 +0000 (0:00:00.398) 0:00:35.211 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2388wn2l8og4/tmp7c4yrzxy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:30:29 +0000 (0:00:00.319) 0:00:35.530 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:30:30 +0000 (0:00:00.470) 0:00:36.000 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:30:30 +0000 (0:00:00.037) 0:00:36.037 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:30:30 +0000 (0:00:00.036) 0:00:36.074 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:30:30 +0000 (0:00:00.045) 0:00:36.119 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:30:30 +0000 (0:00:00.069) 0:00:36.189 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:81 Thursday 30 November 2023 18:30:30 +0000 (0:00:00.228) 0:00:36.417 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:30:30 +0000 (0:00:00.071) 0:00:36.489 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:30:30 +0000 (0:00:00.050) 0:00:36.540 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:30:31 +0000 (0:00:00.046) 0:00:36.586 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:30:31 +0000 (0:00:00.054) 0:00:36.641 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:30:31 +0000 (0:00:00.046) 0:00:36.688 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003605", "end": "2023-11-30 18:30:31.332881", "rc": 0, "start": "2023-11-30 18:30:31.329276" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:30:31 +0000 (0:00:00.219) 0:00:36.907 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:30:31 +0000 (0:00:00.033) 0:00:36.941 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:30:31 +0000 (0:00:00.032) 0:00:36.974 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:30:32 +0000 (0:00:01.455) 0:00:38.430 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:30:32 +0000 (0:00:00.048) 0:00:38.478 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:30:32 +0000 (0:00:00.032) 0:00:38.510 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012409", "end": "2023-11-30 18:30:33.165359", "rc": 0, "start": "2023-11-30 18:30:33.152950" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:30:33 +0000 (0:00:00.263) 0:00:38.774 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:30:33 +0000 (0:00:00.034) 0:00:38.808 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:30:33 +0000 (0:00:00.032) 0:00:38.841 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:30:33 +0000 (0:00:00.033) 0:00:38.874 ***** 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-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:85 Thursday 30 November 2023 18:30:33 +0000 (0:00:00.031) 0:00:38.906 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:89 Thursday 30 November 2023 18:30:33 +0000 (0:00:00.033) 0:00:38.939 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:30:33 +0000 (0:00:00.073) 0:00:39.012 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:30:33 +0000 (0:00:00.036) 0:00:39.048 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:30:33 +0000 (0:00:00.042) 0:00:39.091 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:30:33 +0000 (0:00:00.055) 0:00:39.146 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:30:33 +0000 (0:00:00.052) 0:00:39.198 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003803", "end": "2023-11-30 18:30:33.846159", "rc": 0, "start": "2023-11-30 18:30:33.842356" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:30:33 +0000 (0:00:00.223) 0:00:39.422 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:30:33 +0000 (0:00:00.036) 0:00:39.458 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:30:33 +0000 (0:00:00.072) 0:00:39.531 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:30:35 +0000 (0:00:01.463) 0:00:40.994 ***** 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.013615", "end": "2023-11-30 18:30:35.651338", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-30 18:30:35.637723" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.006582", "end": "2023-11-30 18:30:35.881861", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-30 18:30:35.875279" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007215", "end": "2023-11-30 18:30:36.076040", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-30 18:30:36.068825" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:30:36 +0000 (0:00:00.658) 0:00:41.653 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023441", "end": "2023-11-30 18:30:36.319220", "rc": 0, "start": "2023-11-30 18:30:36.295779" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:30:36 +0000 (0:00:00.241) 0:00:41.895 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:30:36 +0000 (0:00:00.032) 0:00:41.927 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:30:36 +0000 (0:00:00.033) 0:00:41.960 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:30:36 +0000 (0:00:00.032) 0:00:41.993 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:30:36 +0000 (0:00:00.031) 0:00:42.024 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:30:36 +0000 (0:00:00.033) 0:00:42.057 ***** included: /WORKDIR/git-code_refactoryf2pishp/.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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:30:36 +0000 (0:00:00.050) 0:00:42.108 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:30:36 +0000 (0:00:00.038) 0:00:42.146 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:30:36 +0000 (0:00:00.035) 0:00:42.182 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:30:36 +0000 (0:00:00.033) 0:00:42.215 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:30:38 +0000 (0:00:01.811) 0:00:44.027 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:30:39 +0000 (0:00:01.359) 0:00:45.387 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:30:39 +0000 (0:00:00.039) 0:00:45.426 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:30:39 +0000 (0:00:00.041) 0:00:45.467 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:30:39 +0000 (0:00:00.052) 0:00:45.520 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:30:40 +0000 (0:00:00.069) 0:00:45.589 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:30:40 +0000 (0:00:00.036) 0:00:45.626 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:30:40 +0000 (0:00:00.035) 0:00:45.661 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:30:40 +0000 (0:00:00.048) 0:00:45.710 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:30:40 +0000 (0:00:00.044) 0:00:45.755 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:30:40 +0000 (0:00:00.036) 0:00:45.791 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:30:40 +0000 (0:00:00.397) 0:00:46.188 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2388wn2l8og4/tmpbnb80la4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:30:40 +0000 (0:00:00.311) 0:00:46.500 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:30:47 +0000 (0:00:06.571) 0:00:53.071 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:30:47 +0000 (0:00:00.056) 0:00:53.128 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:30:47 +0000 (0:00:00.058) 0:00:53.187 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:30:47 +0000 (0:00:00.053) 0:00:53.241 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:30:47 +0000 (0:00:00.142) 0:00:53.383 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:110 Thursday 30 November 2023 18:30:48 +0000 (0:00:00.237) 0:00:53.620 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:30:48 +0000 (0:00:00.071) 0:00:53.692 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:30:48 +0000 (0:00:00.046) 0:00:53.738 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369035.6417127, "block_size": 4096, "blocks": 0, "ctime": 1701369035.6417127, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22422, "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": 1701369035.6417127, "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-code_refactoryf2pishp/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:30:48 +0000 (0:00:00.216) 0:00:53.955 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:112 Thursday 30 November 2023 18:30:48 +0000 (0:00:00.037) 0:00:53.992 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 18:30:48 +0000 (0:00:00.075) 0:00:54.068 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:30:48 +0000 (0:00:00.061) 0:00:54.129 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:30:48 +0000 (0:00:00.037) 0:00:54.166 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369041.2745702, "block_size": 4096, "blocks": 8, "ctime": 1701369041.2535703, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701369041.2535703, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 263, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:30:48 +0000 (0:00:00.214) 0:00:54.381 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:30:48 +0000 (0:00:00.070) 0:00:54.451 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021498", "end": "2023-11-30 18:30:49.117872", "rc": 1, "start": "2023-11-30 18:30:49.096374" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:30:49 +0000 (0:00:00.242) 0:00:54.694 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:30:49 +0000 (0:00:00.036) 0:00:54.730 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003576", "end": "2023-11-30 18:30:49.376531", "rc": 0, "start": "2023-11-30 18:30:49.372955" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:30:49 +0000 (0:00:00.224) 0:00:54.954 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:30:49 +0000 (0:00:00.042) 0:00:54.997 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003533", "end": "2023-11-30 18:30:49.644058", "rc": 0, "start": "2023-11-30 18:30:49.640525" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:30:49 +0000 (0:00:00.228) 0:00:55.226 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 18:30:49 +0000 (0:00:00.039) 0:00:55.266 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 18:30:49 +0000 (0:00:00.036) 0:00:55.302 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 18:30:49 +0000 (0:00:00.037) 0:00:55.339 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:116 Thursday 30 November 2023 18:30:49 +0000 (0:00:00.037) 0:00:55.377 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004140", "end": "2023-11-30 18:30:50.023137", "rc": 0, "start": "2023-11-30 18:30:50.018997" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.98 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.98 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:120 Thursday 30 November 2023 18:30:50 +0000 (0:00:00.221) 0:00:55.599 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:126 Thursday 30 November 2023 18:30:50 +0000 (0:00:00.037) 0:00:55.636 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004186", "end": "2023-11-30 18:30:50.283129", "rc": 0, "start": "2023-11-30 18:30:50.278943" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 256 pref medium default via 2001:db8::1 dev veth0 metric 1 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:130 Thursday 30 November 2023 18:30:50 +0000 (0:00:00.224) 0:00:55.860 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:137 Thursday 30 November 2023 18:30:50 +0000 (0:00:00.045) 0:00:55.905 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:30:50 +0000 (0:00:00.040) 0:00:55.946 ***** included: /WORKDIR/git-code_refactoryf2pishp/.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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:30:50 +0000 (0:00:00.077) 0:00:56.023 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:30:50 +0000 (0:00:00.087) 0:00:56.111 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:30:50 +0000 (0:00:00.035) 0:00:56.147 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:30:50 +0000 (0:00:00.036) 0:00:56.183 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:30:52 +0000 (0:00:01.748) 0:00:57.932 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:30:53 +0000 (0:00:01.286) 0:00:59.218 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:30:53 +0000 (0:00:00.036) 0:00:59.255 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:30:53 +0000 (0:00:00.035) 0:00:59.291 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:30:53 +0000 (0:00:00.034) 0:00:59.326 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:30:53 +0000 (0:00:00.064) 0:00:59.390 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:30:53 +0000 (0:00:00.045) 0:00:59.436 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:30:53 +0000 (0:00:00.045) 0:00:59.482 ***** 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-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:30:53 +0000 (0:00:00.045) 0:00:59.527 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:30:54 +0000 (0:00:00.038) 0:00:59.566 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:30:54 +0000 (0:00:00.032) 0:00:59.599 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:30:54 +0000 (0:00:00.464) 0:01:00.063 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2388wn2l8og4/tmpag9ddmy8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:30:54 +0000 (0:00:00.312) 0:01:00.376 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:30:55 +0000 (0:00:00.475) 0:01:00.851 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:30:55 +0000 (0:00:00.041) 0:01:00.892 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:30:55 +0000 (0:00:00.045) 0:01:00.938 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:30:55 +0000 (0:00:00.045) 0:01:00.983 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:30:55 +0000 (0:00:00.040) 0:01:01.024 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tests_auto_gateway.yml:149 Thursday 30 November 2023 18:30:55 +0000 (0:00:00.238) 0:01:01.262 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:30:55 +0000 (0:00:00.093) 0:01:01.356 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:30:55 +0000 (0:00:00.041) 0:01:01.397 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:30:55 +0000 (0:00:00.048) 0:01:01.445 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:30:55 +0000 (0:00:00.052) 0:01:01.498 ***** included: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:30:56 +0000 (0:00:00.084) 0:01:01.582 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003605", "end": "2023-11-30 18:30:56.228580", "rc": 0, "start": "2023-11-30 18:30:56.224975" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:30:56 +0000 (0:00:00.233) 0:01:01.816 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:30:56 +0000 (0:00:00.040) 0:01:01.857 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:30:56 +0000 (0:00:00.037) 0:01:01.894 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:30:57 +0000 (0:00:01.469) 0:01:03.363 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:30:57 +0000 (0:00:00.055) 0:01:03.419 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:30:57 +0000 (0:00:00.042) 0:01:03.461 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012095", "end": "2023-11-30 18:30:58.115496", "rc": 0, "start": "2023-11-30 18:30:58.103401" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:30:58 +0000 (0:00:00.231) 0:01:03.693 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:30:58 +0000 (0:00:00.048) 0:01:03.742 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:30:58 +0000 (0:00:00.036) 0:01:03.778 ***** 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-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:30:58 +0000 (0:00:00.039) 0:01:03.817 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=138 changed=7 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Thursday 30 November 2023 18:30:58 +0000 (0:00:00.074) 0:01:03.892 ***** =============================================================================== Install iproute --------------------------------------------------------- 7.87s /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.70s /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.57s /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Install packages -------------------- 2.92s /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /WORKDIR/git-code_refactoryf2pishp/.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.80s /WORKDIR/git-code_refactoryf2pishp/.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.75s /WORKDIR/git-code_refactoryf2pishp/.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.75s /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 1.47s /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.46s /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.46s /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /WORKDIR/git-code_refactoryf2pishp/.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-code_refactoryf2pishp/.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.29s /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create EPEL 8 ----------------------------------------------------------- 0.93s /WORKDIR/git-code_refactoryf2pishp/tests/tasks/enable_epel.yml:8 -------------- fedora.linux_system_roles.network : Enable network service -------------- 0.93s /WORKDIR/git-code_refactoryf2pishp/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Gathering Facts --------------------------------------------------------- 0.85s /WORKDIR/git-code_refactoryf2pishp/tests/tests_auto_gateway_initscripts.yml:4 - Create veth interface veth0 --------------------------------------------- 0.68s /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:23 Create veth interface veth0 --------------------------------------------- 0.66s /WORKDIR/git-code_refactoryf2pishp/tests/playbooks/tasks/manage_test_interface.yml:23 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---