# 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_type_qla6794/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_type_qla6794/tests/tests_auto_gateway_initscripts.yml:4 Tuesday 02 January 2024 19:31:48 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type_qla6794/tests/tests_auto_gateway_initscripts.yml:8 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.668) 0:00:00.681 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/tasks/el_repo_setup.yml:3 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.012) 0:00:00.693 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:19 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.331) 0:00:01.025 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:24 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.250) 0:00:01.275 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:28 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.020) 0:00:01.295 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/el_repo_setup.yml:53 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.018) 0:00:01.314 ******* included: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:8 Tuesday 02 January 2024 19:31:49 +0000 (0:00:00.032) 0:00:01.346 ******* 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_type_qla6794/tests/tasks/enable_epel.yml:24 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.236) 0:00:01.582 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:30 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.011) 0:00:01.593 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:35 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.010) 0:00:01.604 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.243337", "end": "2024-01-02 19:31:50.545148", "rc": 0, "start": "2024-01-02 19:31:50.301811" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/tasks/enable_epel.yml:40 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.427) 0:00:02.032 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_type_qla6794/tests/tests_auto_gateway_initscripts.yml:10 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.009) 0:00:02.041 ******* 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_type_qla6794/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 02 January 2024 19:31:50 +0000 (0:00:00.012) 0:00:02.054 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 02 January 2024 19:31:51 +0000 (0:00:00.559) 0:00:02.613 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:31:51 +0000 (0:00:00.023) 0:00:02.636 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:31:51 +0000 (0:00:00.013) 0:00:02.650 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003323", "end": "2024-01-02 19:31:51.351914", "rc": 0, "start": "2024-01-02 19:31:51.348591" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:31:51 +0000 (0:00:00.188) 0:00:02.839 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:31:51 +0000 (0:00:00.012) 0:00:02.852 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 02 January 2024 19:31:51 +0000 (0:00:00.012) 0:00:02.864 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:31:51 +0000 (0:00:00.028) 0:00:02.893 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:31:51 +0000 (0:00:00.011) 0:00:02.904 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:31:51 +0000 (0:00:00.010) 0:00:02.915 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:31:51 +0000 (0:00:00.015) 0:00:02.930 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:31:51 +0000 (0:00:00.014) 0:00:02.944 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003418", "end": "2024-01-02 19:31:51.648583", "rc": 0, "start": "2024-01-02 19:31:51.645165" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:31:51 +0000 (0:00:00.190) 0:00:03.135 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:31:51 +0000 (0:00:00.012) 0:00:03.147 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:31:51 +0000 (0:00:00.010) 0:00:03.158 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:31:55 +0000 (0:00:03.317) 0:00:06.476 ******* 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.015722", "end": "2024-01-02 19:31:55.199709", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-02 19:31:55.183987" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004260", "end": "2024-01-02 19:31:55.425615", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-02 19:31:55.421355" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003888", "end": "2024-01-02 19:31:55.607241", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-02 19:31:55.603353" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:31:55 +0000 (0:00:00.618) 0:00:07.094 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.111462", "end": "2024-01-02 19:31:55.903909", "rc": 0, "start": "2024-01-02 19:31:55.792447" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:31:55 +0000 (0:00:00.299) 0:00:07.394 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:31:55 +0000 (0:00:00.013) 0:00:07.408 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:31:55 +0000 (0:00:00.014) 0:00:07.422 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:31:55 +0000 (0:00:00.012) 0:00:07.435 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:31:55 +0000 (0:00:00.012) 0:00:07.447 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 02 January 2024 19:31:55 +0000 (0:00:00.012) 0:00:07.459 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:31:56 +0000 (0:00:00.028) 0:00:07.487 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:31:56 +0000 (0:00:00.016) 0:00:07.503 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223915.194688, "block_size": 4096, "blocks": 0, "ctime": 1704223915.194688, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21683, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1704223915.194688, "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_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:31:56 +0000 (0:00:00.192) 0:00:07.696 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 02 January 2024 19:31:56 +0000 (0:00:00.020) 0:00:07.716 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:31:56 +0000 (0:00:00.018) 0:00:07.735 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:31:56 +0000 (0:00:00.071) 0:00:07.806 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:31:56 +0000 (0:00:00.014) 0:00:07.820 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:31:56 +0000 (0:00:00.011) 0:00:07.832 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:31:56 +0000 (0:00:00.011) 0:00:07.843 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:31:57 +0000 (0:00:01.497) 0:00:09.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:31:59 +0000 (0:00:01.502) 0:00:10.843 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:31:59 +0000 (0:00:00.024) 0:00:10.867 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:31:59 +0000 (0:00:00.024) 0:00:10.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:31:59 +0000 (0:00:00.023) 0:00:10.915 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:32:05 +0000 (0:00:06.040) 0:00:16.956 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:32:05 +0000 (0:00:00.022) 0:00:16.978 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:32:05 +0000 (0:00:00.022) 0:00:17.001 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:32:05 +0000 (0:00:00.051) 0:00:17.052 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:32:05 +0000 (0:00:00.028) 0:00:17.081 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:32:05 +0000 (0:00:00.024) 0:00:17.105 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:32:06 +0000 (0:00:00.831) 0:00:17.936 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2534swh0jv4k/tmpczbuv97u" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:32:06 +0000 (0:00:00.301) 0:00:18.237 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:32:13 +0000 (0:00:06.629) 0:00:24.867 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:32:13 +0000 (0:00:00.046) 0:00:24.914 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:32:13 +0000 (0:00:00.024) 0:00:24.938 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:32:13 +0000 (0:00:00.023) 0:00:24.962 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:32:13 +0000 (0:00:00.022) 0:00:24.985 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 02 January 2024 19:32:13 +0000 (0:00:00.246) 0:00:25.232 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:32:13 +0000 (0:00:00.050) 0:00:25.282 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:32:13 +0000 (0:00:00.036) 0:00:25.319 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223915.194688, "block_size": 4096, "blocks": 0, "ctime": 1704223915.194688, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21683, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1704223915.194688, "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_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:32:14 +0000 (0:00:00.201) 0:00:25.521 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 02 January 2024 19:32:14 +0000 (0:00:00.025) 0:00:25.546 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:32:14 +0000 (0:00:00.051) 0:00:25.598 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:32:14 +0000 (0:00:00.071) 0:00:25.670 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:32:14 +0000 (0:00:00.024) 0:00:25.694 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223927.1390712, "block_size": 4096, "blocks": 8, "ctime": 1704223927.138071, "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": 1704223927.138071, "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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:32:14 +0000 (0:00:00.202) 0:00:25.896 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:32:14 +0000 (0:00:00.025) 0:00:25.922 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021670", "end": "2024-01-02 19:32:14.647409", "rc": 1, "start": "2024-01-02 19:32:14.625739" } 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:32:14 +0000 (0:00:00.223) 0:00:26.146 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:32:14 +0000 (0:00:00.023) 0:00:26.170 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003496", "end": "2024-01-02 19:32:14.878872", "rc": 0, "start": "2024-01-02 19:32:14.875376" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:32:14 +0000 (0:00:00.217) 0:00:26.387 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:32:14 +0000 (0:00:00.038) 0:00:26.426 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003338", "end": "2024-01-02 19:32:15.140202", "rc": 0, "start": "2024-01-02 19:32:15.136864" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:32:15 +0000 (0:00:00.216) 0:00:26.642 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:32:15 +0000 (0:00:00.030) 0:00:26.673 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:32:15 +0000 (0:00:00.028) 0:00:26.701 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:32:15 +0000 (0:00:00.026) 0:00:26.727 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 02 January 2024 19:32:15 +0000 (0:00:00.025) 0:00:26.753 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003881", "end": "2024-01-02 19:32:15.457972", "rc": 0, "start": "2024-01-02 19:32:15.454091" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.145 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.145 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_type_qla6794/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 02 January 2024 19:32:15 +0000 (0:00:00.240) 0:00:26.993 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 02 January 2024 19:32:15 +0000 (0:00:00.025) 0:00:27.018 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003769", "end": "2024-01-02 19:32:15.721314", "rc": 0, "start": "2024-01-02 19:32:15.717545" } 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_type_qla6794/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 02 January 2024 19:32:15 +0000 (0:00:00.201) 0:00:27.220 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 02 January 2024 19:32:15 +0000 (0:00:00.023) 0:00:27.243 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:32:15 +0000 (0:00:00.023) 0:00:27.267 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:32:15 +0000 (0:00:00.042) 0:00:27.310 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:32:15 +0000 (0:00:00.028) 0:00:27.338 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:32:15 +0000 (0:00:00.023) 0:00:27.362 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:32:15 +0000 (0:00:00.024) 0:00:27.387 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:32:17 +0000 (0:00:01.576) 0:00:28.964 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:32:18 +0000 (0:00:01.312) 0:00:30.276 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:32:18 +0000 (0:00:00.025) 0:00:30.301 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:32:18 +0000 (0:00:00.024) 0:00:30.325 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:32:18 +0000 (0:00:00.023) 0:00:30.348 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:32:18 +0000 (0:00:00.045) 0:00:30.394 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:32:18 +0000 (0:00:00.023) 0:00:30.418 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:32:18 +0000 (0:00:00.022) 0:00:30.440 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:32:19 +0000 (0:00:00.068) 0:00:30.509 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:32:19 +0000 (0:00:00.024) 0:00:30.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:32:19 +0000 (0:00:00.024) 0:00:30.558 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:32:19 +0000 (0:00:00.371) 0:00:30.930 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2534swh0jv4k/tmpce_seenr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:32:19 +0000 (0:00:00.327) 0:00:31.257 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:32:20 +0000 (0:00:00.434) 0:00:31.692 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:32:20 +0000 (0:00:00.022) 0:00:31.714 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:32:20 +0000 (0:00:00.025) 0:00:31.740 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:32:20 +0000 (0:00:00.025) 0:00:31.765 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:32:20 +0000 (0:00:00.022) 0:00:31.787 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 02 January 2024 19:32:20 +0000 (0:00:00.193) 0:00:31.981 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:32:20 +0000 (0:00:00.083) 0:00:32.064 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:32:20 +0000 (0:00:00.024) 0:00:32.088 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:32:20 +0000 (0:00:00.024) 0:00:32.113 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:32:20 +0000 (0:00:00.037) 0:00:32.150 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:32:20 +0000 (0:00:00.036) 0:00:32.187 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003334", "end": "2024-01-02 19:32:20.890116", "rc": 0, "start": "2024-01-02 19:32:20.886782" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:32:20 +0000 (0:00:00.210) 0:00:32.397 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:32:20 +0000 (0:00:00.033) 0:00:32.431 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:32:20 +0000 (0:00:00.024) 0:00:32.455 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:32:24 +0000 (0:00:03.030) 0:00:35.486 ******* 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_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:32:24 +0000 (0:00:00.036) 0:00:35.522 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:32:24 +0000 (0:00:00.027) 0:00:35.550 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010603", "end": "2024-01-02 19:32:24.262970", "rc": 0, "start": "2024-01-02 19:32:24.252367" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:32:24 +0000 (0:00:00.215) 0:00:35.766 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:32:24 +0000 (0:00:00.025) 0:00:35.792 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:32:24 +0000 (0:00:00.023) 0:00:35.815 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:32:24 +0000 (0:00:00.024) 0:00:35.840 ******* 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_type_qla6794/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 02 January 2024 19:32:24 +0000 (0:00:00.025) 0:00:35.866 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 02 January 2024 19:32:24 +0000 (0:00:00.025) 0:00:35.891 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:32:24 +0000 (0:00:00.088) 0:00:35.980 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:32:24 +0000 (0:00:00.023) 0:00:36.004 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:32:24 +0000 (0:00:00.023) 0:00:36.027 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:32:24 +0000 (0:00:00.036) 0:00:36.064 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:32:24 +0000 (0:00:00.036) 0:00:36.101 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003376", "end": "2024-01-02 19:32:24.809200", "rc": 0, "start": "2024-01-02 19:32:24.805824" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:32:24 +0000 (0:00:00.206) 0:00:36.307 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:32:24 +0000 (0:00:00.029) 0:00:36.337 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:32:24 +0000 (0:00:00.024) 0:00:36.362 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:32:27 +0000 (0:00:03.001) 0:00:39.363 ******* 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.011398", "end": "2024-01-02 19:32:28.085359", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-02 19:32:28.073961" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003937", "end": "2024-01-02 19:32:28.305967", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-02 19:32:28.302030" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004111", "end": "2024-01-02 19:32:28.492122", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-02 19:32:28.488011" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:32:28 +0000 (0:00:00.630) 0:00:39.994 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021797", "end": "2024-01-02 19:32:28.715479", "rc": 0, "start": "2024-01-02 19:32:28.693682" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:32:28 +0000 (0:00:00.222) 0:00:40.216 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:32:28 +0000 (0:00:00.025) 0:00:40.241 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:32:28 +0000 (0:00:00.024) 0:00:40.266 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:32:28 +0000 (0:00:00.024) 0:00:40.290 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:32:28 +0000 (0:00:00.026) 0:00:40.316 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:32:28 +0000 (0:00:00.063) 0:00:40.380 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:32:28 +0000 (0:00:00.041) 0:00:40.421 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:32:28 +0000 (0:00:00.042) 0:00:40.463 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:32:29 +0000 (0:00:00.024) 0:00:40.488 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:32:29 +0000 (0:00:00.026) 0:00:40.515 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:32:30 +0000 (0:00:01.543) 0:00:42.058 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:32:31 +0000 (0:00:01.375) 0:00:43.434 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:32:31 +0000 (0:00:00.024) 0:00:43.459 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:32:32 +0000 (0:00:00.022) 0:00:43.481 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:32:32 +0000 (0:00:00.023) 0:00:43.505 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:32:32 +0000 (0:00:00.047) 0:00:43.553 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:32:32 +0000 (0:00:00.025) 0:00:43.578 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:32:32 +0000 (0:00:00.024) 0:00:43.602 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:32:32 +0000 (0:00:00.026) 0:00:43.629 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:32:32 +0000 (0:00:00.023) 0:00:43.652 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:32:32 +0000 (0:00:00.033) 0:00:43.686 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:32:32 +0000 (0:00:00.351) 0:00:44.037 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2534swh0jv4k/tmpm5i3h4b4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:32:32 +0000 (0:00:00.299) 0:00:44.336 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:32:39 +0000 (0:00:06.574) 0:00:50.911 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:32:39 +0000 (0:00:00.029) 0:00:50.941 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:32:39 +0000 (0:00:00.024) 0:00:50.966 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:32:39 +0000 (0:00:00.026) 0:00:50.992 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:32:39 +0000 (0:00:00.024) 0:00:51.017 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 02 January 2024 19:32:39 +0000 (0:00:00.202) 0:00:51.219 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 02 January 2024 19:32:39 +0000 (0:00:00.101) 0:00:51.321 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 02 January 2024 19:32:39 +0000 (0:00:00.037) 0:00:51.358 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223948.0774915, "block_size": 4096, "blocks": 0, "ctime": 1704223948.0774915, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22269, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1704223948.0774915, "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_type_qla6794/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 02 January 2024 19:32:40 +0000 (0:00:00.198) 0:00:51.557 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 02 January 2024 19:32:40 +0000 (0:00:00.026) 0:00:51.584 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 02 January 2024 19:32:40 +0000 (0:00:00.053) 0:00:51.637 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 02 January 2024 19:32:40 +0000 (0:00:00.037) 0:00:51.675 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 02 January 2024 19:32:40 +0000 (0:00:00.024) 0:00:51.699 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704223953.1923952, "block_size": 4096, "blocks": 8, "ctime": 1704223953.1723957, "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": 1704223953.1723957, "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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 02 January 2024 19:32:40 +0000 (0:00:00.196) 0:00:51.896 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 02 January 2024 19:32:40 +0000 (0:00:00.024) 0:00:51.920 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.020557", "end": "2024-01-02 19:32:40.638935", "rc": 1, "start": "2024-01-02 19:32:40.618378" } 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 02 January 2024 19:32:40 +0000 (0:00:00.216) 0:00:52.137 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 02 January 2024 19:32:40 +0000 (0:00:00.024) 0:00:52.161 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003205", "end": "2024-01-02 19:32:40.866191", "rc": 0, "start": "2024-01-02 19:32:40.862986" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 02 January 2024 19:32:40 +0000 (0:00:00.203) 0:00:52.364 ******* 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_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 02 January 2024 19:32:40 +0000 (0:00:00.029) 0:00:52.394 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.002887", "end": "2024-01-02 19:32:41.097458", "rc": 0, "start": "2024-01-02 19:32:41.094571" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 02 January 2024 19:32:41 +0000 (0:00:00.203) 0:00:52.598 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 02 January 2024 19:32:41 +0000 (0:00:00.029) 0:00:52.627 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 02 January 2024 19:32:41 +0000 (0:00:00.026) 0:00:52.653 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 02 January 2024 19:32:41 +0000 (0:00:00.028) 0:00:52.682 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 02 January 2024 19:32:41 +0000 (0:00:00.025) 0:00:52.708 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003549", "end": "2024-01-02 19:32:41.408887", "rc": 0, "start": "2024-01-02 19:32:41.405338" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.145 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.145 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_type_qla6794/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 02 January 2024 19:32:41 +0000 (0:00:00.199) 0:00:52.908 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 02 January 2024 19:32:41 +0000 (0:00:00.026) 0:00:52.934 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003675", "end": "2024-01-02 19:32:41.634931", "rc": 0, "start": "2024-01-02 19:32:41.631256" } 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_type_qla6794/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 02 January 2024 19:32:41 +0000 (0:00:00.201) 0:00:53.135 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 02 January 2024 19:32:41 +0000 (0:00:00.025) 0:00:53.161 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 02 January 2024 19:32:41 +0000 (0:00:00.024) 0:00:53.185 ******* included: /WORKDIR/git-route_type_qla6794/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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 02 January 2024 19:32:41 +0000 (0:00:00.040) 0:00:53.226 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 02 January 2024 19:32:41 +0000 (0:00:00.077) 0:00:53.303 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 02 January 2024 19:32:41 +0000 (0:00:00.025) 0:00:53.328 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 02 January 2024 19:32:41 +0000 (0:00:00.023) 0:00:53.352 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 02 January 2024 19:32:43 +0000 (0:00:01.509) 0:00:54.862 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 02 January 2024 19:32:44 +0000 (0:00:01.300) 0:00:56.162 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 02 January 2024 19:32:44 +0000 (0:00:00.027) 0:00:56.189 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 02 January 2024 19:32:44 +0000 (0:00:00.083) 0:00:56.273 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 02 January 2024 19:32:44 +0000 (0:00:00.030) 0:00:56.304 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 02 January 2024 19:32:44 +0000 (0:00:00.046) 0:00:56.350 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 02 January 2024 19:32:44 +0000 (0:00:00.023) 0:00:56.373 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 02 January 2024 19:32:44 +0000 (0:00:00.023) 0:00:56.397 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 02 January 2024 19:32:44 +0000 (0:00:00.025) 0:00:56.422 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 02 January 2024 19:32:44 +0000 (0:00:00.022) 0:00:56.445 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 02 January 2024 19:32:44 +0000 (0:00:00.022) 0:00:56.468 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 02 January 2024 19:32:45 +0000 (0:00:00.355) 0:00:56.823 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2534swh0jv4k/tmpybnjqynu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 02 January 2024 19:32:45 +0000 (0:00:00.344) 0:00:57.168 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 02 January 2024 19:32:46 +0000 (0:00:00.424) 0:00:57.593 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 02 January 2024 19:32:46 +0000 (0:00:00.024) 0:00:57.617 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 02 January 2024 19:32:46 +0000 (0:00:00.028) 0:00:57.646 ******* 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_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 02 January 2024 19:32:46 +0000 (0:00:00.078) 0:00:57.725 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 02 January 2024 19:32:46 +0000 (0:00:00.029) 0:00:57.754 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 02 January 2024 19:32:46 +0000 (0:00:00.206) 0:00:57.961 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 02 January 2024 19:32:46 +0000 (0:00:00.076) 0:00:58.038 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 02 January 2024 19:32:46 +0000 (0:00:00.037) 0:00:58.075 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 02 January 2024 19:32:46 +0000 (0:00:00.027) 0:00:58.103 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 02 January 2024 19:32:46 +0000 (0:00:00.037) 0:00:58.141 ******* included: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 02 January 2024 19:32:46 +0000 (0:00:00.038) 0:00:58.179 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003288", "end": "2024-01-02 19:32:46.880120", "rc": 0, "start": "2024-01-02 19:32:46.876832" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 02 January 2024 19:32:46 +0000 (0:00:00.201) 0:00:58.381 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 02 January 2024 19:32:46 +0000 (0:00:00.031) 0:00:58.413 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 02 January 2024 19:32:46 +0000 (0:00:00.025) 0:00:58.438 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 02 January 2024 19:32:49 +0000 (0:00:02.995) 0:01:01.433 ******* 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_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 02 January 2024 19:32:50 +0000 (0:00:00.037) 0:01:01.470 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 02 January 2024 19:32:50 +0000 (0:00:00.026) 0:01:01.497 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012818", "end": "2024-01-02 19:32:50.211345", "rc": 0, "start": "2024-01-02 19:32:50.198527" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 02 January 2024 19:32:50 +0000 (0:00:00.216) 0:01:01.713 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 02 January 2024 19:32:50 +0000 (0:00:00.025) 0:01:01.738 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 02 January 2024 19:32:50 +0000 (0:00:00.023) 0:01:01.762 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 02 January 2024 19:32:50 +0000 (0:00:00.027) 0:01:01.789 ******* 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 Tuesday 02 January 2024 19:32:50 +0000 (0:00:00.010) 0:01:01.799 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.63s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 6.57s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Install packages --------------------------- 6.04s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:30 Install iproute --------------------------------------------------------- 3.32s /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.03s /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.00s /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.00s /WORKDIR/git-route_type_qla6794/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.50s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.38s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.30s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.86s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 0.83s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Enable network service --------------------- 0.73s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.67s /WORKDIR/git-route_type_qla6794/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-route_type_qla6794/tests/tests_auto_gateway_initscripts.yml:4 ---- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---