# 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_typefycom2fs/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_typefycom2fs/tests/tests_auto_gateway_initscripts.yml:5 Monday 08 January 2024 14:18:38 +0000 (0:00:00.019) 0:00:00.019 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typefycom2fs/tests/tests_auto_gateway_initscripts.yml:8 Monday 08 January 2024 14:18:39 +0000 (0:00:00.740) 0:00:00.760 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/tasks/el_repo_setup.yml:3 Monday 08 January 2024 14:18:39 +0000 (0:00:00.029) 0:00:00.790 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/el_repo_setup.yml:19 Monday 08 January 2024 14:18:39 +0000 (0:00:00.388) 0:00:01.179 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/el_repo_setup.yml:24 Monday 08 January 2024 14:18:39 +0000 (0:00:00.279) 0:00:01.458 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/el_repo_setup.yml:28 Monday 08 January 2024 14:18:39 +0000 (0:00:00.021) 0:00:01.480 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/el_repo_setup.yml:53 Monday 08 January 2024 14:18:40 +0000 (0:00:00.018) 0:00:01.499 ******** included: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:8 Monday 08 January 2024 14:18:40 +0000 (0:00:00.031) 0:00:01.530 ******** 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_typefycom2fs/tests/tasks/enable_epel.yml:24 Monday 08 January 2024 14:18:40 +0000 (0:00:00.244) 0:00:01.774 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:30 Monday 08 January 2024 14:18:40 +0000 (0:00:00.013) 0:00:01.788 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:35 Monday 08 January 2024 14:18:40 +0000 (0:00:00.011) 0:00:01.799 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.267819", "end": "2024-01-08 14:18:41.748221", "rc": 0, "start": "2024-01-08 14:18:40.480402" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:40 Monday 08 January 2024 14:18:41 +0000 (0:00:01.473) 0:00:03.272 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tests_auto_gateway_initscripts.yml:10 Monday 08 January 2024 14:18:41 +0000 (0:00:00.025) 0:00:03.298 ******** 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_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:3 Monday 08 January 2024 14:18:41 +0000 (0:00:00.013) 0:00:03.311 ******** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:9 Monday 08 January 2024 14:18:42 +0000 (0:00:00.577) 0:00:03.889 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:18:42 +0000 (0:00:00.024) 0:00:03.913 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:18:42 +0000 (0:00:00.016) 0:00:03.930 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003536", "end": "2024-01-08 14:18:42.614432", "rc": 0, "start": "2024-01-08 14:18:42.610896" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:18:42 +0000 (0:00:00.196) 0:00:04.127 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:18:42 +0000 (0:00:00.012) 0:00:04.139 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:11 Monday 08 January 2024 14:18:42 +0000 (0:00:00.010) 0:00:04.150 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:18:42 +0000 (0:00:00.029) 0:00:04.179 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:18:42 +0000 (0:00:00.010) 0:00:04.190 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:18:42 +0000 (0:00:00.009) 0:00:04.199 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:18:42 +0000 (0:00:00.014) 0:00:04.214 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:18:42 +0000 (0:00:00.015) 0:00:04.229 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003795", "end": "2024-01-08 14:18:42.914046", "rc": 0, "start": "2024-01-08 14:18:42.910251" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:18:42 +0000 (0:00:00.201) 0:00:04.431 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:18:42 +0000 (0:00:00.032) 0:00:04.463 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:18:42 +0000 (0:00:00.015) 0:00:04.479 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 08 January 2024 14:18:46 +0000 (0:00:03.451) 0:00:07.930 ******** 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.012401", "end": "2024-01-08 14:18:46.629534", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-08 14:18:46.617133" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004521", "end": "2024-01-08 14:18:46.874161", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-08 14:18:46.869640" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004494", "end": "2024-01-08 14:18:47.067071", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-08 14:18:47.062577" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 08 January 2024 14:18:47 +0000 (0:00:00.663) 0:00:08.594 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.031038", "end": "2024-01-08 14:18:47.307361", "rc": 0, "start": "2024-01-08 14:18:47.276323" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 08 January 2024 14:18:47 +0000 (0:00:00.230) 0:00:08.824 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 08 January 2024 14:18:47 +0000 (0:00:00.012) 0:00:08.836 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 08 January 2024 14:18:47 +0000 (0:00:00.016) 0:00:08.853 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:18:47 +0000 (0:00:00.011) 0:00:08.864 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 08 January 2024 14:18:47 +0000 (0:00:00.016) 0:00:08.881 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:15 Monday 08 January 2024 14:18:47 +0000 (0:00:00.011) 0:00:08.893 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:18:47 +0000 (0:00:00.026) 0:00:08.919 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:18:47 +0000 (0:00:00.017) 0:00:08.937 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723526.6277695, "block_size": 4096, "blocks": 0, "ctime": 1704723526.6277695, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21766, "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": 1704723526.6277695, "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_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:18:47 +0000 (0:00:00.192) 0:00:09.129 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:17 Monday 08 January 2024 14:18:47 +0000 (0:00:00.013) 0:00:09.143 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:18:47 +0000 (0:00:00.010) 0:00:09.154 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:18:47 +0000 (0:00:00.066) 0:00:09.221 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:18:47 +0000 (0:00:00.014) 0:00:09.235 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:18:47 +0000 (0:00:00.012) 0:00:09.248 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:18:47 +0000 (0:00:00.011) 0:00:09.259 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:18:49 +0000 (0:00:01.680) 0:00:10.940 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:18:50 +0000 (0:00:01.531) 0:00:12.472 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:18:51 +0000 (0:00:00.027) 0:00:12.499 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:18:51 +0000 (0:00:00.042) 0:00:12.542 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:18:51 +0000 (0:00:00.050) 0:00:12.592 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:18:55 +0000 (0:00:04.894) 0:00:17.487 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:18:56 +0000 (0:00:00.030) 0:00:17.517 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:18:56 +0000 (0:00:00.023) 0:00:17.540 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:18:56 +0000 (0:00:00.033) 0:00:17.574 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:18:56 +0000 (0:00:00.023) 0:00:17.597 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:18:56 +0000 (0:00:00.049) 0:00:17.646 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:18:57 +0000 (0:00:00.881) 0:00:18.528 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2462qoeoz6nd/tmpy57m5ayl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:18:57 +0000 (0:00:00.320) 0:00:18.849 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:19:04 +0000 (0:00:06.778) 0:00:25.627 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:19:04 +0000 (0:00:00.024) 0:00:25.651 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:19:04 +0000 (0:00:00.050) 0:00:25.702 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:19:04 +0000 (0:00:00.025) 0:00:25.727 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:19:04 +0000 (0:00:00.028) 0:00:25.756 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:42 Monday 08 January 2024 14:19:04 +0000 (0:00:00.251) 0:00:26.008 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:19:04 +0000 (0:00:00.064) 0:00:26.072 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:19:04 +0000 (0:00:00.044) 0:00:26.117 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723526.6277695, "block_size": 4096, "blocks": 0, "ctime": 1704723526.6277695, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21766, "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": 1704723526.6277695, "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_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:19:04 +0000 (0:00:00.217) 0:00:26.334 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:44 Monday 08 January 2024 14:19:04 +0000 (0:00:00.039) 0:00:26.374 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:19:04 +0000 (0:00:00.076) 0:00:26.451 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:19:05 +0000 (0:00:00.044) 0:00:26.495 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:19:05 +0000 (0:00:00.077) 0:00:26.573 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723537.7796934, "block_size": 4096, "blocks": 8, "ctime": 1704723537.7576942, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704723537.7576942, "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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:19:05 +0000 (0:00:00.210) 0:00:26.784 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:19:05 +0000 (0:00:00.029) 0:00:26.813 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021954", "end": "2024-01-08 14:19:05.516388", "rc": 1, "start": "2024-01-08 14:19:05.494434" } 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:19:05 +0000 (0:00:00.228) 0:00:27.041 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:19:05 +0000 (0:00:00.025) 0:00:27.067 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003352", "end": "2024-01-08 14:19:05.753712", "rc": 0, "start": "2024-01-08 14:19:05.750360" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:19:05 +0000 (0:00:00.213) 0:00:27.280 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:19:05 +0000 (0:00:00.027) 0:00:27.308 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003388", "end": "2024-01-08 14:19:05.996390", "rc": 0, "start": "2024-01-08 14:19:05.993002" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:19:06 +0000 (0:00:00.215) 0:00:27.523 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:19:06 +0000 (0:00:00.029) 0:00:27.553 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:19:06 +0000 (0:00:00.027) 0:00:27.580 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:19:06 +0000 (0:00:00.035) 0:00:27.615 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:48 Monday 08 January 2024 14:19:06 +0000 (0:00:00.027) 0:00:27.642 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004029", "end": "2024-01-08 14:19:06.334074", "rc": 0, "start": "2024-01-08 14:19:06.330045" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.211 metric 100 default via 203.0.113.1 dev veth0 metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.211 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_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:52 Monday 08 January 2024 14:19:06 +0000 (0:00:00.218) 0:00:27.860 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:58 Monday 08 January 2024 14:19:06 +0000 (0:00:00.072) 0:00:27.932 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004161", "end": "2024-01-08 14:19:06.626755", "rc": 0, "start": "2024-01-08 14:19:06.622594" } 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_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:62 Monday 08 January 2024 14:19:06 +0000 (0:00:00.227) 0:00:28.160 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:69 Monday 08 January 2024 14:19:06 +0000 (0:00:00.024) 0:00:28.185 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:19:06 +0000 (0:00:00.032) 0:00:28.217 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:19:06 +0000 (0:00:00.043) 0:00:28.261 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:19:06 +0000 (0:00:00.072) 0:00:28.333 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:19:06 +0000 (0:00:00.033) 0:00:28.366 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:19:06 +0000 (0:00:00.023) 0:00:28.390 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:19:08 +0000 (0:00:01.691) 0:00:30.082 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:19:09 +0000 (0:00:01.398) 0:00:31.480 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:19:10 +0000 (0:00:00.046) 0:00:31.526 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:19:10 +0000 (0:00:00.024) 0:00:31.551 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:19:10 +0000 (0:00:00.026) 0:00:31.578 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:19:10 +0000 (0:00:00.051) 0:00:31.630 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:19:10 +0000 (0:00:00.027) 0:00:31.657 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:19:10 +0000 (0:00:00.023) 0:00:31.681 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:19:10 +0000 (0:00:00.025) 0:00:31.707 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:19:10 +0000 (0:00:00.030) 0:00:31.737 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:19:10 +0000 (0:00:00.023) 0:00:31.760 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:19:10 +0000 (0:00:00.422) 0:00:32.183 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2462qoeoz6nd/tmp2ifqxtjp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:19:11 +0000 (0:00:00.326) 0:00:32.510 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:19:11 +0000 (0:00:00.455) 0:00:32.966 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:19:11 +0000 (0:00:00.025) 0:00:32.991 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:19:11 +0000 (0:00:00.028) 0:00:33.019 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:19:11 +0000 (0:00:00.025) 0:00:33.045 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:19:11 +0000 (0:00:00.024) 0:00:33.069 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:81 Monday 08 January 2024 14:19:11 +0000 (0:00:00.236) 0:00:33.306 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:19:11 +0000 (0:00:00.060) 0:00:33.366 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:19:11 +0000 (0:00:00.028) 0:00:33.394 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:19:11 +0000 (0:00:00.025) 0:00:33.420 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:19:12 +0000 (0:00:00.104) 0:00:33.525 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:19:12 +0000 (0:00:00.050) 0:00:33.576 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003528", "end": "2024-01-08 14:19:12.266078", "rc": 0, "start": "2024-01-08 14:19:12.262550" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:19:12 +0000 (0:00:00.225) 0:00:33.801 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:19:12 +0000 (0:00:00.030) 0:00:33.831 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:19:12 +0000 (0:00:00.048) 0:00:33.880 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 08 January 2024 14:19:15 +0000 (0:00:03.102) 0:00:36.982 ******** 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_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 08 January 2024 14:19:15 +0000 (0:00:00.033) 0:00:37.015 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 08 January 2024 14:19:15 +0000 (0:00:00.054) 0:00:37.070 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012383", "end": "2024-01-08 14:19:15.768869", "rc": 0, "start": "2024-01-08 14:19:15.756486" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 08 January 2024 14:19:15 +0000 (0:00:00.226) 0:00:37.296 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 08 January 2024 14:19:15 +0000 (0:00:00.024) 0:00:37.321 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:19:15 +0000 (0:00:00.033) 0:00:37.354 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 08 January 2024 14:19:15 +0000 (0:00:00.026) 0:00:37.381 ******** 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_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:85 Monday 08 January 2024 14:19:15 +0000 (0:00:00.056) 0:00:37.437 ******** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:89 Monday 08 January 2024 14:19:15 +0000 (0:00:00.039) 0:00:37.477 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:19:16 +0000 (0:00:00.058) 0:00:37.536 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:19:16 +0000 (0:00:00.023) 0:00:37.559 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:19:16 +0000 (0:00:00.023) 0:00:37.583 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:19:16 +0000 (0:00:00.040) 0:00:37.623 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:19:16 +0000 (0:00:00.042) 0:00:37.665 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003569", "end": "2024-01-08 14:19:16.351210", "rc": 0, "start": "2024-01-08 14:19:16.347641" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:19:16 +0000 (0:00:00.228) 0:00:37.894 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:19:16 +0000 (0:00:00.027) 0:00:37.922 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:19:16 +0000 (0:00:00.025) 0:00:37.948 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 08 January 2024 14:19:19 +0000 (0:00:03.088) 0:00:41.036 ******** 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.017512", "end": "2024-01-08 14:19:19.756669", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-01-08 14:19:19.739157" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004170", "end": "2024-01-08 14:19:20.011091", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-01-08 14:19:20.006921" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004603", "end": "2024-01-08 14:19:20.217015", "item": "ip link set veth0 up", "rc": 0, "start": "2024-01-08 14:19:20.212412" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 08 January 2024 14:19:20 +0000 (0:00:00.711) 0:00:41.748 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024589", "end": "2024-01-08 14:19:20.462274", "rc": 0, "start": "2024-01-08 14:19:20.437685" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 08 January 2024 14:19:20 +0000 (0:00:00.255) 0:00:42.004 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 08 January 2024 14:19:20 +0000 (0:00:00.066) 0:00:42.070 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 08 January 2024 14:19:20 +0000 (0:00:00.032) 0:00:42.102 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:19:20 +0000 (0:00:00.042) 0:00:42.144 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 08 January 2024 14:19:20 +0000 (0:00:00.039) 0:00:42.184 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:19:20 +0000 (0:00:00.030) 0:00:42.214 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:19:20 +0000 (0:00:00.045) 0:00:42.259 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:19:20 +0000 (0:00:00.043) 0:00:42.302 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:19:20 +0000 (0:00:00.035) 0:00:42.338 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:19:20 +0000 (0:00:00.024) 0:00:42.362 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:19:22 +0000 (0:00:01.741) 0:00:44.104 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:19:23 +0000 (0:00:01.339) 0:00:45.443 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:19:24 +0000 (0:00:00.060) 0:00:45.504 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:19:24 +0000 (0:00:00.043) 0:00:45.547 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:19:24 +0000 (0:00:00.050) 0:00:45.598 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:19:24 +0000 (0:00:00.113) 0:00:45.711 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:19:24 +0000 (0:00:00.059) 0:00:45.770 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:19:24 +0000 (0:00:00.049) 0:00:45.820 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:19:24 +0000 (0:00:00.060) 0:00:45.880 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:19:24 +0000 (0:00:00.078) 0:00:45.958 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:19:24 +0000 (0:00:00.076) 0:00:46.035 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:19:24 +0000 (0:00:00.390) 0:00:46.426 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2462qoeoz6nd/tmpfnyx5c1m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:19:25 +0000 (0:00:00.362) 0:00:46.788 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:19:31 +0000 (0:00:06.548) 0:00:53.337 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:19:31 +0000 (0:00:00.045) 0:00:53.382 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:19:31 +0000 (0:00:00.067) 0:00:53.450 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:19:31 +0000 (0:00:00.027) 0:00:53.478 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:19:32 +0000 (0:00:00.024) 0:00:53.503 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:110 Monday 08 January 2024 14:19:32 +0000 (0:00:00.245) 0:00:53.748 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:19:32 +0000 (0:00:00.056) 0:00:53.805 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:19:32 +0000 (0:00:00.038) 0:00:53.843 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723559.7431357, "block_size": 4096, "blocks": 0, "ctime": 1704723559.7431357, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22352, "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": 1704723559.7431357, "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_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:19:32 +0000 (0:00:00.208) 0:00:54.051 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:112 Monday 08 January 2024 14:19:32 +0000 (0:00:00.029) 0:00:54.080 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:19:32 +0000 (0:00:00.057) 0:00:54.138 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:19:32 +0000 (0:00:00.053) 0:00:54.191 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:19:32 +0000 (0:00:00.029) 0:00:54.221 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704723565.590496, "block_size": 4096, "blocks": 8, "ctime": 1704723565.569497, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704723565.569497, "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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:19:32 +0000 (0:00:00.224) 0:00:54.445 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:19:33 +0000 (0:00:00.082) 0:00:54.528 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022130", "end": "2024-01-08 14:19:33.251734", "rc": 1, "start": "2024-01-08 14:19:33.229604" } 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:19:33 +0000 (0:00:00.252) 0:00:54.781 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:19:33 +0000 (0:00:00.028) 0:00:54.809 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003565", "end": "2024-01-08 14:19:33.554363", "rc": 0, "start": "2024-01-08 14:19:33.550798" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:19:33 +0000 (0:00:00.290) 0:00:55.100 ******** 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_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:19:33 +0000 (0:00:00.035) 0:00:55.135 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-veth0" ], "delta": "0:00:00.003552", "end": "2024-01-08 14:19:33.835751", "rc": 0, "start": "2024-01-08 14:19:33.832199" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:19:33 +0000 (0:00:00.250) 0:00:55.386 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:19:33 +0000 (0:00:00.052) 0:00:55.438 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:19:33 +0000 (0:00:00.037) 0:00:55.476 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:19:34 +0000 (0:00:00.053) 0:00:55.530 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:116 Monday 08 January 2024 14:19:34 +0000 (0:00:00.068) 0:00:55.599 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004036", "end": "2024-01-08 14:19:34.292657", "rc": 0, "start": "2024-01-08 14:19:34.288621" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.14.211 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.14.211 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_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:120 Monday 08 January 2024 14:19:34 +0000 (0:00:00.243) 0:00:55.842 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:126 Monday 08 January 2024 14:19:34 +0000 (0:00:00.070) 0:00:55.912 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004069", "end": "2024-01-08 14:19:34.606752", "rc": 0, "start": "2024-01-08 14:19:34.602683" } 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_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:130 Monday 08 January 2024 14:19:34 +0000 (0:00:00.230) 0:00:56.143 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:137 Monday 08 January 2024 14:19:34 +0000 (0:00:00.035) 0:00:56.178 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:19:34 +0000 (0:00:00.107) 0:00:56.286 ******** included: /WORKDIR/git-route_typefycom2fs/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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:19:34 +0000 (0:00:00.047) 0:00:56.333 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:19:34 +0000 (0:00:00.044) 0:00:56.378 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:19:34 +0000 (0:00:00.054) 0:00:56.433 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:19:34 +0000 (0:00:00.026) 0:00:56.459 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:19:36 +0000 (0:00:01.708) 0:00:58.168 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:19:38 +0000 (0:00:01.356) 0:00:59.524 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:19:38 +0000 (0:00:00.031) 0:00:59.555 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:19:38 +0000 (0:00:00.074) 0:00:59.630 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:19:38 +0000 (0:00:00.026) 0:00:59.656 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:19:38 +0000 (0:00:00.062) 0:00:59.719 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:19:38 +0000 (0:00:00.037) 0:00:59.756 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:19:38 +0000 (0:00:00.032) 0:00:59.789 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:19:38 +0000 (0:00:00.028) 0:00:59.817 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:19:38 +0000 (0:00:00.024) 0:00:59.842 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:19:38 +0000 (0:00:00.023) 0:00:59.865 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:19:38 +0000 (0:00:00.371) 0:01:00.237 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2462qoeoz6nd/tmpwolhgf_8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:19:39 +0000 (0:00:00.417) 0:01:00.655 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:19:39 +0000 (0:00:00.458) 0:01:01.113 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:19:39 +0000 (0:00:00.023) 0:01:01.136 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:19:39 +0000 (0:00:00.024) 0:01:01.160 ******** 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_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:19:39 +0000 (0:00:00.074) 0:01:01.234 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:19:39 +0000 (0:00:00.032) 0:01:01.266 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_auto_gateway.yml:149 Monday 08 January 2024 14:19:39 +0000 (0:00:00.206) 0:01:01.473 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:19:40 +0000 (0:00:00.069) 0:01:01.542 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:19:40 +0000 (0:00:00.037) 0:01:01.580 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:19:40 +0000 (0:00:00.038) 0:01:01.619 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:19:40 +0000 (0:00:00.039) 0:01:01.658 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:19:40 +0000 (0:00:00.039) 0:01:01.698 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003539", "end": "2024-01-08 14:19:40.383352", "rc": 0, "start": "2024-01-08 14:19:40.379813" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:19:40 +0000 (0:00:00.222) 0:01:01.921 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:19:40 +0000 (0:00:00.037) 0:01:01.958 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:19:40 +0000 (0:00:00.029) 0:01:01.987 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 08 January 2024 14:19:43 +0000 (0:00:03.079) 0:01:05.067 ******** 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_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 08 January 2024 14:19:43 +0000 (0:00:00.035) 0:01:05.102 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 08 January 2024 14:19:43 +0000 (0:00:00.026) 0:01:05.129 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011254", "end": "2024-01-08 14:19:43.827243", "rc": 0, "start": "2024-01-08 14:19:43.815989" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 08 January 2024 14:19:43 +0000 (0:00:00.226) 0:01:05.355 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 08 January 2024 14:19:43 +0000 (0:00:00.025) 0:01:05.380 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:19:43 +0000 (0:00:00.024) 0:01:05.405 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 08 January 2024 14:19:43 +0000 (0:00:00.024) 0:01:05.430 ******** 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 Monday 08 January 2024 14:19:43 +0000 (0:00:00.016) 0:01:05.446 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 6.78s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 6.55s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Install packages --------------------------- 4.89s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Install iproute --------------------------------------------------------- 3.45s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.10s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.09s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.08s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.53s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Enable EPEL 8 ----------------------------------------------------------- 1.47s /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:35 ---------------- linux-system-roles.network : Check which packages are installed --------- 1.40s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.36s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.34s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.91s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 0.88s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Enable network service --------------------- 0.79s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.74s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---