# 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_typebobucd4n/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_typebobucd4n/tests/tests_vlan_mtu_initscripts.yml:5 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.016) 0:00:00.016 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typebobucd4n/tests/tests_vlan_mtu_initscripts.yml:8 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.910) 0:00:00.926 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.023) 0:00:00.950 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.237) 0:00:01.187 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.190) 0:00:01.378 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.036) 0:00:01.414 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.020) 0:00:01.435 ******* included: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.035) 0:00:01.470 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.029) 0:00:01.500 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.011) 0:00:01.511 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.010) 0:00:01.522 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.010) 0:00:01.533 ******* 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_typebobucd4n/tests/tests_vlan_mtu_initscripts.yml:10 Tuesday 09 January 2024 20:15:17 +0000 (0:00:00.442) 0:00:01.975 ******* 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_typebobucd4n/tests/playbooks/tests_vlan_mtu.yml:3 Tuesday 09 January 2024 20:15:17 +0000 (0:00:00.012) 0:00:01.988 ******* ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_vlan_mtu.yml:10 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.730) 0:00:02.718 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.021) 0:00:02.739 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.016) 0:00:02.756 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003216", "end": "2024-01-09 20:15:18.347578", "rc": 0, "start": "2024-01-09 20:15:18.344362" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.185) 0:00:02.941 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.015) 0:00:02.956 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_vlan_mtu.yml:12 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.018) 0:00:02.974 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.027) 0:00:03.001 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.017) 0:00:03.018 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.014) 0:00:03.033 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.017) 0:00:03.050 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.016) 0:00:03.066 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003237", "end": "2024-01-09 20:15:18.613651", "rc": 0, "start": "2024-01-09 20:15:18.610414" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.125) 0:00:03.192 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.014) 0:00:03.206 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:15:18 +0000 (0:00:00.013) 0:00:03.219 ******* 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_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.532) 0:00:03.752 ******* 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.003348", "end": "2024-01-09 20:15:19.314332", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-01-09 20:15:19.310984" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.004929", "end": "2024-01-09 20:15:19.493664", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-01-09 20:15:19.488735" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.003481", "end": "2024-01-09 20:15:19.613380", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-01-09 20:15:19.609899" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.439) 0:00:04.191 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.023076", "end": "2024-01-09 20:15:19.760831", "rc": 2, "start": "2024-01-09 20:15:19.737755" } STDERR: Error: 'dev' command 'set' is not valid. MSG: non-zero return code ...ignoring TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.162) 0:00:04.353 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.021) 0:00:04.375 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.020) 0:00:04.396 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.027) 0:00:04.423 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.013) 0:00:04.437 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_vlan_mtu.yml:16 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.019) 0:00:04.456 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.050) 0:00:04.507 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.019) 0:00:04.527 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831319.4512885, "block_size": 4096, "blocks": 0, "ctime": 1704831319.4322886, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6613, "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": 1704831319.4322886, "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_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:15:20 +0000 (0:00:00.140) 0:00:04.667 ******* 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_typebobucd4n/tests/playbooks/tests_vlan_mtu.yml:18 Tuesday 09 January 2024 20:15:20 +0000 (0:00:00.014) 0:00:04.682 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:20 +0000 (0:00:00.012) 0:00:04.694 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:20 +0000 (0:00:00.070) 0:00:04.765 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:20 +0000 (0:00:00.015) 0:00:04.780 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:20 +0000 (0:00:00.013) 0:00:04.793 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:20 +0000 (0:00:00.012) 0:00:04.806 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:22 +0000 (0:00:01.858) 0:00:06.664 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.719) 0:00:07.384 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.023) 0:00:07.407 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.023) 0:00:07.431 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.051) 0:00:07.483 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.044) 0:00:07.528 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.034) 0:00:07.562 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:22 +0000 (0:00:00.022) 0:00:07.584 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:23 +0000 (0:00:00.024) 0:00:07.609 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:23 +0000 (0:00:00.026) 0:00:07.636 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:23 +0000 (0:00:00.021) 0:00:07.657 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:23 +0000 (0:00:00.273) 0:00:07.931 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16623u7a2zdve/tmp7mas4gpv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:23 +0000 (0:00:00.191) 0:00:08.123 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.728) 0:00:08.851 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.021) 0:00:08.872 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.022) 0:00:08.895 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.022) 0:00:08.918 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.043) 0:00:08.961 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_vlan_mtu.yml:46 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.170) 0:00:09.132 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.042) 0:00:09.174 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.038) 0:00:09.213 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831324.2112885, "block_size": 4096, "blocks": 0, "ctime": 1704831324.1932886, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6731, "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": 1704831324.1932886, "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_typebobucd4n/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.139) 0:00:09.352 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_vlan_mtu.yml:50 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.026) 0:00:09.379 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml for sut included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.063) 0:00:09.443 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.038) 0:00:09.481 ******* 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.027) 0:00:09.509 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831323.9002886, "block_size": 4096, "blocks": 8, "ctime": 1704831323.8882885, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704831323.8882885, "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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.138) 0:00:09.647 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.034) 0:00:09.682 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.006294", "end": "2024-01-09 20:15:25.236131", "rc": 1, "start": "2024-01-09 20:15:25.229837" } 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.166) 0:00:09.849 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101] ************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.024) 0:00:09.873 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003125", "end": "2024-01-09 20:15:25.422868", "rc": 0, "start": "2024-01-09 20:15:25.419743" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.137) 0:00:10.010 ******* 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.037) 0:00:10.048 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003067", "end": "2024-01-09 20:15:25.599015", "rc": 0, "start": "2024-01-09 20:15:25.595948" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.137) 0:00:10.186 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.028) 0:00:10.214 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.026) 0:00:10.241 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.027) 0:00:10.268 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.043) 0:00:10.312 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.039) 0:00:10.351 ******* 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.022) 0:00:10.374 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831323.9542885, "block_size": 4096, "blocks": 8, "ctime": 1704831323.8882885, "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": 1704831323.8882885, "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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.129) 0:00:10.503 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.025) 0:00:10.528 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.006525", "end": "2024-01-09 20:15:26.087109", "rc": 1, "start": "2024-01-09 20:15:26.080584" } 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.144) 0:00:10.673 ******* 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.057) 0:00:10.731 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003033", "end": "2024-01-09 20:15:26.281375", "rc": 0, "start": "2024-01-09 20:15:26.278342" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.138) 0:00:10.869 ******* 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_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.029) 0:00:10.899 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003080", "end": "2024-01-09 20:15:26.467533", "rc": 0, "start": "2024-01-09 20:15:26.464453" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.173) 0:00:11.072 ******* 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_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.054) 0:00:11.126 ******* 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_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.027) 0:00:11.154 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.023) 0:00:11.178 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_vlan_mtu.yml:58 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.025) 0:00:11.203 ******* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.023) 0:00:11.227 ******* included: /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.045) 0:00:11.273 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.029) 0:00:11.303 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.030) 0:00:11.333 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.025) 0:00:11.359 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:28 +0000 (0:00:01.624) 0:00:12.983 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:28 +0000 (0:00:00.571) 0:00:13.554 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:28 +0000 (0:00:00.022) 0:00:13.577 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.021) 0:00:13.598 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.020) 0:00:13.619 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.044) 0:00:13.663 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.026) 0:00:13.689 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.032) 0:00:13.721 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.027) 0:00:13.749 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.060) 0:00:13.809 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.029) 0:00:13.839 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.214) 0:00:14.054 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16623u7a2zdve/tmpy4mif733" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:29 +0000 (0:00:00.212) 0:00:14.267 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.424) 0:00:14.692 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.021) 0:00:14.713 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.022) 0:00:14.736 ******* 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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.023) 0:00:14.760 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.021) 0:00:14.782 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_vlan_mtu.yml:73 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.132) 0:00:14.915 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.046) 0:00:14.962 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.036) 0:00:14.998 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.067) 0:00:15.066 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.035) 0:00:15.102 ******* included: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.035) 0:00:15.137 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003240", "end": "2024-01-09 20:15:30.697430", "rc": 0, "start": "2024-01-09 20:15:30.694190" } STDOUT: dummy0 eth0 lo lsr101 lsr101.90 peerlsr101 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.145) 0:00:15.283 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo", "lsr101", "lsr101.90", "peerlsr101" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.023) 0:00:15.307 ******* ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo', 'lsr101', 'lsr101.90', 'peerlsr101'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 09 January 2024 20:15:30 +0000 (0:00:00.023) 0:00:15.330 ******* 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_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:24 Tuesday 09 January 2024 20:15:31 +0000 (0:00:00.391) 0:00:15.722 ******* 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_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:33 Tuesday 09 January 2024 20:15:31 +0000 (0:00:00.032) 0:00:15.754 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:41 Tuesday 09 January 2024 20:15:31 +0000 (0:00:00.022) 0:00:15.776 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.074878", "end": "2024-01-09 20:15:31.396769", "rc": 0, "start": "2024-01-09 20:15:31.321891" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:48 Tuesday 09 January 2024 20:15:31 +0000 (0:00:00.232) 0:00:16.008 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 09 January 2024 20:15:31 +0000 (0:00:00.022) 0:00:16.031 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 09 January 2024 20:15:31 +0000 (0:00:00.023) 0:00:16.054 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:67 Tuesday 09 January 2024 20:15:31 +0000 (0:00:00.023) 0:00:16.077 ******* 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 Tuesday 09 January 2024 20:15:31 +0000 (0:00:00.011) 0:00:16.089 ******* =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.86s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-route_typebobucd4n/tests/tests_vlan_mtu_initscripts.yml:5 -------- Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-route_typebobucd4n/tests/playbooks/tests_vlan_mtu.yml:3 ---------- linux-system-roles.network : Configure networking connection profiles --- 0.73s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 0.72s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.57s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.53s /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:16 Enable EPEL 6 ----------------------------------------------------------- 0.44s /WORKDIR/git-route_typebobucd4n/tests/tasks/enable_epel.yml:40 ---------------- Create veth interface lsr101 -------------------------------------------- 0.44s /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Configure networking connection profiles --- 0.42s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:122 Install iproute --------------------------------------------------------- 0.39s /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Enable network service --------------------- 0.27s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gather the minimum subset of ansible_facts required by the network role test --- 0.24s /WORKDIR/git-route_typebobucd4n/tests/tasks/el_repo_setup.yml:3 --------------- Delete veth interface lsr101 -------------------------------------------- 0.23s /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/manage_test_interface.yml:41 linux-system-roles.network : Enable network service --------------------- 0.21s /WORKDIR/git-route_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.21s /WORKDIR/git-route_typebobucd4n/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_typebobucd4n/tests/roles/linux-system-roles.network/tasks/main.yml:113 Check if system is ostree ----------------------------------------------- 0.19s /WORKDIR/git-route_typebobucd4n/tests/tasks/el_repo_setup.yml:19 -------------- Gather current interface info ------------------------------------------- 0.19s /WORKDIR/git-route_typebobucd4n/tests/playbooks/tasks/get_current_interfaces.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---