# 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_nm.yml ************************************************ 2 plays in /WORKDIR/git-bond_options_rewrite4a17o085/tests/tests_vlan_mtu_nm.yml PLAY [Run playbook 'playbooks/tests_vlan_mtu.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/tests_vlan_mtu_nm.yml:6 Tuesday 06 February 2024 17:27:31 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/tests_vlan_mtu_nm.yml:9 Tuesday 06 February 2024 17:27:32 +0000 (0:00:00.901) 0:00:00.915 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/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_rewrite4a17o085/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 17:27:32 +0000 (0:00:00.011) 0:00:00.926 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 17:27:32 +0000 (0:00:00.507) 0:00:01.434 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 17:27:32 +0000 (0:00:00.247) 0:00:01.681 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 17:27:32 +0000 (0:00:00.020) 0:00:01.701 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 17:27:32 +0000 (0:00:00.017) 0:00:01.719 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 17:27:32 +0000 (0:00:00.031) 0:00:01.750 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 17:27:32 +0000 (0:00:00.010) 0:00:01.760 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 17:27:32 +0000 (0:00:00.015) 0:00:01.776 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 17:27:32 +0000 (0:00:00.009) 0:00:01.786 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 17:27:32 +0000 (0:00:00.008) 0:00:01.795 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/tests_vlan_mtu_nm.yml:11 Tuesday 06 February 2024 17:27:32 +0000 (0:00:00.020) 0:00:01.816 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing vlan mtu setting] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tests_vlan_mtu.yml:3 Tuesday 06 February 2024 17:27:32 +0000 (0:00:00.017) 0:00:01.833 ****** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tests_vlan_mtu.yml:10 Tuesday 06 February 2024 17:27:33 +0000 (0:00:00.782) 0:00:02.616 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:27:33 +0000 (0:00:00.033) 0:00:02.650 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:27:33 +0000 (0:00:00.026) 0:00:02.676 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004640", "end": "2024-02-06 17:27:35.035845", "rc": 0, "start": "2024-02-06 17:27:34.031205" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:27:35 +0000 (0:00:01.258) 0:00:03.935 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:27:35 +0000 (0:00:00.011) 0:00:03.946 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tests_vlan_mtu.yml:12 Tuesday 06 February 2024 17:27:35 +0000 (0:00:00.009) 0:00:03.956 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 17:27:35 +0000 (0:00:00.021) 0:00:03.977 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 17:27:35 +0000 (0:00:00.009) 0:00:03.987 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 17:27:35 +0000 (0:00:00.009) 0:00:03.996 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:27:35 +0000 (0:00:00.012) 0:00:04.009 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:27:35 +0000 (0:00:00.012) 0:00:04.021 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003611", "end": "2024-02-06 17:27:35.323013", "rc": 0, "start": "2024-02-06 17:27:35.319402" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:27:35 +0000 (0:00:00.197) 0:00:04.219 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:27:35 +0000 (0:00:00.012) 0:00:04.231 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 17:27:35 +0000 (0:00:00.010) 0:00:04.242 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 17:27:37 +0000 (0:00:02.496) 0:00:06.739 ****** 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.005861", "end": "2024-02-06 17:27:38.049133", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2024-02-06 17:27:38.043272" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.003814", "end": "2024-02-06 17:27:38.299340", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2024-02-06 17:27:38.295526" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.004052", "end": "2024-02-06 17:27:38.493425", "item": "ip link set lsr101 up", "rc": 0, "start": "2024-02-06 17:27:38.489373" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 17:27:38 +0000 (0:00:00.653) 0:00:07.392 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.024427", "end": "2024-02-06 17:27:38.717166", "rc": 0, "start": "2024-02-06 17:27:38.692739" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 17:27:38 +0000 (0:00:00.224) 0:00:07.617 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 17:27:38 +0000 (0:00:00.010) 0:00:07.627 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 17:27:38 +0000 (0:00:00.010) 0:00:07.638 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 17:27:38 +0000 (0:00:00.010) 0:00:07.648 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 17:27:38 +0000 (0:00:00.010) 0:00:07.658 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tests_vlan_mtu.yml:16 Tuesday 06 February 2024 17:27:38 +0000 (0:00:00.009) 0:00:07.668 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:27:38 +0000 (0:00:00.019) 0:00:07.687 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:27:38 +0000 (0:00:00.012) 0:00:07.700 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240458.0471938, "block_size": 4096, "blocks": 0, "ctime": 1707240458.0471938, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 40583, "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": 1707240458.0471938, "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_rewrite4a17o085/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:27:39 +0000 (0:00:00.193) 0:00:07.894 ****** 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_rewrite4a17o085/tests/playbooks/tests_vlan_mtu.yml:18 Tuesday 06 February 2024 17:27:39 +0000 (0:00:00.012) 0:00:07.906 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:27:39 +0000 (0:00:00.009) 0:00:07.916 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:27:39 +0000 (0:00:00.066) 0:00:07.983 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:27:39 +0000 (0:00:00.011) 0:00:07.994 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:27:39 +0000 (0:00:00.012) 0:00:08.006 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:27:39 +0000 (0:00:00.009) 0:00:08.016 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:27:41 +0000 (0:00:02.264) 0:00:10.281 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:27:42 +0000 (0:00:01.036) 0:00:11.317 ****** ok: [sut] => {} MSG: Using network provider: nm 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:27:42 +0000 (0:00:00.041) 0:00:11.359 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:27:42 +0000 (0:00:00.034) 0:00:11.394 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:27:42 +0000 (0:00:00.027) 0:00:11.422 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:27:42 +0000 (0:00:00.044) 0:00:11.467 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:27:42 +0000 (0:00:00.023) 0:00:11.490 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:27:42 +0000 (0:00:00.047) 0:00:11.537 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:27:42 +0000 (0:00:00.027) 0:00:11.564 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:27:43 +0000 (0:00:00.693) 0:00:12.258 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:27:43 +0000 (0:00:00.027) 0:00:12.286 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:27:43 +0000 (0:00:00.023) 0:00:12.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:27:43 +0000 (0:00:00.023) 0:00:12.333 ****** 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": "nm" } }, "changed": true } STDERR: [005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 9753a08a-41c0-407a-ac2e-0f1c0d4a2692 [006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 6357f46e-0674-40f5-8708-376eceeca496 [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 9753a08a-41c0-407a-ac2e-0f1c0d4a2692 (not-active) [008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 6357f46e-0674-40f5-8708-376eceeca496 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:27:44 +0000 (0:00:00.693) 0:00:13.027 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:27:44 +0000 (0:00:00.023) 0:00:13.050 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 9753a08a-41c0-407a-ac2e-0f1c0d4a2692", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 6357f46e-0674-40f5-8708-376eceeca496", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 9753a08a-41c0-407a-ac2e-0f1c0d4a2692 (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 6357f46e-0674-40f5-8708-376eceeca496 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:27:44 +0000 (0:00:00.025) 0:00:13.075 ****** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 9753a08a-41c0-407a-ac2e-0f1c0d4a2692\n[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 6357f46e-0674-40f5-8708-376eceeca496\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 9753a08a-41c0-407a-ac2e-0f1c0d4a2692 (not-active)\n[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 6357f46e-0674-40f5-8708-376eceeca496 (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 9753a08a-41c0-407a-ac2e-0f1c0d4a2692", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 6357f46e-0674-40f5-8708-376eceeca496", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 9753a08a-41c0-407a-ac2e-0f1c0d4a2692 (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 6357f46e-0674-40f5-8708-376eceeca496 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:27:44 +0000 (0:00:00.027) 0:00:13.103 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:27:44 +0000 (0:00:00.024) 0:00:13.127 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tests_vlan_mtu.yml:46 Tuesday 06 February 2024 17:27:44 +0000 (0:00:00.256) 0:00:13.383 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:27:44 +0000 (0:00:00.043) 0:00:13.427 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:27:44 +0000 (0:00:00.037) 0:00:13.464 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240464.063801, "block_size": 4096, "blocks": 0, "ctime": 1707240464.063801, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 41012, "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": 1707240464.063801, "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_rewrite4a17o085/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:27:44 +0000 (0:00:00.206) 0:00:13.671 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tests_vlan_mtu.yml:50 Tuesday 06 February 2024 17:27:44 +0000 (0:00:00.024) 0:00:13.696 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/assert_profile_present.yml for sut included: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:27:44 +0000 (0:00:00.047) 0:00:13.743 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/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_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:27:44 +0000 (0:00:00.067) 0:00:13.811 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:27:44 +0000 (0:00:00.022) 0:00:13.834 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:27:45 +0000 (0:00:00.205) 0:00:14.039 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:27:45 +0000 (0:00:00.021) 0:00:14.060 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.025828", "end": "2024-02-06 17:27:45.385414", "rc": 0, "start": "2024-02-06 17:27:45.359586" } STDOUT: lsr101 /etc/NetworkManager/system-connections/lsr101.nmconnection lsr101.90 /etc/NetworkManager/system-connections/lsr101.90.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:27:45 +0000 (0:00:00.234) 0:00:14.295 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-lsr101] ************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:27:45 +0000 (0:00:00.025) 0:00:14.320 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:27:45 +0000 (0:00:00.023) 0:00:14.344 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:27:45 +0000 (0:00:00.025) 0:00:14.369 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:27:45 +0000 (0:00:00.024) 0:00:14.393 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:27:45 +0000 (0:00:00.023) 0:00:14.416 ****** 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_rewrite4a17o085/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:27:45 +0000 (0:00:00.023) 0:00:14.440 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:27:45 +0000 (0:00:00.023) 0:00:14.464 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:27:45 +0000 (0:00:00.022) 0:00:14.486 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/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_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:27:45 +0000 (0:00:00.058) 0:00:14.544 ****** 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_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:27:45 +0000 (0:00:00.022) 0:00:14.566 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:27:45 +0000 (0:00:00.205) 0:00:14.772 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:27:45 +0000 (0:00:00.021) 0:00:14.793 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.025205", "end": "2024-02-06 17:27:46.117566", "rc": 0, "start": "2024-02-06 17:27:46.092361" } STDOUT: lsr101.90 /etc/NetworkManager/system-connections/lsr101.90.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:27:46 +0000 (0:00:00.232) 0:00:15.026 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-lsr101.90] ********************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:27:46 +0000 (0:00:00.024) 0:00:15.051 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:27:46 +0000 (0:00:00.022) 0:00:15.074 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101.90] ************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:27:46 +0000 (0:00:00.022) 0:00:15.096 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:27:46 +0000 (0:00:00.022) 0:00:15.118 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101.90'] ************************ task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:27:46 +0000 (0:00:00.022) 0:00:15.141 ****** 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_rewrite4a17o085/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:27:46 +0000 (0:00:00.022) 0:00:15.164 ****** 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_rewrite4a17o085/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:27:46 +0000 (0:00:00.023) 0:00:15.187 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tests_vlan_mtu.yml:58 Tuesday 06 February 2024 17:27:46 +0000 (0:00:00.022) 0:00:15.209 ****** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:27:46 +0000 (0:00:00.020) 0:00:15.230 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:27:46 +0000 (0:00:00.062) 0:00:15.292 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:27:46 +0000 (0:00:00.028) 0:00:15.321 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:27:46 +0000 (0:00:00.020) 0:00:15.342 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:27:46 +0000 (0:00:00.021) 0:00:15.363 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:27:48 +0000 (0:00:02.194) 0:00:17.557 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:27:49 +0000 (0:00:00.924) 0:00:18.482 ****** ok: [sut] => {} MSG: Using network provider: nm 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:27:49 +0000 (0:00:00.022) 0:00:18.505 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:27:49 +0000 (0:00:00.023) 0:00:18.529 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:27:49 +0000 (0:00:00.022) 0:00:18.552 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:27:49 +0000 (0:00:00.045) 0:00:18.598 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:27:49 +0000 (0:00:00.027) 0:00:18.625 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:27:49 +0000 (0:00:00.022) 0:00:18.648 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:27:49 +0000 (0:00:00.034) 0:00:18.682 ****** 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:27:50 +0000 (0:00:00.579) 0:00:19.262 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:27:50 +0000 (0:00:00.034) 0:00:19.296 ****** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:27:50 +0000 (0:00:00.024) 0:00:19.321 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:27:50 +0000 (0:00:00.030) 0:00:19.351 ****** 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:27:51 +0000 (0:00:00.563) 0:00:19.915 ****** 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_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:27:51 +0000 (0:00:00.022) 0:00:19.938 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:27:51 +0000 (0:00:00.023) 0:00:19.961 ****** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:27:51 +0000 (0:00:00.025) 0:00:19.987 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:27:51 +0000 (0:00:00.023) 0:00:20.010 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tests_vlan_mtu.yml:73 Tuesday 06 February 2024 17:27:51 +0000 (0:00:00.202) 0:00:20.213 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 17:27:51 +0000 (0:00:00.044) 0:00:20.258 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 17:27:51 +0000 (0:00:00.021) 0:00:20.280 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 17:27:51 +0000 (0:00:00.047) 0:00:20.327 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:27:51 +0000 (0:00:00.037) 0:00:20.364 ****** included: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:27:51 +0000 (0:00:00.035) 0:00:20.400 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003538", "end": "2024-02-06 17:27:51.701482", "rc": 0, "start": "2024-02-06 17:27:51.697944" } STDOUT: bonding_masters eth0 lo lsr101 peerlsr101 rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:27:51 +0000 (0:00:00.209) 0:00:20.610 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "lsr101", "peerlsr101", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:27:51 +0000 (0:00:00.023) 0:00:20.633 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'lsr101', 'peerlsr101', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 17:27:51 +0000 (0:00:00.022) 0:00:20.656 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:28 Tuesday 06 February 2024 17:27:54 +0000 (0:00:02.416) 0:00:23.072 ****** 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_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:37 Tuesday 06 February 2024 17:27:54 +0000 (0:00:00.031) 0:00:23.104 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 06 February 2024 17:27:54 +0000 (0:00:00.023) 0:00:23.127 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.014781", "end": "2024-02-06 17:27:54.445916", "rc": 0, "start": "2024-02-06 17:27:54.431135" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:52 Tuesday 06 February 2024 17:27:54 +0000 (0:00:00.236) 0:00:23.363 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:58 Tuesday 06 February 2024 17:27:54 +0000 (0:00:00.023) 0:00:23.387 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 17:27:54 +0000 (0:00:00.022) 0:00:23.410 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:71 Tuesday 06 February 2024 17:27:54 +0000 (0:00:00.022) 0:00:23.432 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tests_vlan_mtu.yml:77 Tuesday 06 February 2024 17:27:54 +0000 (0:00:00.021) 0:00:23.453 ****** ok: [sut] => { "changed": false, "cmd": "set -euxo pipefail\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n exit 1\n fi\n if ! ping -c5 \"$host\"; then\n exit 1\n fi\ndone\n", "delta": "0:00:08.118732", "end": "2024-02-06 17:28:02.871415", "rc": 0, "start": "2024-02-06 17:27:54.752683" } STDOUT: 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org PING wildcard.fedoraproject.org (38.145.60.21) 56(84) bytes of data. 64 bytes from proxy-iad02.fedoraproject.org (38.145.60.21): icmp_seq=1 ttl=53 time=3.49 ms 64 bytes from proxy-iad02.fedoraproject.org (38.145.60.21): icmp_seq=2 ttl=53 time=2.42 ms 64 bytes from proxy-iad02.fedoraproject.org (38.145.60.21): icmp_seq=3 ttl=53 time=2.38 ms 64 bytes from proxy-iad02.fedoraproject.org (38.145.60.21): icmp_seq=4 ttl=53 time=2.30 ms 64 bytes from proxy-iad02.fedoraproject.org (38.145.60.21): icmp_seq=5 ttl=53 time=2.43 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 2.304/2.604/3.489/0.444 ms 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org PING wildcard.fedoraproject.org (8.43.85.67) 56(84) bytes of data. 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=1 ttl=50 time=12.0 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=2 ttl=50 time=11.4 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=3 ttl=50 time=11.1 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=4 ttl=50 time=11.3 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=5 ttl=50 time=31.0 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 11.099/15.360/31.012/7.831 ms STDERR: + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.fedoraproject.org + ping -c5 mirrors.fedoraproject.org + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.centos.org + ping -c5 mirrors.centos.org META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=77 changed=2 unreachable=0 failed=0 skipped=59 rescued=0 ignored=0 Tuesday 06 February 2024 17:28:02 +0000 (0:00:08.313) 0:00:31.767 ****** =============================================================================== Verify DNS and ping still work ------------------------------------------ 8.31s /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tests_vlan_mtu.yml:77 Install iproute --------------------------------------------------------- 2.50s /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.42s /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gather current interface info ------------------------------------------- 1.26s /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.90s /WORKDIR/git-bond_options_rewrite4a17o085/tests/tests_vlan_mtu_nm.yml:6 ------- Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tests_vlan_mtu.yml:3 linux-system-roles.network : Configure networking connection profiles --- 0.69s /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.69s /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:88 Create veth interface lsr101 -------------------------------------------- 0.65s /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:28 linux-system-roles.network : Enable and start NetworkManager ------------ 0.58s /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 0.56s /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gather the minimum subset of ansible_facts required by the network role test --- 0.51s /WORKDIR/git-bond_options_rewrite4a17o085/tests/tasks/el_repo_setup.yml:3 ----- linux-system-roles.network : Re-test connectivity ----------------------- 0.26s /WORKDIR/git-bond_options_rewrite4a17o085/tests/roles/linux-system-roles.network/tasks/main.yml:158 Check if system is ostree ----------------------------------------------- 0.25s /WORKDIR/git-bond_options_rewrite4a17o085/tests/tasks/el_repo_setup.yml:19 ---- Delete veth interface lsr101 -------------------------------------------- 0.24s /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/manage_test_interface.yml:45 Get NM profile info ----------------------------------------------------- 0.23s /WORKDIR/git-bond_options_rewrite4a17o085/tests/playbooks/tasks/get_profile_stat.yml:25 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---