# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_auto_gateway_initscripts.yml *********************************** 2 plays in /WORKDIR/git-route_typef0th468y/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-route_typef0th468y/tests/tests_auto_gateway_initscripts.yml:5 Thursday 11 January 2024 02:15:33 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typef0th468y/tests/tests_auto_gateway_initscripts.yml:8 Thursday 11 January 2024 02:15:33 +0000 (0:00:00.674) 0:00:00.685 ****** included: /WORKDIR/git-route_typef0th468y/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-route_typef0th468y/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 02:15:33 +0000 (0:00:00.010) 0:00:00.696 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 02:15:34 +0000 (0:00:00.396) 0:00:01.093 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 02:15:34 +0000 (0:00:00.251) 0:00:01.344 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 02:15:34 +0000 (0:00:00.020) 0:00:01.364 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 02:15:34 +0000 (0:00:00.017) 0:00:01.381 ****** included: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 02:15:34 +0000 (0:00:00.030) 0:00:01.412 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 02:15:34 +0000 (0:00:00.233) 0:00:01.646 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 02:15:34 +0000 (0:00:00.011) 0:00:01.657 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 02:15:34 +0000 (0:00:00.012) 0:00:01.669 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.246583", "end": "2024-01-11 02:15:35.359675", "rc": 0, "start": "2024-01-11 02:15:35.113092" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 02:15:35 +0000 (0:00:00.431) 0:00:02.101 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typef0th468y/tests/tests_auto_gateway_initscripts.yml:10 Thursday 11 January 2024 02:15:35 +0000 (0:00:00.009) 0:00:02.110 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:3 Thursday 11 January 2024 02:15:35 +0000 (0:00:00.011) 0:00:02.122 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:9 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.609) 0:00:02.731 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.023) 0:00:02.754 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.013) 0:00:02.768 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003010", "end": "2024-01-11 02:15:36.210851", "rc": 0, "start": "2024-01-11 02:15:36.207841" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.183) 0:00:02.951 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.012) 0:00:02.963 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:11 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.010) 0:00:02.974 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.029) 0:00:03.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.013) 0:00:03.017 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.012) 0:00:03.030 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.017) 0:00:03.047 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.014) 0:00:03.061 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003008", "end": "2024-01-11 02:15:36.507629", "rc": 0, "start": "2024-01-11 02:15:36.504621" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.186) 0:00:03.248 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.011) 0:00:03.260 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.010) 0:00:03.271 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 02:15:39 +0000 (0:00:03.319) 0:00:06.591 ****** 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.015561", "end": "2024-01-11 02:15:40.052291", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-11 02:15:40.036730" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004470", "end": "2024-01-11 02:15:40.281244", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-11 02:15:40.276774" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004583", "end": "2024-01-11 02:15:40.464686", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-11 02:15:40.460103" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 02:15:40 +0000 (0:00:00.616) 0:00:07.207 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.150422", "end": "2024-01-11 02:15:40.804256", "rc": 0, "start": "2024-01-11 02:15:40.653834" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 02:15:40 +0000 (0:00:00.340) 0:00:07.547 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 02:15:40 +0000 (0:00:00.011) 0:00:07.559 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 02:15:40 +0000 (0:00:00.011) 0:00:07.571 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:15:40 +0000 (0:00:00.011) 0:00:07.582 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 02:15:40 +0000 (0:00:00.010) 0:00:07.593 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:15 Thursday 11 January 2024 02:15:40 +0000 (0:00:00.010) 0:00:07.603 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:15:40 +0000 (0:00:00.026) 0:00:07.630 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:15:40 +0000 (0:00:00.032) 0:00:07.663 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939340.0472968, "block_size": 4096, "blocks": 0, "ctime": 1704939340.0472968, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21719, "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": 1704939340.0472968, "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-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:15:41 +0000 (0:00:00.189) 0:00:07.852 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:17 Thursday 11 January 2024 02:15:41 +0000 (0:00:00.013) 0:00:07.865 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:15:41 +0000 (0:00:00.011) 0:00:07.876 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:15:41 +0000 (0:00:00.066) 0:00:07.942 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:15:41 +0000 (0:00:00.011) 0:00:07.954 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:15:41 +0000 (0:00:00.010) 0:00:07.965 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:15:41 +0000 (0:00:00.010) 0:00:07.976 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:15:42 +0000 (0:00:01.517) 0:00:09.493 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:15:44 +0000 (0:00:01.427) 0:00:10.920 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:15:44 +0000 (0:00:00.028) 0:00:10.949 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:15:44 +0000 (0:00:00.063) 0:00:11.012 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:15:44 +0000 (0:00:00.024) 0:00:11.037 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:15:49 +0000 (0:00:04.789) 0:00:15.826 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:15:49 +0000 (0:00:00.025) 0:00:15.851 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:15:49 +0000 (0:00:00.023) 0:00:15.875 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:15:49 +0000 (0:00:00.026) 0:00:15.901 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:15:49 +0000 (0:00:00.052) 0:00:15.954 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:15:49 +0000 (0:00:00.023) 0:00:15.977 ****** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.820) 0:00:16.798 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2451le7rtyl1/tmprinulgpx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.305) 0:00:17.103 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:15:57 +0000 (0:00:06.630) 0:00:23.734 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:15:57 +0000 (0:00:00.022) 0:00:23.756 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:15:57 +0000 (0:00:00.022) 0:00:23.779 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:15:57 +0000 (0:00:00.050) 0:00:23.830 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:15:57 +0000 (0:00:00.022) 0:00:23.852 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:42 Thursday 11 January 2024 02:15:57 +0000 (0:00:00.238) 0:00:24.090 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:15:57 +0000 (0:00:00.048) 0:00:24.139 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:15:57 +0000 (0:00:00.035) 0:00:24.175 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939340.0472968, "block_size": 4096, "blocks": 0, "ctime": 1704939340.0472968, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21719, "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": 1704939340.0472968, "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-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:15:57 +0000 (0:00:00.197) 0:00:24.372 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:44 Thursday 11 January 2024 02:15:57 +0000 (0:00:00.026) 0:00:24.398 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:15:57 +0000 (0:00:00.050) 0:00:24.449 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:15:57 +0000 (0:00:00.036) 0:00:24.486 ****** 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-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:15:57 +0000 (0:00:00.084) 0:00:24.570 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939350.7729666, "block_size": 4096, "blocks": 8, "ctime": 1704939350.7519667, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704939350.7519667, "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-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:15:58 +0000 (0:00:00.204) 0:00:24.774 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:15:58 +0000 (0:00:00.031) 0:00:24.806 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021133", "end": "2024-01-11 02:15:58.272643", "rc": 1, "start": "2024-01-11 02:15:58.251510" } 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-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:15:58 +0000 (0:00:00.226) 0:00:25.032 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:15:58 +0000 (0:00:00.050) 0:00:25.083 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003023", "end": "2024-01-11 02:15:58.556023", "rc": 0, "start": "2024-01-11 02:15:58.553000" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:15:58 +0000 (0:00:00.226) 0:00:25.310 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:15:58 +0000 (0:00:00.028) 0:00:25.338 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002858", "end": "2024-01-11 02:15:58.789279", "rc": 0, "start": "2024-01-11 02:15:58.786421" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:15:58 +0000 (0:00:00.205) 0:00:25.543 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:15:58 +0000 (0:00:00.030) 0:00:25.574 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:15:58 +0000 (0:00:00.026) 0:00:25.601 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:15:58 +0000 (0:00:00.030) 0:00:25.631 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:48 Thursday 11 January 2024 02:15:58 +0000 (0:00:00.045) 0:00:25.677 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003556", "end": "2024-01-11 02:15:59.124360", "rc": 0, "start": "2024-01-11 02:15:59.120804" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.32 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.32 metric 100 169.254.0.0/16 dev veth0 scope link metric 1004 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:52 Thursday 11 January 2024 02:15:59 +0000 (0:00:00.215) 0:00:25.892 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:58 Thursday 11 January 2024 02:15:59 +0000 (0:00:00.048) 0:00:25.940 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003788", "end": "2024-01-11 02:15:59.387514", "rc": 0, "start": "2024-01-11 02:15:59.383726" } 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-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:62 Thursday 11 January 2024 02:15:59 +0000 (0:00:00.199) 0:00:26.140 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:69 Thursday 11 January 2024 02:15:59 +0000 (0:00:00.026) 0:00:26.166 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:15:59 +0000 (0:00:00.026) 0:00:26.192 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:15:59 +0000 (0:00:00.041) 0:00:26.234 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:15:59 +0000 (0:00:00.034) 0:00:26.269 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:15:59 +0000 (0:00:00.026) 0:00:26.295 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:15:59 +0000 (0:00:00.046) 0:00:26.341 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:16:01 +0000 (0:00:01.610) 0:00:27.952 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:16:02 +0000 (0:00:01.354) 0:00:29.306 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:16:02 +0000 (0:00:00.026) 0:00:29.332 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:16:02 +0000 (0:00:00.023) 0:00:29.356 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:16:02 +0000 (0:00:00.022) 0:00:29.378 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:16:02 +0000 (0:00:00.044) 0:00:29.423 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:16:02 +0000 (0:00:00.022) 0:00:29.445 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:16:02 +0000 (0:00:00.021) 0:00:29.466 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:16:02 +0000 (0:00:00.025) 0:00:29.492 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:16:02 +0000 (0:00:00.023) 0:00:29.516 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:16:02 +0000 (0:00:00.021) 0:00:29.538 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:16:03 +0000 (0:00:00.381) 0:00:29.920 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2451le7rtyl1/tmp7tnmpwho" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:16:03 +0000 (0:00:00.303) 0:00:30.224 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:16:03 +0000 (0:00:00.435) 0:00:30.660 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:16:03 +0000 (0:00:00.023) 0:00:30.683 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:16:03 +0000 (0:00:00.025) 0:00:30.708 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:16:04 +0000 (0:00:00.023) 0:00:30.732 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:16:04 +0000 (0:00:00.023) 0:00:30.755 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:81 Thursday 11 January 2024 02:16:04 +0000 (0:00:00.205) 0:00:30.961 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:16:04 +0000 (0:00:00.052) 0:00:31.013 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:16:04 +0000 (0:00:00.022) 0:00:31.036 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:16:04 +0000 (0:00:00.069) 0:00:31.105 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:16:04 +0000 (0:00:00.041) 0:00:31.147 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:16:04 +0000 (0:00:00.045) 0:00:31.192 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003465", "end": "2024-01-11 02:16:04.641491", "rc": 0, "start": "2024-01-11 02:16:04.638026" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:16:04 +0000 (0:00:00.204) 0:00:31.397 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:16:04 +0000 (0:00:00.027) 0:00:31.425 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:16:04 +0000 (0:00:00.026) 0:00:31.452 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 02:16:07 +0000 (0:00:03.000) 0:00:34.452 ****** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 02:16:07 +0000 (0:00:00.035) 0:00:34.487 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 02:16:07 +0000 (0:00:00.025) 0:00:34.513 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014562", "end": "2024-01-11 02:16:07.972632", "rc": 0, "start": "2024-01-11 02:16:07.958070" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.215) 0:00:34.729 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.023) 0:00:34.752 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.023) 0:00:34.775 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.023) 0:00:34.799 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:85 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.023) 0:00:34.822 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:89 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.022) 0:00:34.844 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.053) 0:00:34.898 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.061) 0:00:34.959 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.040) 0:00:35.000 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.037) 0:00:35.037 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.035) 0:00:35.073 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003520", "end": "2024-01-11 02:16:08.521192", "rc": 0, "start": "2024-01-11 02:16:08.517672" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.200) 0:00:35.274 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.023) 0:00:35.297 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.023) 0:00:35.321 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 02:16:11 +0000 (0:00:02.999) 0:00:38.321 ****** 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.012571", "end": "2024-01-11 02:16:11.780986", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-11 02:16:11.768415" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003743", "end": "2024-01-11 02:16:12.001395", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-11 02:16:11.997652" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004746", "end": "2024-01-11 02:16:12.184497", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-11 02:16:12.179751" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 02:16:12 +0000 (0:00:00.617) 0:00:38.938 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023256", "end": "2024-01-11 02:16:12.406570", "rc": 0, "start": "2024-01-11 02:16:12.383314" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 02:16:12 +0000 (0:00:00.222) 0:00:39.161 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 02:16:12 +0000 (0:00:00.025) 0:00:39.186 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 02:16:12 +0000 (0:00:00.024) 0:00:39.210 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:16:12 +0000 (0:00:00.024) 0:00:39.235 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 02:16:12 +0000 (0:00:00.022) 0:00:39.258 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:16:12 +0000 (0:00:00.022) 0:00:39.281 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:16:12 +0000 (0:00:00.065) 0:00:39.346 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:16:12 +0000 (0:00:00.030) 0:00:39.377 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:16:12 +0000 (0:00:00.023) 0:00:39.400 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:16:12 +0000 (0:00:00.022) 0:00:39.422 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:16:14 +0000 (0:00:01.549) 0:00:40.971 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:16:15 +0000 (0:00:01.331) 0:00:42.303 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:16:15 +0000 (0:00:00.025) 0:00:42.328 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:16:15 +0000 (0:00:00.022) 0:00:42.351 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:16:15 +0000 (0:00:00.031) 0:00:42.383 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:16:15 +0000 (0:00:00.046) 0:00:42.429 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:16:15 +0000 (0:00:00.024) 0:00:42.454 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:16:15 +0000 (0:00:00.023) 0:00:42.478 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:16:15 +0000 (0:00:00.025) 0:00:42.503 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:16:15 +0000 (0:00:00.022) 0:00:42.525 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:16:15 +0000 (0:00:00.022) 0:00:42.548 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:16:16 +0000 (0:00:00.342) 0:00:42.890 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2451le7rtyl1/tmparbv26uq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:16:16 +0000 (0:00:00.301) 0:00:43.192 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0' [004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified) [005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:16:23 +0000 (0:00:06.543) 0:00:49.735 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:16:23 +0000 (0:00:00.027) 0:00:49.763 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:16:23 +0000 (0:00:00.027) 0:00:49.790 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)\n[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add ifcfg-rh profile 'veth0'", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0 (is-modified)", "[005] #0, state:up persistent_state:present, 'veth0': call 'ifup veth0': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface veth0 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:16:23 +0000 (0:00:00.025) 0:00:49.816 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:16:23 +0000 (0:00:00.026) 0:00:49.842 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:110 Thursday 11 January 2024 02:16:23 +0000 (0:00:00.192) 0:00:50.035 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:16:23 +0000 (0:00:00.080) 0:00:50.116 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:16:23 +0000 (0:00:00.038) 0:00:50.154 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939371.7721028, "block_size": 4096, "blocks": 0, "ctime": 1704939371.7721028, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22305, "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": 1704939371.7721028, "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-route_typef0th468y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:16:23 +0000 (0:00:00.201) 0:00:50.356 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:112 Thursday 11 January 2024 02:16:23 +0000 (0:00:00.026) 0:00:50.382 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:16:23 +0000 (0:00:00.053) 0:00:50.436 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:16:23 +0000 (0:00:00.036) 0:00:50.473 ****** 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-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:16:23 +0000 (0:00:00.022) 0:00:50.496 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939376.7658448, "block_size": 4096, "blocks": 8, "ctime": 1704939376.764845, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704939376.764845, "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-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:16:23 +0000 (0:00:00.198) 0:00:50.694 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:16:23 +0000 (0:00:00.023) 0:00:50.717 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020765", "end": "2024-01-11 02:16:24.183465", "rc": 1, "start": "2024-01-11 02:16:24.162700" } 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-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:16:24 +0000 (0:00:00.218) 0:00:50.936 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:16:24 +0000 (0:00:00.059) 0:00:50.995 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002900", "end": "2024-01-11 02:16:24.445435", "rc": 0, "start": "2024-01-11 02:16:24.442535" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:16:24 +0000 (0:00:00.215) 0:00:51.210 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:16:24 +0000 (0:00:00.033) 0:00:51.244 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003132", "end": "2024-01-11 02:16:24.694031", "rc": 0, "start": "2024-01-11 02:16:24.690899" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:16:24 +0000 (0:00:00.204) 0:00:51.448 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:16:24 +0000 (0:00:00.028) 0:00:51.477 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:16:24 +0000 (0:00:00.027) 0:00:51.504 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:16:24 +0000 (0:00:00.024) 0:00:51.529 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:116 Thursday 11 January 2024 02:16:24 +0000 (0:00:00.022) 0:00:51.552 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003589", "end": "2024-01-11 02:16:24.996187", "rc": 0, "start": "2024-01-11 02:16:24.992598" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.32 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.32 metric 100 169.254.0.0/16 dev veth0 scope link metric 1006 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:120 Thursday 11 January 2024 02:16:25 +0000 (0:00:00.195) 0:00:51.748 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:126 Thursday 11 January 2024 02:16:25 +0000 (0:00:00.024) 0:00:51.773 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003612", "end": "2024-01-11 02:16:25.219999", "rc": 0, "start": "2024-01-11 02:16:25.216387" } 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-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:130 Thursday 11 January 2024 02:16:25 +0000 (0:00:00.199) 0:00:51.972 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:137 Thursday 11 January 2024 02:16:25 +0000 (0:00:00.022) 0:00:51.994 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:16:25 +0000 (0:00:00.022) 0:00:52.017 ****** included: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:16:25 +0000 (0:00:00.076) 0:00:52.093 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:16:25 +0000 (0:00:00.029) 0:00:52.122 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:16:25 +0000 (0:00:00.022) 0:00:52.145 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:16:25 +0000 (0:00:00.022) 0:00:52.167 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:16:26 +0000 (0:00:01.550) 0:00:53.718 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:16:28 +0000 (0:00:01.337) 0:00:55.056 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:16:28 +0000 (0:00:00.025) 0:00:55.082 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:16:28 +0000 (0:00:00.024) 0:00:55.106 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:16:28 +0000 (0:00:00.023) 0:00:55.129 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:16:28 +0000 (0:00:00.044) 0:00:55.174 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:16:28 +0000 (0:00:00.022) 0:00:55.197 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:16:28 +0000 (0:00:00.022) 0:00:55.219 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:16:28 +0000 (0:00:00.024) 0:00:55.244 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:16:28 +0000 (0:00:00.022) 0:00:55.266 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:16:28 +0000 (0:00:00.022) 0:00:55.289 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:16:28 +0000 (0:00:00.345) 0:00:55.634 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2451le7rtyl1/tmpn2h6ecsv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:16:29 +0000 (0:00:00.297) 0:00:55.932 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active) [004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:16:29 +0000 (0:00:00.424) 0:00:56.356 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:16:29 +0000 (0:00:00.070) 0:00:56.427 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:16:29 +0000 (0:00:00.040) 0:00:56.467 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)\n[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'veth0': up connection veth0 (active)", "[004] #0, state:down persistent_state:absent, 'veth0': call 'ifdown veth0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[005] #0, state:down persistent_state:absent, 'veth0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-veth0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:16:29 +0000 (0:00:00.040) 0:00:56.508 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:16:29 +0000 (0:00:00.025) 0:00:56.534 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tests_auto_gateway.yml:149 Thursday 11 January 2024 02:16:30 +0000 (0:00:00.213) 0:00:56.747 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:16:30 +0000 (0:00:00.055) 0:00:56.802 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:16:30 +0000 (0:00:00.022) 0:00:56.825 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:16:30 +0000 (0:00:00.022) 0:00:56.847 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:16:30 +0000 (0:00:00.035) 0:00:56.883 ****** included: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:16:30 +0000 (0:00:00.036) 0:00:56.919 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003423", "end": "2024-01-11 02:16:30.367512", "rc": 0, "start": "2024-01-11 02:16:30.364089" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:16:30 +0000 (0:00:00.200) 0:00:57.120 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:16:30 +0000 (0:00:00.069) 0:00:57.190 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:16:30 +0000 (0:00:00.024) 0:00:57.215 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 02:16:33 +0000 (0:00:03.007) 0:01:00.222 ****** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 02:16:33 +0000 (0:00:00.035) 0:01:00.257 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 02:16:33 +0000 (0:00:00.034) 0:01:00.292 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.008799", "end": "2024-01-11 02:16:33.760002", "rc": 0, "start": "2024-01-11 02:16:33.751203" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 02:16:33 +0000 (0:00:00.224) 0:01:00.516 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 02:16:33 +0000 (0:00:00.054) 0:01:00.571 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:16:33 +0000 (0:00:00.054) 0:01:00.625 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 02:16:34 +0000 (0:00:00.119) 0:01:00.745 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=138 changed=6 unreachable=0 failed=0 skipped=89 rescued=0 ignored=2 Thursday 11 January 2024 02:16:34 +0000 (0:00:00.013) 0:01:00.759 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.63s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 6.54s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Install packages --------------------------- 4.79s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Install iproute --------------------------------------------------------- 3.32s /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.01s /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.00s /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.00s /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.43s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.35s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.34s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.86s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 0.82s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Enable network service --------------------- 0.73s /WORKDIR/git-route_typef0th468y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-route_typef0th468y/tests/tests_auto_gateway_initscripts.yml:5 ---- Create veth interface veth0 --------------------------------------------- 0.62s /WORKDIR/git-route_typef0th468y/tests/playbooks/tasks/manage_test_interface.yml:24 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---