# 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_refactortccg8ujs/.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_refactortccg8ujs/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_refactortccg8ujs/tests/tests_auto_gateway_initscripts.yml:4 Thursday 30 November 2023 17:00:35 +0000 (0:00:00.015) 0:00:00.015 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactortccg8ujs/tests/tests_auto_gateway_initscripts.yml:8 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.879) 0:00:00.895 ***** included: /WORKDIR/git-code_refactortccg8ujs/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_refactortccg8ujs/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 17:00:36 +0000 (0:00:00.024) 0:00:00.919 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/el_repo_setup.yml:17 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.407) 0:00:01.326 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/el_repo_setup.yml:22 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.318) 0:00:01.644 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/el_repo_setup.yml:26 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.022) 0:00:01.667 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/el_repo_setup.yml:51 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.012) 0:00:01.679 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 17:00:37 +0000 (0:00:00.034) 0:00:01.714 ***** changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:00.656336", "end": "2023-11-30 17:00:38.492468", "rc": 0, "start": "2023-11-30 17:00:37.836132" } STDOUT: Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Verifying packages... Preparing packages... epel-release-8-19.el8.noarch Many EPEL packages require the CodeReady Builder (CRB) repository. It is recommended that you run /usr/bin/crb enable to enable the CRB repository. TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 17:00:38 +0000 (0:00:00.961) 0:00:02.676 ***** 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_refactortccg8ujs/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 17:00:38 +0000 (0:00:00.013) 0:00:02.689 ***** 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_refactortccg8ujs/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 17:00:38 +0000 (0:00:00.012) 0:00:02.701 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.394749", "end": "2023-11-30 17:00:39.112391", "rc": 0, "start": "2023-11-30 17:00:38.717642" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.590) 0:00:03.292 ***** 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_refactortccg8ujs/tests/tests_auto_gateway_initscripts.yml:10 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.013) 0:00:03.305 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:3 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.030) 0:00:03.336 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:9 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.674) 0:00:04.011 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.040) 0:00:04.051 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:00:39 +0000 (0:00:00.024) 0:00:04.075 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003685", "end": "2023-11-30 17:00:40.102726", "rc": 0, "start": "2023-11-30 17:00:40.099041" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.206) 0:00:04.282 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.029) 0:00:04.311 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:11 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.023) 0:00:04.334 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.046) 0:00:04.380 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.022) 0:00:04.403 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.023) 0:00:04.427 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.026) 0:00:04.453 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.028) 0:00:04.481 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003742", "end": "2023-11-30 17:00:40.507988", "rc": 0, "start": "2023-11-30 17:00:40.504246" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.205) 0:00:04.686 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.023) 0:00:04.710 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 17:00:40 +0000 (0:00:00.022) 0:00:04.732 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 17:00:48 +0000 (0:00:08.226) 0:00:12.959 ***** 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.112517", "end": "2023-11-30 17:00:49.096491", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-30 17:00:48.983974" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.007411", "end": "2023-11-30 17:00:49.335435", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-30 17:00:49.328024" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007193", "end": "2023-11-30 17:00:49.526056", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-30 17:00:49.518863" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 17:00:49 +0000 (0:00:00.747) 0:00:13.706 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.063511", "end": "2023-11-30 17:00:49.794100", "rc": 0, "start": "2023-11-30 17:00:49.730589" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 17:00:49 +0000 (0:00:00.267) 0:00:13.974 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 17:00:49 +0000 (0:00:00.024) 0:00:13.999 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 17:00:49 +0000 (0:00:00.026) 0:00:14.026 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 17:00:49 +0000 (0:00:00.022) 0:00:14.048 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 17:00:49 +0000 (0:00:00.022) 0:00:14.071 ***** 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_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:15 Thursday 30 November 2023 17:00:49 +0000 (0:00:00.022) 0:00:14.093 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 17:00:49 +0000 (0:00:00.048) 0:00:14.142 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.029) 0:00:14.171 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363649.0950274, "block_size": 4096, "blocks": 0, "ctime": 1701363649.0950274, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21836, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1701363649.0950274, "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_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.203) 0:00:14.375 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:17 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.024) 0:00:14.400 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.023) 0:00:14.424 ***** included: /WORKDIR/git-code_refactortccg8ujs/.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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.034) 0:00:14.458 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.023) 0:00:14.482 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.025) 0:00:14.507 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 17:00:50 +0000 (0:00:00.025) 0:00:14.533 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 17:00:52 +0000 (0:00:01.781) 0:00:16.314 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 17:00:53 +0000 (0:00:01.542) 0:00:17.857 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 17:00:53 +0000 (0:00:00.043) 0:00:17.901 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 17:00:53 +0000 (0:00:00.038) 0:00:17.940 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 17:00:53 +0000 (0:00:00.048) 0:00:17.988 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.18-1.el8.x86_64", "Installed: network-scripts-team-1.31-4.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 17:00:56 +0000 (0:00:03.011) 0:00:20.999 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 17:00:56 +0000 (0:00:00.055) 0:00:21.055 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 17:00:56 +0000 (0:00:00.045) 0:00:21.101 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 17:00:56 +0000 (0:00:00.045) 0:00:21.146 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 17:00:57 +0000 (0:00:00.036) 0:00:21.182 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 17:00:57 +0000 (0:00:00.034) 0:00:21.217 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.987) 0:00:22.204 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2313acpgmnzk/tmp3r4zgix3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.336) 0:00:22.541 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 17:01:05 +0000 (0:00:06.734) 0:00:29.275 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 17:01:05 +0000 (0:00:00.039) 0:00:29.314 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 17:01:05 +0000 (0:00:00.039) 0:00:29.354 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 17:01:05 +0000 (0:00:00.036) 0:00:29.390 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 17:01:05 +0000 (0:00:00.037) 0:00:29.428 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:42 Thursday 30 November 2023 17:01:05 +0000 (0:00:00.342) 0:00:29.770 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 17:01:05 +0000 (0:00:00.066) 0:00:29.836 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 17:01:05 +0000 (0:00:00.081) 0:00:29.918 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363649.0950274, "block_size": 4096, "blocks": 0, "ctime": 1701363649.0950274, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21836, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1701363649.0950274, "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_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 17:01:05 +0000 (0:00:00.216) 0:00:30.134 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:44 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.037) 0:00:30.171 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.067) 0:00:30.239 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.050) 0:00:30.290 ***** 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_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.035) 0:00:30.325 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363658.8557801, "block_size": 4096, "blocks": 8, "ctime": 1701363658.8347807, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701363658.8347807, "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_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.213) 0:00:30.539 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.038) 0:00:30.578 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021799", "end": "2023-11-30 17:01:06.631737", "rc": 1, "start": "2023-11-30 17:01:06.609938" } 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_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.250) 0:00:30.829 ***** 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_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.035) 0:00:30.864 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003479", "end": "2023-11-30 17:01:06.895451", "rc": 0, "start": "2023-11-30 17:01:06.891972" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.234) 0:00:31.099 ***** 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_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 17:01:07 +0000 (0:00:00.063) 0:00:31.162 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003524", "end": "2023-11-30 17:01:07.195210", "rc": 0, "start": "2023-11-30 17:01:07.191686" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 17:01:07 +0000 (0:00:00.223) 0:00:31.385 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 17:01:07 +0000 (0:00:00.041) 0:00:31.427 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 17:01:07 +0000 (0:00:00.076) 0:00:31.503 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 17:01:07 +0000 (0:00:00.038) 0:00:31.542 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:48 Thursday 30 November 2023 17:01:07 +0000 (0:00:00.038) 0:00:31.580 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003891", "end": "2023-11-30 17:01:07.612790", "rc": 0, "start": "2023-11-30 17:01:07.608899" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.136 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.47.136 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:52 Thursday 30 November 2023 17:01:07 +0000 (0:00:00.234) 0:00:31.815 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:58 Thursday 30 November 2023 17:01:07 +0000 (0:00:00.048) 0:00:31.863 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004113", "end": "2023-11-30 17:01:07.892973", "rc": 0, "start": "2023-11-30 17:01:07.888860" } 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_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:62 Thursday 30 November 2023 17:01:07 +0000 (0:00:00.236) 0:00:32.100 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:69 Thursday 30 November 2023 17:01:07 +0000 (0:00:00.052) 0:00:32.152 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 17:01:08 +0000 (0:00:00.056) 0:00:32.209 ***** included: /WORKDIR/git-code_refactortccg8ujs/.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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:01:08 +0000 (0:00:00.074) 0:00:32.283 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 17:01:08 +0000 (0:00:00.047) 0:00:32.330 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 17:01:08 +0000 (0:00:00.053) 0:00:32.384 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 17:01:08 +0000 (0:00:00.053) 0:00:32.437 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 17:01:10 +0000 (0:00:01.789) 0:00:34.226 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 17:01:11 +0000 (0:00:01.386) 0:00:35.613 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.047) 0:00:35.660 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.042) 0:00:35.703 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.049) 0:00:35.752 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.068) 0:00:35.821 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.041) 0:00:35.862 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.061) 0:00:35.924 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.053) 0:00:35.977 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.045) 0:00:36.023 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.042) 0:00:36.065 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 17:01:12 +0000 (0:00:00.418) 0:00:36.483 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2313acpgmnzk/tmp_4lhgzih" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 17:01:12 +0000 (0:00:00.332) 0:00:36.816 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 17:01:13 +0000 (0:00:00.488) 0:00:37.304 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 17:01:13 +0000 (0:00:00.053) 0:00:37.358 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 17:01:13 +0000 (0:00:00.053) 0:00:37.411 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 17:01:13 +0000 (0:00:00.047) 0:00:37.458 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 17:01:13 +0000 (0:00:00.077) 0:00:37.536 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:81 Thursday 30 November 2023 17:01:13 +0000 (0:00:00.228) 0:00:37.765 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 17:01:13 +0000 (0:00:00.070) 0:00:37.835 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 17:01:13 +0000 (0:00:00.038) 0:00:37.873 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 17:01:13 +0000 (0:00:00.037) 0:00:37.910 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:01:13 +0000 (0:00:00.049) 0:00:37.960 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:01:13 +0000 (0:00:00.049) 0:00:38.010 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003529", "end": "2023-11-30 17:01:14.046568", "rc": 0, "start": "2023-11-30 17:01:14.043039" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:01:14 +0000 (0:00:00.227) 0:00:38.237 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:01:14 +0000 (0:00:00.038) 0:00:38.276 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 17:01:14 +0000 (0:00:00.049) 0:00:38.325 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 17:01:15 +0000 (0:00:01.459) 0:00:39.784 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 17:01:15 +0000 (0:00:00.058) 0:00:39.843 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 17:01:15 +0000 (0:00:00.037) 0:00:39.880 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013923", "end": "2023-11-30 17:01:15.926046", "rc": 0, "start": "2023-11-30 17:01:15.912123" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.282) 0:00:40.162 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.049) 0:00:40.212 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.054) 0:00:40.266 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.050) 0:00:40.316 ***** 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_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:85 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.051) 0:00:40.367 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:89 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.043) 0:00:40.411 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.080) 0:00:40.491 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.042) 0:00:40.533 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.048) 0:00:40.582 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.094) 0:00:40.677 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.075) 0:00:40.752 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003560", "end": "2023-11-30 17:01:16.787890", "rc": 0, "start": "2023-11-30 17:01:16.784330" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.228) 0:00:40.981 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.046) 0:00:41.027 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.084) 0:00:41.111 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 17:01:18 +0000 (0:00:01.487) 0:00:42.598 ***** 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.013845", "end": "2023-11-30 17:01:18.652858", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-30 17:01:18.639013" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.007710", "end": "2023-11-30 17:01:18.883023", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-30 17:01:18.875313" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007456", "end": "2023-11-30 17:01:19.075752", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-30 17:01:19.068296" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 17:01:19 +0000 (0:00:00.670) 0:00:43.269 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023220", "end": "2023-11-30 17:01:19.317328", "rc": 0, "start": "2023-11-30 17:01:19.294108" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 17:01:19 +0000 (0:00:00.244) 0:00:43.513 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 17:01:19 +0000 (0:00:00.035) 0:00:43.548 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 17:01:19 +0000 (0:00:00.038) 0:00:43.586 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 17:01:19 +0000 (0:00:00.043) 0:00:43.630 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 17:01:19 +0000 (0:00:00.037) 0:00:43.668 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 17:01:19 +0000 (0:00:00.039) 0:00:43.708 ***** included: /WORKDIR/git-code_refactortccg8ujs/.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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:01:19 +0000 (0:00:00.071) 0:00:43.780 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 17:01:19 +0000 (0:00:00.048) 0:00:43.828 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 17:01:19 +0000 (0:00:00.038) 0:00:43.866 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 17:01:19 +0000 (0:00:00.038) 0:00:43.904 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 17:01:22 +0000 (0:00:02.723) 0:00:46.628 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 17:01:23 +0000 (0:00:01.374) 0:00:48.002 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 17:01:23 +0000 (0:00:00.045) 0:00:48.048 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 17:01:23 +0000 (0:00:00.038) 0:00:48.086 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 17:01:23 +0000 (0:00:00.039) 0:00:48.126 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 17:01:24 +0000 (0:00:00.069) 0:00:48.196 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 17:01:24 +0000 (0:00:00.037) 0:00:48.233 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 17:01:24 +0000 (0:00:00.040) 0:00:48.273 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 17:01:24 +0000 (0:00:00.045) 0:00:48.319 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 17:01:24 +0000 (0:00:00.041) 0:00:48.360 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 17:01:24 +0000 (0:00:00.042) 0:00:48.403 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 17:01:24 +0000 (0:00:00.418) 0:00:48.821 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2313acpgmnzk/tmpnz3t8xe6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 17:01:24 +0000 (0:00:00.328) 0:00:49.149 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 17:01:31 +0000 (0:00:06.548) 0:00:55.698 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 17:01:31 +0000 (0:00:00.046) 0:00:55.744 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 17:01:31 +0000 (0:00:00.042) 0:00:55.787 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 17:01:31 +0000 (0:00:00.054) 0:00:55.841 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 17:01:31 +0000 (0:00:00.140) 0:00:55.982 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:110 Thursday 30 November 2023 17:01:32 +0000 (0:00:00.242) 0:00:56.224 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 17:01:32 +0000 (0:00:00.094) 0:00:56.319 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 17:01:32 +0000 (0:00:00.055) 0:00:56.374 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363678.6430469, "block_size": 4096, "blocks": 0, "ctime": 1701363678.6430469, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1701363678.6430469, "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_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 17:01:32 +0000 (0:00:00.219) 0:00:56.594 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:112 Thursday 30 November 2023 17:01:32 +0000 (0:00:00.038) 0:00:56.632 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 17:01:32 +0000 (0:00:00.070) 0:00:56.702 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 17:01:32 +0000 (0:00:00.057) 0:00:56.760 ***** 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_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 17:01:32 +0000 (0:00:00.035) 0:00:56.795 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363685.2970395, "block_size": 4096, "blocks": 8, "ctime": 1701363685.27604, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701363685.27604, "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_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 17:01:32 +0000 (0:00:00.224) 0:00:57.019 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 17:01:32 +0000 (0:00:00.072) 0:00:57.091 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022163", "end": "2023-11-30 17:01:33.141071", "rc": 1, "start": "2023-11-30 17:01:33.118908" } 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_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 17:01:33 +0000 (0:00:00.238) 0:00:57.330 ***** 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_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 17:01:33 +0000 (0:00:00.035) 0:00:57.365 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003327", "end": "2023-11-30 17:01:33.394088", "rc": 0, "start": "2023-11-30 17:01:33.390761" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 17:01:33 +0000 (0:00:00.220) 0:00:57.586 ***** 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_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 17:01:33 +0000 (0:00:00.042) 0:00:57.629 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003632", "end": "2023-11-30 17:01:33.657980", "rc": 0, "start": "2023-11-30 17:01:33.654348" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 17:01:33 +0000 (0:00:00.234) 0:00:57.863 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 17:01:33 +0000 (0:00:00.051) 0:00:57.915 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 17:01:33 +0000 (0:00:00.044) 0:00:57.959 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 17:01:33 +0000 (0:00:00.039) 0:00:57.999 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:116 Thursday 30 November 2023 17:01:33 +0000 (0:00:00.038) 0:00:58.037 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003943", "end": "2023-11-30 17:01:34.064141", "rc": 0, "start": "2023-11-30 17:01:34.060198" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.136 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.136 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:120 Thursday 30 November 2023 17:01:34 +0000 (0:00:00.216) 0:00:58.254 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:126 Thursday 30 November 2023 17:01:34 +0000 (0:00:00.036) 0:00:58.291 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003965", "end": "2023-11-30 17:01:34.316913", "rc": 0, "start": "2023-11-30 17:01:34.312948" } 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_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:130 Thursday 30 November 2023 17:01:34 +0000 (0:00:00.218) 0:00:58.509 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:137 Thursday 30 November 2023 17:01:34 +0000 (0:00:00.035) 0:00:58.544 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 17:01:34 +0000 (0:00:00.054) 0:00:58.598 ***** included: /WORKDIR/git-code_refactortccg8ujs/.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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:01:34 +0000 (0:00:00.081) 0:00:58.679 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 17:01:34 +0000 (0:00:00.089) 0:00:58.769 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 17:01:34 +0000 (0:00:00.039) 0:00:58.808 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 17:01:34 +0000 (0:00:00.052) 0:00:58.861 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 17:01:36 +0000 (0:00:01.711) 0:01:00.573 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 17:01:37 +0000 (0:00:01.314) 0:01:01.887 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 17:01:37 +0000 (0:00:00.056) 0:01:01.944 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 17:01:37 +0000 (0:00:00.066) 0:01:02.010 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 17:01:37 +0000 (0:00:00.057) 0:01:02.067 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 17:01:38 +0000 (0:00:00.096) 0:01:02.164 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 17:01:38 +0000 (0:00:00.053) 0:01:02.218 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 17:01:38 +0000 (0:00:00.074) 0:01:02.292 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 17:01:38 +0000 (0:00:00.068) 0:01:02.360 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 17:01:38 +0000 (0:00:00.045) 0:01:02.406 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 17:01:38 +0000 (0:00:00.039) 0:01:02.445 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 17:01:38 +0000 (0:00:00.520) 0:01:02.965 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2313acpgmnzk/tmpl0av_ure" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 17:01:39 +0000 (0:00:00.319) 0:01:03.285 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 17:01:39 +0000 (0:00:00.476) 0:01:03.761 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 17:01:39 +0000 (0:00:00.040) 0:01:03.802 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 17:01:39 +0000 (0:00:00.050) 0:01:03.852 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 17:01:39 +0000 (0:00:00.046) 0:01:03.898 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 17:01:39 +0000 (0:00:00.038) 0:01:03.937 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:149 Thursday 30 November 2023 17:01:40 +0000 (0:00:00.241) 0:01:04.178 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 17:01:40 +0000 (0:00:00.103) 0:01:04.282 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 17:01:40 +0000 (0:00:00.034) 0:01:04.316 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 17:01:40 +0000 (0:00:00.033) 0:01:04.350 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:01:40 +0000 (0:00:00.051) 0:01:04.401 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:01:40 +0000 (0:00:00.079) 0:01:04.481 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003468", "end": "2023-11-30 17:01:40.506815", "rc": 0, "start": "2023-11-30 17:01:40.503347" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:01:40 +0000 (0:00:00.216) 0:01:04.698 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:01:40 +0000 (0:00:00.049) 0:01:04.748 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 17:01:40 +0000 (0:00:00.048) 0:01:04.796 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 17:01:42 +0000 (0:00:01.480) 0:01:06.277 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 17:01:42 +0000 (0:00:00.050) 0:01:06.327 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 17:01:42 +0000 (0:00:00.053) 0:01:06.381 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010075", "end": "2023-11-30 17:01:42.429764", "rc": 0, "start": "2023-11-30 17:01:42.419689" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 17:01:42 +0000 (0:00:00.248) 0:01:06.629 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 17:01:42 +0000 (0:00:00.039) 0:01:06.669 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 17:01:42 +0000 (0:00:00.036) 0:01:06.705 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 17:01:42 +0000 (0:00:00.033) 0:01:06.739 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=138 changed=7 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Thursday 30 November 2023 17:01:42 +0000 (0:00:00.073) 0:01:06.813 ***** =============================================================================== Install iproute --------------------------------------------------------- 8.23s /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.73s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 6.55s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Install packages -------------------- 3.01s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 2.72s /WORKDIR/git-code_refactortccg8ujs/.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.79s /WORKDIR/git-code_refactortccg8ujs/.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.78s /WORKDIR/git-code_refactortccg8ujs/.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.71s /WORKDIR/git-code_refactortccg8ujs/.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.54s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 1.49s /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.48s /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.46s /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /WORKDIR/git-code_refactortccg8ujs/.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_refactortccg8ujs/.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.31s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable network service -------------- 0.99s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Create EPEL 8 ----------------------------------------------------------- 0.96s /WORKDIR/git-code_refactortccg8ujs/tests/tasks/enable_epel.yml:8 -------------- Gathering Facts --------------------------------------------------------- 0.88s /WORKDIR/git-code_refactortccg8ujs/tests/tests_auto_gateway_initscripts.yml:4 - Create veth interface veth0 --------------------------------------------- 0.75s /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:3 --- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---