# 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_typeuxysm9b5/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_typeuxysm9b5/tests/tests_vlan_mtu_initscripts.yml:5 Monday 08 January 2024 14:40:26 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeuxysm9b5/tests/tests_vlan_mtu_initscripts.yml:8 Monday 08 January 2024 14:40:26 +0000 (0:00:00.851) 0:00:00.863 ******** included: /WORKDIR/git-route_typeuxysm9b5/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_typeuxysm9b5/tests/tasks/el_repo_setup.yml:3 Monday 08 January 2024 14:40:26 +0000 (0:00:00.013) 0:00:00.876 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/tasks/el_repo_setup.yml:19 Monday 08 January 2024 14:40:27 +0000 (0:00:00.220) 0:00:01.096 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/tasks/el_repo_setup.yml:24 Monday 08 January 2024 14:40:27 +0000 (0:00:00.177) 0:00:01.274 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/tasks/el_repo_setup.yml:28 Monday 08 January 2024 14:40:27 +0000 (0:00:00.020) 0:00:01.295 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/tasks/el_repo_setup.yml:53 Monday 08 January 2024 14:40:27 +0000 (0:00:00.016) 0:00:01.311 ******** included: /WORKDIR/git-route_typeuxysm9b5/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/tasks/enable_epel.yml:8 Monday 08 January 2024 14:40:27 +0000 (0:00:00.032) 0:00:01.344 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/tasks/enable_epel.yml:24 Monday 08 January 2024 14:40:27 +0000 (0:00:00.010) 0:00:01.355 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/tasks/enable_epel.yml:30 Monday 08 January 2024 14:40:27 +0000 (0:00:00.010) 0:00:01.365 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/tasks/enable_epel.yml:35 Monday 08 January 2024 14:40:27 +0000 (0:00:00.010) 0:00:01.375 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/tasks/enable_epel.yml:40 Monday 08 January 2024 14:40:27 +0000 (0:00:00.010) 0:00:01.386 ******** 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_typeuxysm9b5/tests/tests_vlan_mtu_initscripts.yml:10 Monday 08 January 2024 14:40:27 +0000 (0:00:00.423) 0:00:01.810 ******** 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_typeuxysm9b5/tests/playbooks/tests_vlan_mtu.yml:3 Monday 08 January 2024 14:40:27 +0000 (0:00:00.011) 0:00:01.822 ******** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tests_vlan_mtu.yml:10 Monday 08 January 2024 14:40:28 +0000 (0:00:00.689) 0:00:02.511 ******** included: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:40:28 +0000 (0:00:00.020) 0:00:02.532 ******** included: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:40:28 +0000 (0:00:00.016) 0:00:02.548 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002997", "end": "2024-01-08 14:40:28.822603", "rc": 0, "start": "2024-01-08 14:40:28.819606" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:40:28 +0000 (0:00:00.188) 0:00:02.736 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:40:28 +0000 (0:00:00.013) 0:00:02.750 ******** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tests_vlan_mtu.yml:12 Monday 08 January 2024 14:40:28 +0000 (0:00:00.011) 0:00:02.761 ******** included: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:40:28 +0000 (0:00:00.023) 0:00:02.785 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:40:28 +0000 (0:00:00.010) 0:00:02.795 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:40:28 +0000 (0:00:00.010) 0:00:02.806 ******** included: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:40:28 +0000 (0:00:00.015) 0:00:02.821 ******** included: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:40:28 +0000 (0:00:00.014) 0:00:02.836 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002977", "end": "2024-01-08 14:40:29.038663", "rc": 0, "start": "2024-01-08 14:40:29.035686" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:40:28 +0000 (0:00:00.116) 0:00:02.952 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:40:29 +0000 (0:00:00.012) 0:00:02.965 ******** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:40:29 +0000 (0:00:00.011) 0:00:02.976 ******** 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_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 08 January 2024 14:40:29 +0000 (0:00:00.494) 0:00:03.471 ******** 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.003109", "end": "2024-01-08 14:40:29.679573", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-01-08 14:40:29.676464" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.005941", "end": "2024-01-08 14:40:29.831155", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-01-08 14:40:29.825214" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.003201", "end": "2024-01-08 14:40:29.946600", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-01-08 14:40:29.943399" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 08 January 2024 14:40:29 +0000 (0:00:00.389) 0:00:03.860 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.016492", "end": "2024-01-08 14:40:30.078186", "rc": 2, "start": "2024-01-08 14:40:30.061694" } STDERR: Error: 'dev' command 'set' is not valid. MSG: non-zero return code ...ignoring TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 08 January 2024 14:40:30 +0000 (0:00:00.132) 0:00:03.992 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 08 January 2024 14:40:30 +0000 (0:00:00.012) 0:00:04.005 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 08 January 2024 14:40:30 +0000 (0:00:00.012) 0:00:04.018 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:40:30 +0000 (0:00:00.012) 0:00:04.031 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 08 January 2024 14:40:30 +0000 (0:00:00.011) 0:00:04.042 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tests_vlan_mtu.yml:16 Monday 08 January 2024 14:40:30 +0000 (0:00:00.010) 0:00:04.052 ******** included: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:40:30 +0000 (0:00:00.021) 0:00:04.074 ******** included: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:40:30 +0000 (0:00:00.015) 0:00:04.089 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704724829.8154306, "block_size": 4096, "blocks": 0, "ctime": 1704724829.7974305, "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": 1704724829.7974305, "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_typeuxysm9b5/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:40:30 +0000 (0:00:00.116) 0:00:04.206 ******** 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_typeuxysm9b5/tests/playbooks/tests_vlan_mtu.yml:18 Monday 08 January 2024 14:40:30 +0000 (0:00:00.014) 0:00:04.220 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:40:30 +0000 (0:00:00.010) 0:00:04.231 ******** included: /WORKDIR/git-route_typeuxysm9b5/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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:40:30 +0000 (0:00:00.067) 0:00:04.299 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:40:30 +0000 (0:00:00.013) 0:00:04.312 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:40:30 +0000 (0:00:00.010) 0:00:04.323 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:40:30 +0000 (0:00:00.010) 0:00:04.334 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:40:32 +0000 (0:00:01.729) 0:00:06.063 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:40:32 +0000 (0:00:00.722) 0:00:06.785 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:40:32 +0000 (0:00:00.021) 0:00:06.806 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:40:32 +0000 (0:00:00.019) 0:00:06.826 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:40:32 +0000 (0:00:00.019) 0:00:06.846 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:40:32 +0000 (0:00:00.040) 0:00:06.886 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:40:32 +0000 (0:00:00.019) 0:00:06.906 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:40:32 +0000 (0:00:00.019) 0:00:06.926 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:40:32 +0000 (0:00:00.023) 0:00:06.950 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:40:33 +0000 (0:00:00.019) 0:00:06.969 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:40:33 +0000 (0:00:00.019) 0:00:06.988 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:40:33 +0000 (0:00:00.264) 0:00:07.253 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17563uoz4t1q_/tmp80_67usb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:40:33 +0000 (0:00:00.191) 0:00:07.445 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:40:34 +0000 (0:00:00.760) 0:00:08.205 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:40:34 +0000 (0:00:00.044) 0:00:08.250 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:40:34 +0000 (0:00:00.023) 0:00:08.273 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:40:34 +0000 (0:00:00.023) 0:00:08.296 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:40:34 +0000 (0:00:00.021) 0:00:08.318 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tests_vlan_mtu.yml:46 Monday 08 January 2024 14:40:34 +0000 (0:00:00.176) 0:00:08.495 ******** included: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:40:34 +0000 (0:00:00.041) 0:00:08.537 ******** included: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:40:34 +0000 (0:00:00.034) 0:00:08.571 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704724834.2304306, "block_size": 4096, "blocks": 0, "ctime": 1704724834.2064302, "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": 1704724834.2064302, "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_typeuxysm9b5/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:40:34 +0000 (0:00:00.124) 0:00:08.695 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tests_vlan_mtu.yml:50 Monday 08 January 2024 14:40:34 +0000 (0:00:00.024) 0:00:08.720 ******** included: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/assert_profile_present.yml for sut included: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:40:34 +0000 (0:00:00.050) 0:00:08.770 ******** included: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:40:34 +0000 (0:00:00.035) 0:00:08.805 ******** 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_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:40:34 +0000 (0:00:00.045) 0:00:08.851 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704724833.8674304, "block_size": 4096, "blocks": 8, "ctime": 1704724833.8564305, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3668, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704724833.8564305, "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_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:40:35 +0000 (0:00:00.130) 0:00:08.981 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:40:35 +0000 (0:00:00.022) 0:00:09.004 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.006022", "end": "2024-01-08 14:40:35.211161", "rc": 1, "start": "2024-01-08 14:40:35.205139" } 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_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:40:35 +0000 (0:00:00.128) 0:00:09.132 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101] ************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:40:35 +0000 (0:00:00.022) 0:00:09.155 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.002787", "end": "2024-01-08 14:40:35.361617", "rc": 0, "start": "2024-01-08 14:40:35.358830" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:40:35 +0000 (0:00:00.131) 0:00:09.286 ******** 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_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:40:35 +0000 (0:00:00.026) 0:00:09.313 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.002837", "end": "2024-01-08 14:40:35.521422", "rc": 0, "start": "2024-01-08 14:40:35.518585" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:40:35 +0000 (0:00:00.131) 0:00:09.445 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:40:35 +0000 (0:00:00.025) 0:00:09.471 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:40:35 +0000 (0:00:00.023) 0:00:09.494 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:40:35 +0000 (0:00:00.022) 0:00:09.516 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 08 January 2024 14:40:35 +0000 (0:00:00.021) 0:00:09.538 ******** included: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 08 January 2024 14:40:35 +0000 (0:00:00.034) 0:00:09.573 ******** 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_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 08 January 2024 14:40:35 +0000 (0:00:00.020) 0:00:09.594 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704724833.9254305, "block_size": 4096, "blocks": 8, "ctime": 1704724833.8564305, "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": 1704724833.8564305, "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_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 08 January 2024 14:40:35 +0000 (0:00:00.149) 0:00:09.743 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 08 January 2024 14:40:35 +0000 (0:00:00.022) 0:00:09.765 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.006016", "end": "2024-01-08 14:40:35.972150", "rc": 1, "start": "2024-01-08 14:40:35.966134" } 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_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 08 January 2024 14:40:35 +0000 (0:00:00.129) 0:00:09.895 ******** 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_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 08 January 2024 14:40:35 +0000 (0:00:00.022) 0:00:09.917 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.002821", "end": "2024-01-08 14:40:36.122539", "rc": 0, "start": "2024-01-08 14:40:36.119718" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 08 January 2024 14:40:36 +0000 (0:00:00.129) 0:00:10.047 ******** 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_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 08 January 2024 14:40:36 +0000 (0:00:00.026) 0:00:10.074 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.002690", "end": "2024-01-08 14:40:36.278678", "rc": 0, "start": "2024-01-08 14:40:36.275988" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 08 January 2024 14:40:36 +0000 (0:00:00.129) 0:00:10.203 ******** 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_typeuxysm9b5/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 08 January 2024 14:40:36 +0000 (0:00:00.025) 0:00:10.228 ******** 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_typeuxysm9b5/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 08 January 2024 14:40:36 +0000 (0:00:00.023) 0:00:10.251 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 08 January 2024 14:40:36 +0000 (0:00:00.023) 0:00:10.275 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tests_vlan_mtu.yml:58 Monday 08 January 2024 14:40:36 +0000 (0:00:00.021) 0:00:10.296 ******** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:40:36 +0000 (0:00:00.020) 0:00:10.316 ******** included: /WORKDIR/git-route_typeuxysm9b5/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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:40:36 +0000 (0:00:00.036) 0:00:10.352 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:40:36 +0000 (0:00:00.025) 0:00:10.378 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:40:36 +0000 (0:00:00.019) 0:00:10.397 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:40:36 +0000 (0:00:00.044) 0:00:10.441 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:40:38 +0000 (0:00:01.529) 0:00:11.970 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:40:38 +0000 (0:00:00.558) 0:00:12.529 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:40:38 +0000 (0:00:00.022) 0:00:12.552 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:40:38 +0000 (0:00:00.021) 0:00:12.573 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:40:38 +0000 (0:00:00.022) 0:00:12.596 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:40:38 +0000 (0:00:00.088) 0:00:12.685 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:40:38 +0000 (0:00:00.022) 0:00:12.707 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:40:38 +0000 (0:00:00.020) 0:00:12.728 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:40:38 +0000 (0:00:00.025) 0:00:12.754 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:40:38 +0000 (0:00:00.022) 0:00:12.777 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:40:38 +0000 (0:00:00.020) 0:00:12.797 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:40:39 +0000 (0:00:00.182) 0:00:12.980 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17563uoz4t1q_/tmps5pvwqei" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:40:39 +0000 (0:00:00.191) 0:00:13.171 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:40:39 +0000 (0:00:00.367) 0:00:13.539 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:40:39 +0000 (0:00:00.022) 0:00:13.562 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:40:39 +0000 (0:00:00.024) 0:00:13.587 ******** 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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:40:39 +0000 (0:00:00.025) 0:00:13.612 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:40:39 +0000 (0:00:00.021) 0:00:13.634 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tests_vlan_mtu.yml:73 Monday 08 January 2024 14:40:39 +0000 (0:00:00.149) 0:00:13.784 ******** included: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:40:39 +0000 (0:00:00.043) 0:00:13.828 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:40:39 +0000 (0:00:00.020) 0:00:13.848 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:40:39 +0000 (0:00:00.019) 0:00:13.868 ******** included: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:40:39 +0000 (0:00:00.033) 0:00:13.901 ******** included: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:40:39 +0000 (0:00:00.036) 0:00:13.938 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003016", "end": "2024-01-08 14:40:40.142447", "rc": 0, "start": "2024-01-08 14:40:40.139431" } STDOUT: dummy0 eth0 lo lsr101 lsr101.90 peerlsr101 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:40:40 +0000 (0:00:00.128) 0:00:14.066 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo", "lsr101", "lsr101.90", "peerlsr101" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:40:40 +0000 (0:00:00.022) 0:00:14.088 ******** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo', 'lsr101', 'lsr101.90', 'peerlsr101'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:40:40 +0000 (0:00:00.020) 0:00:14.109 ******** 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_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 08 January 2024 14:40:40 +0000 (0:00:00.362) 0:00:14.472 ******** 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_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 08 January 2024 14:40:40 +0000 (0:00:00.030) 0:00:14.503 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 08 January 2024 14:40:40 +0000 (0:00:00.021) 0:00:14.524 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.080525", "end": "2024-01-08 14:40:40.807131", "rc": 0, "start": "2024-01-08 14:40:40.726606" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 08 January 2024 14:40:40 +0000 (0:00:00.224) 0:00:14.749 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 08 January 2024 14:40:40 +0000 (0:00:00.022) 0:00:14.771 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:40:40 +0000 (0:00:00.021) 0:00:14.793 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 08 January 2024 14:40:40 +0000 (0:00:00.021) 0:00:14.815 ******** 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 Monday 08 January 2024 14:40:40 +0000 (0:00:00.008) 0:00:14.824 ******** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.73s /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.85s /WORKDIR/git-route_typeuxysm9b5/tests/tests_vlan_mtu_initscripts.yml:5 -------- linux-system-roles.network : Configure networking connection profiles --- 0.76s /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 0.72s /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tests_vlan_mtu.yml:3 ---------- linux-system-roles.network : Check which packages are installed --------- 0.56s /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.49s /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:16 Enable EPEL 6 ----------------------------------------------------------- 0.42s /WORKDIR/git-route_typeuxysm9b5/tests/tasks/enable_epel.yml:40 ---------------- Create veth interface lsr101 -------------------------------------------- 0.39s /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Configure networking connection profiles --- 0.37s /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Install iproute --------------------------------------------------------- 0.36s /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Enable network service --------------------- 0.26s /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Delete veth interface lsr101 -------------------------------------------- 0.23s /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/manage_test_interface.yml:41 Gather the minimum subset of ansible_facts required by the network role test --- 0.22s /WORKDIR/git-route_typeuxysm9b5/tests/tasks/el_repo_setup.yml:3 --------------- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.19s /WORKDIR/git-route_typeuxysm9b5/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_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gather current interface info ------------------------------------------- 0.19s /WORKDIR/git-route_typeuxysm9b5/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable network service --------------------- 0.18s /WORKDIR/git-route_typeuxysm9b5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Check if system is ostree ----------------------------------------------- 0.18s /WORKDIR/git-route_typeuxysm9b5/tests/tasks/el_repo_setup.yml:19 -------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---