# 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_refactorxe4y80ch/.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_refactorxe4y80ch/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_refactorxe4y80ch/tests/tests_auto_gateway_initscripts.yml:4 Thursday 30 November 2023 18:29:17 +0000 (0:00:00.018) 0:00:00.018 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactorxe4y80ch/tests/tests_auto_gateway_initscripts.yml:8 Thursday 30 November 2023 18:29:18 +0000 (0:00:00.938) 0:00:00.956 ***** included: /WORKDIR/git-code_refactorxe4y80ch/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_refactorxe4y80ch/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 18:29:18 +0000 (0:00:00.014) 0:00:00.971 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/tasks/el_repo_setup.yml:17 Thursday 30 November 2023 18:29:19 +0000 (0:00:00.373) 0:00:01.344 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/tasks/el_repo_setup.yml:22 Thursday 30 November 2023 18:29:19 +0000 (0:00:00.276) 0:00:01.620 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/tasks/el_repo_setup.yml:26 Thursday 30 November 2023 18:29:19 +0000 (0:00:00.020) 0:00:01.641 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/tasks/el_repo_setup.yml:51 Thursday 30 November 2023 18:29:19 +0000 (0:00:00.013) 0:00:01.654 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 18:29:19 +0000 (0:00:00.027) 0:00:01.682 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 18:29:19 +0000 (0:00:00.283) 0:00:01.965 ***** 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_refactorxe4y80ch/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 18:29:19 +0000 (0:00:00.015) 0:00:01.981 ***** 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_refactorxe4y80ch/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 18:29:19 +0000 (0:00:00.020) 0:00:02.001 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.243711", "end": "2023-11-30 18:29:20.130280", "rc": 0, "start": "2023-11-30 18:29:19.886569" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 18:29:20 +0000 (0:00:00.442) 0:00:02.444 ***** 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_refactorxe4y80ch/tests/tests_auto_gateway_initscripts.yml:10 Thursday 30 November 2023 18:29:20 +0000 (0:00:00.011) 0:00:02.455 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:3 Thursday 30 November 2023 18:29:20 +0000 (0:00:00.029) 0:00:02.484 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:9 Thursday 30 November 2023 18:29:20 +0000 (0:00:00.707) 0:00:03.191 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:29:20 +0000 (0:00:00.060) 0:00:03.252 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:29:20 +0000 (0:00:00.030) 0:00:03.283 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003439", "end": "2023-11-30 18:29:21.182546", "rc": 0, "start": "2023-11-30 18:29:21.179107" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:29:21 +0000 (0:00:00.212) 0:00:03.496 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:29:21 +0000 (0:00:00.027) 0:00:03.523 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:11 Thursday 30 November 2023 18:29:21 +0000 (0:00:00.031) 0:00:03.554 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:29:21 +0000 (0:00:00.052) 0:00:03.607 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:29:21 +0000 (0:00:00.025) 0:00:03.633 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:29:21 +0000 (0:00:00.024) 0:00:03.658 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:29:21 +0000 (0:00:00.034) 0:00:03.692 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:29:21 +0000 (0:00:00.031) 0:00:03.723 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003305", "end": "2023-11-30 18:29:21.617933", "rc": 0, "start": "2023-11-30 18:29:21.614628" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:29:21 +0000 (0:00:00.208) 0:00:03.932 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:29:21 +0000 (0:00:00.030) 0:00:03.962 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:29:21 +0000 (0:00:00.034) 0:00:03.996 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:29:25 +0000 (0:00:03.603) 0:00:07.600 ***** 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.020678", "end": "2023-11-30 18:29:25.525033", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-30 18:29:25.504355" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004076", "end": "2023-11-30 18:29:25.750076", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-30 18:29:25.746000" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004376", "end": "2023-11-30 18:29:25.938691", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-30 18:29:25.934315" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:29:25 +0000 (0:00:00.652) 0:00:08.253 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.118506", "end": "2023-11-30 18:29:26.264634", "rc": 0, "start": "2023-11-30 18:29:26.146128" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:29:26 +0000 (0:00:00.326) 0:00:08.579 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:29:26 +0000 (0:00:00.022) 0:00:08.601 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:29:26 +0000 (0:00:00.023) 0:00:08.625 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:29:26 +0000 (0:00:00.022) 0:00:08.647 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:29:26 +0000 (0:00:00.023) 0:00:08.671 ***** 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_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:15 Thursday 30 November 2023 18:29:26 +0000 (0:00:00.027) 0:00:08.699 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:29:26 +0000 (0:00:00.050) 0:00:08.749 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:29:26 +0000 (0:00:00.027) 0:00:08.776 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701368965.5150456, "block_size": 4096, "blocks": 0, "ctime": 1701368965.5150456, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21683, "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": 1701368965.5150456, "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_refactorxe4y80ch/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:29:26 +0000 (0:00:00.210) 0:00:08.987 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:17 Thursday 30 November 2023 18:29:26 +0000 (0:00:00.031) 0:00:09.019 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:29:26 +0000 (0:00:00.029) 0:00:09.049 ***** included: /WORKDIR/git-code_refactorxe4y80ch/.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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:29:26 +0000 (0:00:00.046) 0:00:09.095 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:29:26 +0000 (0:00:00.029) 0:00:09.124 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:29:26 +0000 (0:00:00.032) 0:00:09.157 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:29:26 +0000 (0:00:00.032) 0:00:09.190 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:29:29 +0000 (0:00:02.128) 0:00:11.318 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:29:30 +0000 (0:00:01.948) 0:00:13.267 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:29:31 +0000 (0:00:00.038) 0:00:13.306 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:29:31 +0000 (0:00:00.034) 0:00:13.340 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:29:31 +0000 (0:00:00.038) 0:00:13.379 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:29:37 +0000 (0:00:06.568) 0:00:19.947 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:29:37 +0000 (0:00:00.046) 0:00:19.994 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:29:37 +0000 (0:00:00.077) 0:00:20.071 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:29:37 +0000 (0:00:00.057) 0:00:20.129 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:29:37 +0000 (0:00:00.057) 0:00:20.187 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:29:37 +0000 (0:00:00.049) 0:00:20.236 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:29:38 +0000 (0:00:00.965) 0:00:21.202 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2306s7ln2t59/tmpfhsaz89s" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:29:39 +0000 (0:00:00.326) 0:00:21.528 ***** 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\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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:29:47 +0000 (0:00:07.851) 0:00:29.379 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:29:47 +0000 (0:00:00.043) 0:00:29.422 ***** 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\\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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:29:47 +0000 (0:00:00.048) 0:00:29.470 ***** 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\\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\\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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:29:47 +0000 (0:00:00.043) 0:00:29.514 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:29:47 +0000 (0:00:00.048) 0:00:29.563 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:42 Thursday 30 November 2023 18:29:47 +0000 (0:00:00.377) 0:00:29.940 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:29:47 +0000 (0:00:00.081) 0:00:30.022 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:29:47 +0000 (0:00:00.054) 0:00:30.077 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701368965.5150456, "block_size": 4096, "blocks": 0, "ctime": 1701368965.5150456, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21683, "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": 1701368965.5150456, "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_refactorxe4y80ch/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:29:48 +0000 (0:00:00.297) 0:00:30.375 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:44 Thursday 30 November 2023 18:29:48 +0000 (0:00:00.047) 0:00:30.423 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 18:29:48 +0000 (0:00:00.077) 0:00:30.500 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:29:48 +0000 (0:00:00.057) 0:00:30.557 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:29:48 +0000 (0:00:00.047) 0:00:30.605 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701368979.7331657, "block_size": 4096, "blocks": 8, "ctime": 1701368979.7121656, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2965171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701368979.7121656, "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_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:29:48 +0000 (0:00:00.224) 0:00:30.830 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:29:48 +0000 (0:00:00.048) 0:00:30.878 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021386", "end": "2023-11-30 18:29:48.797293", "rc": 1, "start": "2023-11-30 18:29:48.775907" } 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_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:29:48 +0000 (0:00:00.246) 0:00:31.125 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:29:48 +0000 (0:00:00.050) 0:00:31.175 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003194", "end": "2023-11-30 18:29:49.077305", "rc": 0, "start": "2023-11-30 18:29:49.074111" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:29:49 +0000 (0:00:00.228) 0:00:31.404 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:29:49 +0000 (0:00:00.048) 0:00:31.453 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003307", "end": "2023-11-30 18:29:49.358066", "rc": 0, "start": "2023-11-30 18:29:49.354759" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:29:49 +0000 (0:00:00.234) 0:00:31.687 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 18:29:49 +0000 (0:00:00.065) 0:00:31.753 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 18:29:49 +0000 (0:00:00.052) 0:00:31.805 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 18:29:49 +0000 (0:00:00.086) 0:00:31.892 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:48 Thursday 30 November 2023 18:29:49 +0000 (0:00:00.048) 0:00:31.941 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003821", "end": "2023-11-30 18:29:49.837925", "rc": 0, "start": "2023-11-30 18:29:49.834104" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.96 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.45.96 metric 100 169.254.0.0/16 dev veth0 scope link metric 1004 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:52 Thursday 30 November 2023 18:29:49 +0000 (0:00:00.222) 0:00:32.163 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:58 Thursday 30 November 2023 18:29:49 +0000 (0:00:00.045) 0:00:32.209 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004346", "end": "2023-11-30 18:29:50.111889", "rc": 0, "start": "2023-11-30 18:29:50.107543" } 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_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:62 Thursday 30 November 2023 18:29:50 +0000 (0:00:00.227) 0:00:32.437 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:69 Thursday 30 November 2023 18:29:50 +0000 (0:00:00.037) 0:00:32.475 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:29:50 +0000 (0:00:00.048) 0:00:32.523 ***** included: /WORKDIR/git-code_refactorxe4y80ch/.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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:29:50 +0000 (0:00:00.076) 0:00:32.600 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:29:50 +0000 (0:00:00.062) 0:00:32.662 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:29:50 +0000 (0:00:00.053) 0:00:32.716 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:29:50 +0000 (0:00:00.049) 0:00:32.766 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:29:52 +0000 (0:00:01.659) 0:00:34.425 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:29:53 +0000 (0:00:01.424) 0:00:35.850 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:29:53 +0000 (0:00:00.085) 0:00:35.935 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:29:53 +0000 (0:00:00.046) 0:00:35.982 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:29:53 +0000 (0:00:00.049) 0:00:36.031 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:29:53 +0000 (0:00:00.088) 0:00:36.120 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:29:53 +0000 (0:00:00.043) 0:00:36.164 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:29:53 +0000 (0:00:00.046) 0:00:36.210 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:29:53 +0000 (0:00:00.061) 0:00:36.272 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:29:54 +0000 (0:00:00.049) 0:00:36.322 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:29:54 +0000 (0:00:00.047) 0:00:36.369 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:29:54 +0000 (0:00:00.415) 0:00:36.784 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2306s7ln2t59/tmp5kzyib3u" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:29:54 +0000 (0:00:00.347) 0:00:37.132 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:29:55 +0000 (0:00:00.486) 0:00:37.618 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:29:55 +0000 (0:00:00.042) 0:00:37.660 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:29:55 +0000 (0:00:00.046) 0:00:37.707 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:29:55 +0000 (0:00:00.045) 0:00:37.753 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:29:55 +0000 (0:00:00.049) 0:00:37.802 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:81 Thursday 30 November 2023 18:29:55 +0000 (0:00:00.280) 0:00:38.083 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:29:55 +0000 (0:00:00.105) 0:00:38.188 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:29:55 +0000 (0:00:00.047) 0:00:38.235 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:29:55 +0000 (0:00:00.056) 0:00:38.292 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:29:56 +0000 (0:00:00.058) 0:00:38.350 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:29:56 +0000 (0:00:00.061) 0:00:38.412 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003488", "end": "2023-11-30 18:29:56.313408", "rc": 0, "start": "2023-11-30 18:29:56.309920" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:29:56 +0000 (0:00:00.229) 0:00:38.641 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:29:56 +0000 (0:00:00.042) 0:00:38.684 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:29:56 +0000 (0:00:00.061) 0:00:38.746 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:29:59 +0000 (0:00:02.981) 0:00:41.727 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:29:59 +0000 (0:00:00.062) 0:00:41.789 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:29:59 +0000 (0:00:00.043) 0:00:41.832 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011034", "end": "2023-11-30 18:29:59.747052", "rc": 0, "start": "2023-11-30 18:29:59.736018" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:29:59 +0000 (0:00:00.249) 0:00:42.081 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:29:59 +0000 (0:00:00.085) 0:00:42.166 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:29:59 +0000 (0:00:00.049) 0:00:42.216 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:29:59 +0000 (0:00:00.057) 0:00:42.274 ***** 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_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:85 Thursday 30 November 2023 18:30:00 +0000 (0:00:00.048) 0:00:42.322 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:89 Thursday 30 November 2023 18:30:00 +0000 (0:00:00.059) 0:00:42.382 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:30:00 +0000 (0:00:00.121) 0:00:42.503 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:30:00 +0000 (0:00:00.077) 0:00:42.581 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:30:00 +0000 (0:00:00.056) 0:00:42.638 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:30:00 +0000 (0:00:00.073) 0:00:42.712 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:30:00 +0000 (0:00:00.076) 0:00:42.789 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003831", "end": "2023-11-30 18:30:00.691382", "rc": 0, "start": "2023-11-30 18:30:00.687551" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:30:00 +0000 (0:00:00.232) 0:00:43.021 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:30:00 +0000 (0:00:00.046) 0:00:43.068 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:30:00 +0000 (0:00:00.048) 0:00:43.116 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:30:03 +0000 (0:00:03.012) 0:00:46.129 ***** 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.012317", "end": "2023-11-30 18:30:04.041035", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-30 18:30:04.028718" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004315", "end": "2023-11-30 18:30:04.322385", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-30 18:30:04.318070" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004532", "end": "2023-11-30 18:30:04.514731", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-30 18:30:04.510199" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:30:04 +0000 (0:00:00.753) 0:00:46.883 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022669", "end": "2023-11-30 18:30:04.803118", "rc": 0, "start": "2023-11-30 18:30:04.780449" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:30:04 +0000 (0:00:00.250) 0:00:47.134 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:30:04 +0000 (0:00:00.038) 0:00:47.172 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:30:04 +0000 (0:00:00.038) 0:00:47.210 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:30:04 +0000 (0:00:00.039) 0:00:47.249 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:30:04 +0000 (0:00:00.035) 0:00:47.285 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:30:05 +0000 (0:00:00.038) 0:00:47.324 ***** included: /WORKDIR/git-code_refactorxe4y80ch/.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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:30:05 +0000 (0:00:00.060) 0:00:47.384 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:30:05 +0000 (0:00:00.043) 0:00:47.428 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:30:05 +0000 (0:00:00.041) 0:00:47.469 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:30:05 +0000 (0:00:00.040) 0:00:47.510 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:30:06 +0000 (0:00:01.665) 0:00:49.175 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:30:08 +0000 (0:00:01.393) 0:00:50.568 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:30:08 +0000 (0:00:00.094) 0:00:50.663 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:30:08 +0000 (0:00:00.050) 0:00:50.713 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:30:08 +0000 (0:00:00.044) 0:00:50.757 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:30:08 +0000 (0:00:00.096) 0:00:50.853 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:30:08 +0000 (0:00:00.040) 0:00:50.894 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:30:08 +0000 (0:00:00.036) 0:00:50.930 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:30:08 +0000 (0:00:00.043) 0:00:50.974 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:30:08 +0000 (0:00:00.039) 0:00:51.013 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:30:08 +0000 (0:00:00.033) 0:00:51.047 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:30:09 +0000 (0:00:00.416) 0:00:51.464 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2306s7ln2t59/tmptm80d5gi" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:30:09 +0000 (0:00:00.346) 0:00:51.810 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:30:16 +0000 (0:00:06.581) 0:00:58.391 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:30:16 +0000 (0:00:00.051) 0:00:58.443 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:30:16 +0000 (0:00:00.043) 0:00:58.486 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:30:16 +0000 (0:00:00.049) 0:00:58.536 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:30:16 +0000 (0:00:00.055) 0:00:58.592 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:110 Thursday 30 November 2023 18:30:16 +0000 (0:00:00.283) 0:00:58.875 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:30:16 +0000 (0:00:00.081) 0:00:58.956 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:30:16 +0000 (0:00:00.053) 0:00:59.009 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369004.032885, "block_size": 4096, "blocks": 0, "ctime": 1701369004.032885, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22269, "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": 1701369004.032885, "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_refactorxe4y80ch/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:30:16 +0000 (0:00:00.218) 0:00:59.228 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:112 Thursday 30 November 2023 18:30:16 +0000 (0:00:00.048) 0:00:59.276 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 18:30:17 +0000 (0:00:00.092) 0:00:59.369 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:30:17 +0000 (0:00:00.080) 0:00:59.449 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:30:17 +0000 (0:00:00.049) 0:00:59.498 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369009.8506136, "block_size": 4096, "blocks": 8, "ctime": 1701369009.8296132, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2965171, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701369009.8296132, "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_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:30:17 +0000 (0:00:00.225) 0:00:59.724 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:30:17 +0000 (0:00:00.038) 0:00:59.762 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021473", "end": "2023-11-30 18:30:17.676312", "rc": 1, "start": "2023-11-30 18:30:17.654839" } 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_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:30:17 +0000 (0:00:00.240) 0:01:00.003 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:30:17 +0000 (0:00:00.071) 0:01:00.074 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003371", "end": "2023-11-30 18:30:17.971746", "rc": 0, "start": "2023-11-30 18:30:17.968375" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:30:18 +0000 (0:00:00.225) 0:01:00.300 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:30:18 +0000 (0:00:00.044) 0:01:00.344 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003429", "end": "2023-11-30 18:30:18.242609", "rc": 0, "start": "2023-11-30 18:30:18.239180" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:30:18 +0000 (0:00:00.234) 0:01:00.579 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 18:30:18 +0000 (0:00:00.039) 0:01:00.618 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 18:30:18 +0000 (0:00:00.040) 0:01:00.659 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 18:30:18 +0000 (0:00:00.041) 0:01:00.700 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:116 Thursday 30 November 2023 18:30:18 +0000 (0:00:00.038) 0:01:00.738 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004104", "end": "2023-11-30 18:30:18.635354", "rc": 0, "start": "2023-11-30 18:30:18.631250" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.96 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.96 metric 100 169.254.0.0/16 dev veth0 scope link metric 1006 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:120 Thursday 30 November 2023 18:30:18 +0000 (0:00:00.224) 0:01:00.963 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:126 Thursday 30 November 2023 18:30:18 +0000 (0:00:00.044) 0:01:01.007 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004334", "end": "2023-11-30 18:30:18.902766", "rc": 0, "start": "2023-11-30 18:30:18.898432" } 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_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:130 Thursday 30 November 2023 18:30:18 +0000 (0:00:00.222) 0:01:01.230 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:137 Thursday 30 November 2023 18:30:18 +0000 (0:00:00.048) 0:01:01.278 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:30:19 +0000 (0:00:00.047) 0:01:01.326 ***** included: /WORKDIR/git-code_refactorxe4y80ch/.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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:30:19 +0000 (0:00:00.073) 0:01:01.399 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:30:19 +0000 (0:00:00.045) 0:01:01.445 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:30:19 +0000 (0:00:00.036) 0:01:01.481 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:30:19 +0000 (0:00:00.093) 0:01:01.575 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:30:20 +0000 (0:00:01.709) 0:01:03.284 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:30:22 +0000 (0:00:01.367) 0:01:04.652 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:30:22 +0000 (0:00:00.052) 0:01:04.705 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:30:22 +0000 (0:00:00.046) 0:01:04.751 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:30:22 +0000 (0:00:00.045) 0:01:04.796 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:30:22 +0000 (0:00:00.077) 0:01:04.874 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:30:22 +0000 (0:00:00.038) 0:01:04.912 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:30:22 +0000 (0:00:00.049) 0:01:04.962 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:30:22 +0000 (0:00:00.044) 0:01:05.006 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:30:22 +0000 (0:00:00.036) 0:01:05.042 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:30:22 +0000 (0:00:00.034) 0:01:05.076 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:30:23 +0000 (0:00:00.418) 0:01:05.495 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2306s7ln2t59/tmpa50rjz40" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:30:23 +0000 (0:00:00.331) 0:01:05.826 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.530) 0:01:06.357 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.035) 0:01:06.393 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.035) 0:01:06.428 ***** 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_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.036) 0:01:06.464 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.038) 0:01:06.502 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:149 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.227) 0:01:06.730 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.079) 0:01:06.809 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.049) 0:01:06.858 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.047) 0:01:06.905 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.075) 0:01:06.980 ***** included: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.059) 0:01:07.040 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003730", "end": "2023-11-30 18:30:24.939580", "rc": 0, "start": "2023-11-30 18:30:24.935850" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:30:24 +0000 (0:00:00.224) 0:01:07.265 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:30:25 +0000 (0:00:00.091) 0:01:07.357 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:30:25 +0000 (0:00:00.037) 0:01:07.395 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:30:28 +0000 (0:00:02.978) 0:01:10.373 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:30:28 +0000 (0:00:00.063) 0:01:10.437 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:30:28 +0000 (0:00:00.039) 0:01:10.476 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012813", "end": "2023-11-30 18:30:28.382351", "rc": 0, "start": "2023-11-30 18:30:28.369538" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:30:28 +0000 (0:00:00.235) 0:01:10.712 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:30:28 +0000 (0:00:00.050) 0:01:10.762 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:30:28 +0000 (0:00:00.041) 0:01:10.803 ***** 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_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:30:28 +0000 (0:00:00.038) 0:01:10.842 ***** 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=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Thursday 30 November 2023 18:30:28 +0000 (0:00:00.075) 0:01:10.917 ***** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 7.85s /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.58s /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Install packages -------------------- 6.57s /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install iproute --------------------------------------------------------- 3.60s /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.01s /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.98s /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.98s /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.13s /WORKDIR/git-code_refactorxe4y80ch/.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.95s /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /WORKDIR/git-code_refactorxe4y80ch/.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.67s /WORKDIR/git-code_refactorxe4y80ch/.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.66s /WORKDIR/git-code_refactorxe4y80ch/.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.42s /WORKDIR/git-code_refactorxe4y80ch/.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.39s /WORKDIR/git-code_refactorxe4y80ch/.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.37s /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 0.97s /WORKDIR/git-code_refactorxe4y80ch/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Gathering Facts --------------------------------------------------------- 0.94s /WORKDIR/git-code_refactorxe4y80ch/tests/tests_auto_gateway_initscripts.yml:4 - Create veth interface veth0 --------------------------------------------- 0.75s /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-code_refactorxe4y80ch/tests/playbooks/tests_auto_gateway.yml:3 --- Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-code_refactorxe4y80ch/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. ---^---^---^---^---^---