# 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_vlan_mtu_initscripts.yml *************************************** 2 plays in /WORKDIR/git-route_typelyhsdo9y/tests/tests_vlan_mtu_initscripts.yml PLAY [Run playbook 'playbooks/tests_vlan_mtu.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/tests_vlan_mtu_initscripts.yml:5 Thursday 11 January 2024 02:56:57 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/tests_vlan_mtu_initscripts.yml:8 Thursday 11 January 2024 02:56:58 +0000 (0:00:00.874) 0:00:00.886 ****** included: /WORKDIR/git-route_typelyhsdo9y/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_typelyhsdo9y/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 02:56:58 +0000 (0:00:00.013) 0:00:00.900 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 02:56:58 +0000 (0:00:00.238) 0:00:01.138 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 02:56:59 +0000 (0:00:00.170) 0:00:01.308 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 02:56:59 +0000 (0:00:00.021) 0:00:01.329 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 02:56:59 +0000 (0:00:00.018) 0:00:01.348 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 02:56:59 +0000 (0:00:00.033) 0:00:01.381 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 02:56:59 +0000 (0:00:00.011) 0:00:01.392 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 02:56:59 +0000 (0:00:00.010) 0:00:01.403 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 02:56:59 +0000 (0:00:00.010) 0:00:01.413 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 02:56:59 +0000 (0:00:00.010) 0:00:01.424 ****** ok: [sut] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/tests_vlan_mtu_initscripts.yml:10 Thursday 11 January 2024 02:56:59 +0000 (0:00:00.430) 0:00:01.855 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing vlan mtu setting] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_vlan_mtu.yml:3 Thursday 11 January 2024 02:56:59 +0000 (0:00:00.012) 0:00:01.867 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_vlan_mtu.yml:10 Thursday 11 January 2024 02:57:00 +0000 (0:00:00.697) 0:00:02.565 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:57:00 +0000 (0:00:00.020) 0:00:02.585 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:57:00 +0000 (0:00:00.015) 0:00:02.601 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003167", "end": "2024-01-11 02:57:00.687227", "rc": 0, "start": "2024-01-11 02:57:00.684060" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:57:00 +0000 (0:00:00.188) 0:00:02.790 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:57:00 +0000 (0:00:00.013) 0:00:02.804 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_vlan_mtu.yml:12 Thursday 11 January 2024 02:57:00 +0000 (0:00:00.011) 0:00:02.816 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:57:00 +0000 (0:00:00.024) 0:00:02.840 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:57:00 +0000 (0:00:00.011) 0:00:02.852 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:57:00 +0000 (0:00:00.011) 0:00:02.864 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:57:00 +0000 (0:00:00.016) 0:00:02.880 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:57:00 +0000 (0:00:00.015) 0:00:02.896 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003218", "end": "2024-01-11 02:57:00.917090", "rc": 0, "start": "2024-01-11 02:57:00.913872" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:57:00 +0000 (0:00:00.124) 0:00:03.020 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:57:00 +0000 (0:00:00.013) 0:00:03.033 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:57:00 +0000 (0:00:00.012) 0:00:03.045 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 02:57:01 +0000 (0:00:00.522) 0:00:03.568 ****** ok: [sut] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "lsr101", "type", "veth", "peer", "name", "peerlsr101" ], "delta": "0:00:00.003583", "end": "2024-01-11 02:57:01.591525", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-01-11 02:57:01.587942" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.004751", "end": "2024-01-11 02:57:01.767260", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-01-11 02:57:01.762509" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.003590", "end": "2024-01-11 02:57:01.898283", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-01-11 02:57:01.894693" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 02:57:01 +0000 (0:00:00.433) 0:00:04.002 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.018233", "end": "2024-01-11 02:57:02.035840", "rc": 2, "start": "2024-01-11 02:57:02.017607" } STDERR: Error: 'dev' command 'set' is not valid. MSG: non-zero return code ...ignoring TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 02:57:01 +0000 (0:00:00.137) 0:00:04.140 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 02:57:01 +0000 (0:00:00.012) 0:00:04.153 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 02:57:01 +0000 (0:00:00.012) 0:00:04.166 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:57:02 +0000 (0:00:00.012) 0:00:04.179 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 02:57:02 +0000 (0:00:00.012) 0:00:04.191 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_vlan_mtu.yml:16 Thursday 11 January 2024 02:57:02 +0000 (0:00:00.011) 0:00:04.203 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:57:02 +0000 (0:00:00.023) 0:00:04.226 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:57:02 +0000 (0:00:00.016) 0:00:04.243 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704941821.65258, "block_size": 4096, "blocks": 0, "ctime": 1704941821.61258, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6603, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101", "lnk_target": "../../devices/virtual/net/lsr101", "mode": "0777", "mtime": 1704941821.61258, "nlink": 1, "path": "/sys/class/net/lsr101", "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 - 'lsr101'] ************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:57:02 +0000 (0:00:00.125) 0:00:04.369 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure the MTU for a vlan interface without autoconnect.] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_vlan_mtu.yml:18 Thursday 11 January 2024 02:57:02 +0000 (0:00:00.014) 0:00:04.383 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:57:02 +0000 (0:00:00.011) 0:00:04.395 ****** included: /WORKDIR/git-route_typelyhsdo9y/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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:57:02 +0000 (0:00:00.067) 0:00:04.463 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:57:02 +0000 (0:00:00.013) 0:00:04.476 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:57:02 +0000 (0:00:00.012) 0:00:04.489 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:57:02 +0000 (0:00:00.012) 0:00:04.501 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:57:04 +0000 (0:00:01.799) 0:00:06.300 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:57:04 +0000 (0:00:00.743) 0:00:07.044 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:57:04 +0000 (0:00:00.022) 0:00:07.066 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:57:04 +0000 (0:00:00.021) 0:00:07.087 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:57:04 +0000 (0:00:00.021) 0:00:07.108 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:57:04 +0000 (0:00:00.042) 0:00:07.150 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:57:04 +0000 (0:00:00.020) 0:00:07.171 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:57:05 +0000 (0:00:00.021) 0:00:07.193 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:57:05 +0000 (0:00:00.023) 0:00:07.216 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:57:05 +0000 (0:00:00.020) 0:00:07.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:57:05 +0000 (0:00:00.020) 0:00:07.258 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:57:05 +0000 (0:00:00.267) 0:00:07.526 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1611917wz669h/tmpp2m_f1ra" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:57:05 +0000 (0:00:00.188) 0:00:07.714 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101' [006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90' [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified) [008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='', err='' [009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active) [010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:57:06 +0000 (0:00:00.756) 0:00:08.470 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:57:06 +0000 (0:00:00.021) 0:00:08.492 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='', err=''", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:57:06 +0000 (0:00:00.022) 0:00:08.514 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1492, "name": "lsr101", "state": "up", "type": "ethernet" }, { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "mtu": 1280, "name": "lsr101.90", "parent": "lsr101", "state": "up", "type": "vlan", "vlan_id": 90 } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'\n[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)\n[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='', err=''\n[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)\n[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='', err=''\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add ifcfg-rh profile 'lsr101'", "[006] #1, state:up persistent_state:present, 'lsr101.90': add ifcfg-rh profile 'lsr101.90'", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101 (is-modified)", "[008] #0, state:up persistent_state:present, 'lsr101': call 'ifup lsr101': rc=0, out='', err=''", "[009] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90 (not-active)", "[010] #1, state:up persistent_state:present, 'lsr101.90': call 'ifup lsr101.90': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:57:06 +0000 (0:00:00.023) 0:00:08.538 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:57:06 +0000 (0:00:00.020) 0:00:08.559 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_vlan_mtu.yml:46 Thursday 11 January 2024 02:57:06 +0000 (0:00:00.171) 0:00:08.730 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:57:06 +0000 (0:00:00.040) 0:00:08.770 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:57:06 +0000 (0:00:00.033) 0:00:08.804 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704941826.26458, "block_size": 4096, "blocks": 0, "ctime": 1704941826.26358, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6721, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr101.90", "lnk_target": "../../devices/virtual/net/lsr101.90", "mode": "0777", "mtime": 1704941826.26358, "nlink": 1, "path": "/sys/class/net/lsr101.90", "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 - 'lsr101.90'] ********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:57:06 +0000 (0:00:00.126) 0:00:08.931 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_vlan_mtu.yml:50 Thursday 11 January 2024 02:57:06 +0000 (0:00:00.023) 0:00:08.955 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml for sut included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:57:06 +0000 (0:00:00.045) 0:00:09.000 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:57:06 +0000 (0:00:00.035) 0:00:09.035 ****** 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_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:57:06 +0000 (0:00:00.045) 0:00:09.081 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704941825.96758, "block_size": 4096, "blocks": 8, "ctime": 1704941825.95558, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704941825.95558, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 136, "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_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.126) 0:00:09.208 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.022) 0:00:09.231 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.006490", "end": "2024-01-11 02:57:07.252913", "rc": 1, "start": "2024-01-11 02:57:07.246423" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.133) 0:00:09.364 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101] ************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.021) 0:00:09.386 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003018", "end": "2024-01-11 02:57:07.406290", "rc": 0, "start": "2024-01-11 02:57:07.403272" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.132) 0:00:09.519 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.026) 0:00:09.545 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003092", "end": "2024-01-11 02:57:07.568062", "rc": 0, "start": "2024-01-11 02:57:07.564970" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.135) 0:00:09.680 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.025) 0:00:09.706 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.024) 0:00:09.731 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.023) 0:00:09.754 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.021) 0:00:09.776 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.034) 0:00:09.811 ****** 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_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.021) 0:00:09.833 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704941826.02558, "block_size": 4096, "blocks": 8, "ctime": 1704941825.95558, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 39312, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704941825.95558, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101.90", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 166, "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_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.129) 0:00:09.962 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.022) 0:00:09.985 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.006956", "end": "2024-01-11 02:57:08.006501", "rc": 1, "start": "2024-01-11 02:57:07.999545" } STDERR: Error: Object 'connection' is unknown, try 'nmcli help'. 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_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.133) 0:00:10.118 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101.90] ********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:57:07 +0000 (0:00:00.022) 0:00:10.140 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003100", "end": "2024-01-11 02:57:08.162535", "rc": 0, "start": "2024-01-11 02:57:08.159435" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:57:08 +0000 (0:00:00.134) 0:00:10.274 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-lsr101.90] ************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:57:08 +0000 (0:00:00.026) 0:00:10.301 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003053", "end": "2024-01-11 02:57:08.320583", "rc": 0, "start": "2024-01-11 02:57:08.317530" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:57:08 +0000 (0:00:00.132) 0:00:10.434 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101.90'] ************************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:57:08 +0000 (0:00:00.026) 0:00:10.461 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101.90'] ******* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:57:08 +0000 (0:00:00.023) 0:00:10.484 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:57:08 +0000 (0:00:00.023) 0:00:10.507 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_vlan_mtu.yml:58 Thursday 11 January 2024 02:57:08 +0000 (0:00:00.022) 0:00:10.529 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:57:08 +0000 (0:00:00.020) 0:00:10.550 ****** included: /WORKDIR/git-route_typelyhsdo9y/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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:57:08 +0000 (0:00:00.036) 0:00:10.586 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:57:08 +0000 (0:00:00.024) 0:00:10.611 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:57:08 +0000 (0:00:00.044) 0:00:10.656 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:57:08 +0000 (0:00:00.021) 0:00:10.677 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:57:10 +0000 (0:00:01.556) 0:00:12.234 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:57:10 +0000 (0:00:00.574) 0:00:12.808 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:57:10 +0000 (0:00:00.022) 0:00:12.831 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:57:10 +0000 (0:00:00.021) 0:00:12.852 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:57:10 +0000 (0:00:00.040) 0:00:12.893 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:57:10 +0000 (0:00:00.044) 0:00:12.937 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:57:10 +0000 (0:00:00.021) 0:00:12.958 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:57:10 +0000 (0:00:00.021) 0:00:12.979 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:57:10 +0000 (0:00:00.024) 0:00:13.004 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:57:10 +0000 (0:00:00.020) 0:00:13.025 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:57:10 +0000 (0:00:00.021) 0:00:13.046 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:57:11 +0000 (0:00:00.185) 0:00:13.232 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-1611917wz669h/tmpapkr3gny" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:57:11 +0000 (0:00:00.187) 0:00:13.419 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active) [006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='', err='' [007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active [008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101' [009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:57:11 +0000 (0:00:00.386) 0:00:13.805 ****** 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_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:57:11 +0000 (0:00:00.020) 0:00:13.826 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='', err=''", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:57:11 +0000 (0:00:00.022) 0:00:13.849 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "lsr101", "persistent_state": "absent", "state": "down" }, { "name": "lsr101.90", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)\n[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='', err=''\n[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active\n[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'\n[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'\n", "stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'lsr101': up connection lsr101 (active)", "[006] #0, state:down persistent_state:absent, 'lsr101': call 'ifdown lsr101': rc=0, out='', err=''", "[007] #1, state:down persistent_state:absent, 'lsr101.90': down connection lsr101.90 skipped because not active", "[008] #0, state:down persistent_state:absent, 'lsr101': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101'", "[009] #1, state:down persistent_state:absent, 'lsr101.90': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr101.90'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:57:11 +0000 (0:00:00.022) 0:00:13.871 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:57:11 +0000 (0:00:00.020) 0:00:13.892 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_vlan_mtu.yml:73 Thursday 11 January 2024 02:57:11 +0000 (0:00:00.147) 0:00:14.040 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 11 January 2024 02:57:11 +0000 (0:00:00.044) 0:00:14.084 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 11 January 2024 02:57:11 +0000 (0:00:00.020) 0:00:14.105 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 11 January 2024 02:57:11 +0000 (0:00:00.021) 0:00:14.126 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:57:11 +0000 (0:00:00.033) 0:00:14.160 ****** included: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:57:12 +0000 (0:00:00.033) 0:00:14.193 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003190", "end": "2024-01-11 02:57:12.215872", "rc": 0, "start": "2024-01-11 02:57:12.212682" } STDOUT: dummy0 eth0 lo lsr101 lsr101.90 peerlsr101 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:57:12 +0000 (0:00:00.133) 0:00:14.327 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo", "lsr101", "lsr101.90", "peerlsr101" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:57:12 +0000 (0:00:00.022) 0:00:14.349 ****** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo', 'lsr101', 'lsr101.90', 'peerlsr101'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 11 January 2024 02:57:12 +0000 (0:00:00.021) 0:00:14.371 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-2.6.32-57.el6.x86_64 providing iproute is already installed" ] } TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 11 January 2024 02:57:12 +0000 (0:00:00.389) 0:00:14.760 ****** skipping: [sut] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add lsr101 type veth peer name peerlsr101", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerlsr101 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set lsr101 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 11 January 2024 02:57:12 +0000 (0:00:00.030) 0:00:14.791 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 11 January 2024 02:57:12 +0000 (0:00:00.021) 0:00:14.813 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.070838", "end": "2024-01-11 02:57:12.935769", "rc": 0, "start": "2024-01-11 02:57:12.864931" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 11 January 2024 02:57:12 +0000 (0:00:00.250) 0:00:15.063 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 11 January 2024 02:57:12 +0000 (0:00:00.022) 0:00:15.085 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 11 January 2024 02:57:12 +0000 (0:00:00.022) 0:00:15.107 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 11 January 2024 02:57:12 +0000 (0:00:00.022) 0:00:15.130 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=87 changed=2 unreachable=0 failed=0 skipped=48 rescued=0 ignored=3 Thursday 11 January 2024 02:57:12 +0000 (0:00:00.008) 0:00:15.139 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.80s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.87s /WORKDIR/git-route_typelyhsdo9y/tests/tests_vlan_mtu_initscripts.yml:5 -------- linux-system-roles.network : Configure networking connection profiles --- 0.76s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 0.74s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tests_vlan_mtu.yml:3 ---------- linux-system-roles.network : Check which packages are installed --------- 0.57s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.52s /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:16 Create veth interface lsr101 -------------------------------------------- 0.43s /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:24 Enable EPEL 6 ----------------------------------------------------------- 0.43s /WORKDIR/git-route_typelyhsdo9y/tests/tasks/enable_epel.yml:40 ---------------- Install iproute --------------------------------------------------------- 0.39s /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.39s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 0.27s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 Delete veth interface lsr101 -------------------------------------------- 0.25s /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/manage_test_interface.yml:41 Gather the minimum subset of ansible_facts required by the network role test --- 0.24s /WORKDIR/git-route_typelyhsdo9y/tests/tasks/el_repo_setup.yml:3 --------------- Gather current interface info ------------------------------------------- 0.19s /WORKDIR/git-route_typelyhsdo9y/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.19s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.19s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 0.19s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Re-test connectivity ----------------------- 0.17s /WORKDIR/git-route_typelyhsdo9y/tests/roles/linux-system-roles.network/tasks/main.yml:155 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---