# 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-bond_options_rewrite4h_am_zo/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-bond_options_rewrite4h_am_zo/tests/tests_vlan_mtu_initscripts.yml:5 Thursday 01 February 2024 00:00:09 +0000 (0:00:00.014) 0:00:00.014 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tests_vlan_mtu_initscripts.yml:8 Thursday 01 February 2024 00:00:10 +0000 (0:00:00.909) 0:00:00.924 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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-bond_options_rewrite4h_am_zo/tests/tasks/el_repo_setup.yml:3 Thursday 01 February 2024 00:00:10 +0000 (0:00:00.015) 0:00:00.940 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/el_repo_setup.yml:19 Thursday 01 February 2024 00:00:10 +0000 (0:00:00.239) 0:00:01.179 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/el_repo_setup.yml:24 Thursday 01 February 2024 00:00:10 +0000 (0:00:00.180) 0:00:01.359 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/el_repo_setup.yml:28 Thursday 01 February 2024 00:00:10 +0000 (0:00:00.024) 0:00:01.384 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/el_repo_setup.yml:53 Thursday 01 February 2024 00:00:10 +0000 (0:00:00.021) 0:00:01.406 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:8 Thursday 01 February 2024 00:00:10 +0000 (0:00:00.037) 0:00:01.443 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:24 Thursday 01 February 2024 00:00:10 +0000 (0:00:00.012) 0:00:01.455 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:30 Thursday 01 February 2024 00:00:10 +0000 (0:00:00.012) 0:00:01.468 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:35 Thursday 01 February 2024 00:00:10 +0000 (0:00:00.011) 0:00:01.480 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:40 Thursday 01 February 2024 00:00:10 +0000 (0:00:00.011) 0:00:01.491 ***** 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-bond_options_rewrite4h_am_zo/tests/tests_vlan_mtu_initscripts.yml:10 Thursday 01 February 2024 00:00:11 +0000 (0:00:00.455) 0:00:01.947 ***** 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-bond_options_rewrite4h_am_zo/tests/playbooks/tests_vlan_mtu.yml:3 Thursday 01 February 2024 00:00:11 +0000 (0:00:00.014) 0:00:01.961 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_vlan_mtu.yml:10 Thursday 01 February 2024 00:00:11 +0000 (0:00:00.714) 0:00:02.675 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 01 February 2024 00:00:11 +0000 (0:00:00.024) 0:00:02.699 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 01 February 2024 00:00:11 +0000 (0:00:00.018) 0:00:02.717 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003496", "end": "2024-02-01 00:00:12.163189", "rc": 0, "start": "2024-02-01 00:00:12.159693" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 01 February 2024 00:00:12 +0000 (0:00:00.196) 0:00:02.914 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 01 February 2024 00:00:12 +0000 (0:00:00.015) 0:00:02.930 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_vlan_mtu.yml:12 Thursday 01 February 2024 00:00:12 +0000 (0:00:00.015) 0:00:02.946 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 01 February 2024 00:00:12 +0000 (0:00:00.034) 0:00:02.980 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 01 February 2024 00:00:12 +0000 (0:00:00.013) 0:00:02.994 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 01 February 2024 00:00:12 +0000 (0:00:00.012) 0:00:03.006 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 01 February 2024 00:00:12 +0000 (0:00:00.018) 0:00:03.025 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 01 February 2024 00:00:12 +0000 (0:00:00.018) 0:00:03.043 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003182", "end": "2024-02-01 00:00:12.418479", "rc": 0, "start": "2024-02-01 00:00:12.415297" } STDOUT: dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 01 February 2024 00:00:12 +0000 (0:00:00.126) 0:00:03.170 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 01 February 2024 00:00:12 +0000 (0:00:00.015) 0:00:03.185 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 01 February 2024 00:00:12 +0000 (0:00:00.013) 0:00:03.199 ***** ok: [sut] => { "attempts": 1, "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-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:28 Thursday 01 February 2024 00:00:12 +0000 (0:00:00.538) 0:00:03.737 ***** 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.003422", "end": "2024-02-01 00:00:13.114282", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-02-01 00:00:13.110860" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.004904", "end": "2024-02-01 00:00:13.288478", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-02-01 00:00:13.283574" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.003332", "end": "2024-02-01 00:00:13.406681", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-02-01 00:00:13.403349" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:37 Thursday 01 February 2024 00:00:13 +0000 (0:00:00.420) 0:00:04.157 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.017915", "end": "2024-02-01 00:00:13.544198", "rc": 2, "start": "2024-02-01 00:00:13.526283" } STDERR: Error: 'dev' command 'set' is not valid. MSG: non-zero return code ...ignoring TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 01 February 2024 00:00:13 +0000 (0:00:00.139) 0:00:04.297 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:52 Thursday 01 February 2024 00:00:13 +0000 (0:00:00.015) 0:00:04.313 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:58 Thursday 01 February 2024 00:00:13 +0000 (0:00:00.015) 0:00:04.328 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 01 February 2024 00:00:13 +0000 (0:00:00.015) 0:00:04.344 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:71 Thursday 01 February 2024 00:00:13 +0000 (0:00:00.016) 0:00:04.360 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_vlan_mtu.yml:16 Thursday 01 February 2024 00:00:13 +0000 (0:00:00.014) 0:00:04.375 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 01 February 2024 00:00:13 +0000 (0:00:00.027) 0:00:04.403 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 01 February 2024 00:00:13 +0000 (0:00:00.018) 0:00:04.422 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706745613.2553358, "block_size": 4096, "blocks": 0, "ctime": 1706745613.2333357, "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": 1706745613.2333357, "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-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 01 February 2024 00:00:13 +0000 (0:00:00.126) 0:00:04.548 ***** 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-bond_options_rewrite4h_am_zo/tests/playbooks/tests_vlan_mtu.yml:18 Thursday 01 February 2024 00:00:13 +0000 (0:00:00.016) 0:00:04.565 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 01 February 2024 00:00:13 +0000 (0:00:00.014) 0:00:04.579 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 01 February 2024 00:00:13 +0000 (0:00:00.078) 0:00:04.658 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 01 February 2024 00:00:13 +0000 (0:00:00.015) 0:00:04.673 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 01 February 2024 00:00:13 +0000 (0:00:00.012) 0:00:04.686 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 01 February 2024 00:00:13 +0000 (0:00:00.012) 0:00:04.698 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 01 February 2024 00:00:15 +0000 (0:00:01.830) 0:00:06.529 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 01 February 2024 00:00:16 +0000 (0:00:00.764) 0:00:07.293 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 01 February 2024 00:00:16 +0000 (0:00:00.039) 0:00:07.333 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 01 February 2024 00:00:16 +0000 (0:00:00.024) 0:00:07.357 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 01 February 2024 00:00:16 +0000 (0:00:00.023) 0:00:07.380 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 01 February 2024 00:00:16 +0000 (0:00:00.051) 0:00:07.432 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 01 February 2024 00:00:16 +0000 (0:00:00.023) 0:00:07.455 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Thursday 01 February 2024 00:00:16 +0000 (0:00:00.023) 0:00:07.479 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Thursday 01 February 2024 00:00:16 +0000 (0:00:00.029) 0:00:07.508 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Thursday 01 February 2024 00:00:16 +0000 (0:00:00.023) 0:00:07.531 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Thursday 01 February 2024 00:00:16 +0000 (0:00:00.022) 0:00:07.554 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Thursday 01 February 2024 00:00:17 +0000 (0:00:00.288) 0:00:07.842 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16915ej04hjkv/tmpk60av37c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 01 February 2024 00:00:17 +0000 (0:00:00.204) 0:00:08.047 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 01 February 2024 00:00:18 +0000 (0:00:00.771) 0:00:08.818 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Thursday 01 February 2024 00:00:18 +0000 (0:00:00.043) 0:00:08.862 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 01 February 2024 00:00:18 +0000 (0:00:00.026) 0:00:08.889 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Thursday 01 February 2024 00:00:18 +0000 (0:00:00.029) 0:00:08.918 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Thursday 01 February 2024 00:00:18 +0000 (0:00:00.024) 0:00:08.942 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_vlan_mtu.yml:46 Thursday 01 February 2024 00:00:18 +0000 (0:00:00.182) 0:00:09.125 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 01 February 2024 00:00:18 +0000 (0:00:00.046) 0:00:09.171 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 01 February 2024 00:00:18 +0000 (0:00:00.039) 0:00:09.210 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706745617.9993358, "block_size": 4096, "blocks": 0, "ctime": 1706745617.9773357, "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": 1706745617.9773357, "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-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 01 February 2024 00:00:18 +0000 (0:00:00.132) 0:00:09.343 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_vlan_mtu.yml:50 Thursday 01 February 2024 00:00:18 +0000 (0:00:00.028) 0:00:09.372 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml for sut included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 01 February 2024 00:00:18 +0000 (0:00:00.057) 0:00:09.430 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 01 February 2024 00:00:18 +0000 (0:00:00.041) 0:00:09.471 ***** 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-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 01 February 2024 00:00:18 +0000 (0:00:00.046) 0:00:09.518 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706745617.655336, "block_size": 4096, "blocks": 8, "ctime": 1706745617.6443357, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18846, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706745617.6443357, "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-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 01 February 2024 00:00:18 +0000 (0:00:00.133) 0:00:09.652 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 01 February 2024 00:00:18 +0000 (0:00:00.027) 0:00:09.679 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.006994", "end": "2024-02-01 00:00:19.058221", "rc": 1, "start": "2024-02-01 00:00:19.051227" } 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-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 01 February 2024 00:00:19 +0000 (0:00:00.140) 0:00:09.820 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101] ************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 01 February 2024 00:00:19 +0000 (0:00:00.026) 0:00:09.846 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.003012", "end": "2024-02-01 00:00:19.220884", "rc": 0, "start": "2024-02-01 00:00:19.217872" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 01 February 2024 00:00:19 +0000 (0:00:00.138) 0:00:09.984 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 01 February 2024 00:00:19 +0000 (0:00:00.031) 0:00:10.016 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101" ], "delta": "0:00:00.002964", "end": "2024-02-01 00:00:19.390336", "rc": 0, "start": "2024-02-01 00:00:19.387372" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 01 February 2024 00:00:19 +0000 (0:00:00.137) 0:00:10.153 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 01 February 2024 00:00:19 +0000 (0:00:00.031) 0:00:10.184 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 01 February 2024 00:00:19 +0000 (0:00:00.030) 0:00:10.215 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 01 February 2024 00:00:19 +0000 (0:00:00.028) 0:00:10.243 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 01 February 2024 00:00:19 +0000 (0:00:00.026) 0:00:10.269 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 01 February 2024 00:00:19 +0000 (0:00:00.040) 0:00:10.310 ***** 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-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 01 February 2024 00:00:19 +0000 (0:00:00.024) 0:00:10.335 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706745617.7153358, "block_size": 4096, "blocks": 8, "ctime": 1706745617.6443357, "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": 1706745617.6443357, "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-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 01 February 2024 00:00:19 +0000 (0:00:00.161) 0:00:10.497 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 01 February 2024 00:00:19 +0000 (0:00:00.026) 0:00:10.523 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.006695", "end": "2024-02-01 00:00:19.901588", "rc": 1, "start": "2024-02-01 00:00:19.894893" } 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-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 01 February 2024 00:00:19 +0000 (0:00:00.139) 0:00:10.663 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr101.90] ********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 01 February 2024 00:00:19 +0000 (0:00:00.025) 0:00:10.688 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003043", "end": "2024-02-01 00:00:20.064086", "rc": 0, "start": "2024-02-01 00:00:20.061043" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 01 February 2024 00:00:20 +0000 (0:00:00.140) 0:00:10.829 ***** 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-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 01 February 2024 00:00:20 +0000 (0:00:00.030) 0:00:10.859 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-lsr101.90" ], "delta": "0:00:00.003131", "end": "2024-02-01 00:00:20.237183", "rc": 0, "start": "2024-02-01 00:00:20.234052" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 01 February 2024 00:00:20 +0000 (0:00:00.141) 0:00:11.001 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'lsr101.90'] ************************ task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 01 February 2024 00:00:20 +0000 (0:00:00.030) 0:00:11.032 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101.90'] ******* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 01 February 2024 00:00:20 +0000 (0:00:00.027) 0:00:11.059 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 01 February 2024 00:00:20 +0000 (0:00:00.026) 0:00:11.085 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_vlan_mtu.yml:58 Thursday 01 February 2024 00:00:20 +0000 (0:00:00.026) 0:00:11.111 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 01 February 2024 00:00:20 +0000 (0:00:00.024) 0:00:11.136 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 01 February 2024 00:00:20 +0000 (0:00:00.042) 0:00:11.178 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 01 February 2024 00:00:20 +0000 (0:00:00.029) 0:00:11.207 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 01 February 2024 00:00:20 +0000 (0:00:00.023) 0:00:11.230 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 01 February 2024 00:00:20 +0000 (0:00:00.055) 0:00:11.286 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 01 February 2024 00:00:22 +0000 (0:00:01.611) 0:00:12.897 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 01 February 2024 00:00:22 +0000 (0:00:00.587) 0:00:13.485 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 01 February 2024 00:00:22 +0000 (0:00:00.027) 0:00:13.512 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 01 February 2024 00:00:22 +0000 (0:00:00.025) 0:00:13.537 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 01 February 2024 00:00:22 +0000 (0:00:00.043) 0:00:13.581 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 01 February 2024 00:00:22 +0000 (0:00:00.051) 0:00:13.633 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 01 February 2024 00:00:22 +0000 (0:00:00.023) 0:00:13.657 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Thursday 01 February 2024 00:00:22 +0000 (0:00:00.024) 0:00:13.681 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Thursday 01 February 2024 00:00:22 +0000 (0:00:00.028) 0:00:13.709 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Thursday 01 February 2024 00:00:22 +0000 (0:00:00.024) 0:00:13.734 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Thursday 01 February 2024 00:00:22 +0000 (0:00:00.023) 0:00:13.758 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Thursday 01 February 2024 00:00:23 +0000 (0:00:00.197) 0:00:13.955 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16915ej04hjkv/tmpmpoyi0mx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Thursday 01 February 2024 00:00:23 +0000 (0:00:00.199) 0:00:14.155 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 01 February 2024 00:00:23 +0000 (0:00:00.405) 0:00:14.561 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Thursday 01 February 2024 00:00:23 +0000 (0:00:00.025) 0:00:14.586 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Thursday 01 February 2024 00:00:23 +0000 (0:00:00.026) 0:00:14.612 ***** 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-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Thursday 01 February 2024 00:00:23 +0000 (0:00:00.025) 0:00:14.638 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Thursday 01 February 2024 00:00:23 +0000 (0:00:00.023) 0:00:14.662 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_vlan_mtu.yml:73 Thursday 01 February 2024 00:00:24 +0000 (0:00:00.163) 0:00:14.825 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 01 February 2024 00:00:24 +0000 (0:00:00.052) 0:00:14.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 01 February 2024 00:00:24 +0000 (0:00:00.023) 0:00:14.902 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 01 February 2024 00:00:24 +0000 (0:00:00.023) 0:00:14.925 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 01 February 2024 00:00:24 +0000 (0:00:00.039) 0:00:14.965 ***** included: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 01 February 2024 00:00:24 +0000 (0:00:00.038) 0:00:15.003 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003246", "end": "2024-02-01 00:00:24.376792", "rc": 0, "start": "2024-02-01 00:00:24.373546" } STDOUT: dummy0 eth0 lo lsr101 lsr101.90 peerlsr101 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 01 February 2024 00:00:24 +0000 (0:00:00.135) 0:00:15.139 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "dummy0", "eth0", "lo", "lsr101", "lsr101.90", "peerlsr101" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 01 February 2024 00:00:24 +0000 (0:00:00.026) 0:00:15.165 ***** ok: [sut] => {} MSG: current_interfaces: ['dummy0', 'eth0', 'lo', 'lsr101', 'lsr101.90', 'peerlsr101'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 01 February 2024 00:00:24 +0000 (0:00:00.025) 0:00:15.191 ***** ok: [sut] => { "attempts": 1, "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-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:28 Thursday 01 February 2024 00:00:24 +0000 (0:00:00.411) 0:00:15.602 ***** 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-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:37 Thursday 01 February 2024 00:00:24 +0000 (0:00:00.037) 0:00:15.640 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 01 February 2024 00:00:24 +0000 (0:00:00.024) 0:00:15.664 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.074069", "end": "2024-02-01 00:00:25.112284", "rc": 0, "start": "2024-02-01 00:00:25.038215" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:52 Thursday 01 February 2024 00:00:25 +0000 (0:00:00.223) 0:00:15.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:58 Thursday 01 February 2024 00:00:25 +0000 (0:00:00.027) 0:00:15.916 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:65 Thursday 01 February 2024 00:00:25 +0000 (0:00:00.026) 0:00:15.942 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:71 Thursday 01 February 2024 00:00:25 +0000 (0:00:00.025) 0:00:15.967 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=87 changed=2 unreachable=0 failed=0 skipped=48 rescued=0 ignored=3 Thursday 01 February 2024 00:00:25 +0000 (0:00:00.011) 0:00:15.978 ***** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.83s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tests_vlan_mtu_initscripts.yml:5 linux-system-roles.network : Configure networking connection profiles --- 0.77s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.76s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tests_vlan_mtu.yml:3 linux-system-roles.network : Check which packages are installed --------- 0.59s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 0.54s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:16 Enable EPEL 6 ----------------------------------------------------------- 0.46s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/enable_epel.yml:40 ------ Create veth interface lsr101 -------------------------------------------- 0.42s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:28 Install iproute --------------------------------------------------------- 0.41s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.41s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 0.29s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Gather the minimum subset of ansible_facts required by the network role test --- 0.24s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/tasks/el_repo_setup.yml:3 ----- Delete veth interface lsr101 -------------------------------------------- 0.22s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/manage_test_interface.yml:45 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.20s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.20s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Enable network service --------------------- 0.20s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Gather current interface info ------------------------------------------- 0.20s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Re-test connectivity ----------------------- 0.18s /WORKDIR/git-bond_options_rewrite4h_am_zo/tests/roles/linux-system-roles.network/tasks/main.yml:158 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---