# 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-code_refactorib16hxy9/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-code_refactorib16hxy9/tests/tests_vlan_mtu_nm.yml:5 Thursday 30 November 2023 18:44:46 +0000 (0:00:00.017) 0:00:00.017 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactorib16hxy9/tests/tests_vlan_mtu_nm.yml:9 Thursday 30 November 2023 18:44:47 +0000 (0:00:00.666) 0:00:00.683 ***** included: /WORKDIR/git-code_refactorib16hxy9/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-code_refactorib16hxy9/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 18:44:47 +0000 (0:00:00.022) 0:00:00.706 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/el_repo_setup.yml:19 Thursday 30 November 2023 18:44:48 +0000 (0:00:00.341) 0:00:01.047 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/el_repo_setup.yml:24 Thursday 30 November 2023 18:44:48 +0000 (0:00:00.274) 0:00:01.322 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/el_repo_setup.yml:28 Thursday 30 November 2023 18:44:48 +0000 (0:00:00.027) 0:00:01.349 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/el_repo_setup.yml:53 Thursday 30 November 2023 18:44:48 +0000 (0:00:00.023) 0:00:01.373 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 18:44:48 +0000 (0:00:00.040) 0:00:01.413 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 18:44:48 +0000 (0:00:00.249) 0:00:01.663 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 18:44:48 +0000 (0:00:00.014) 0:00:01.677 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 18:44:48 +0000 (0:00:00.013) 0:00:01.691 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.377921", "end": "2023-11-30 18:44:49.197092", "rc": 0, "start": "2023-11-30 18:44:48.819171" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 18:44:49 +0000 (0:00:00.565) 0:00:02.256 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/tests_vlan_mtu_nm.yml:11 Thursday 30 November 2023 18:44:49 +0000 (0:00:00.015) 0:00:02.272 ***** 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-code_refactorib16hxy9/tests/playbooks/tests_vlan_mtu.yml:3 Thursday 30 November 2023 18:44:49 +0000 (0:00:00.015) 0:00:02.288 ***** ok: [sut] META: ran handlers TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tests_vlan_mtu.yml:10 Thursday 30 November 2023 18:44:49 +0000 (0:00:00.495) 0:00:02.783 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:44:49 +0000 (0:00:00.022) 0:00:02.806 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:44:49 +0000 (0:00:00.016) 0:00:02.822 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003215", "end": "2023-11-30 18:44:49.951624", "rc": 0, "start": "2023-11-30 18:44:49.948409" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:44:49 +0000 (0:00:00.187) 0:00:03.009 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:44:49 +0000 (0:00:00.016) 0:00:03.025 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tests_vlan_mtu.yml:12 Thursday 30 November 2023 18:44:50 +0000 (0:00:00.014) 0:00:03.040 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:44:50 +0000 (0:00:00.030) 0:00:03.070 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:44:50 +0000 (0:00:00.013) 0:00:03.083 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:44:50 +0000 (0:00:00.012) 0:00:03.095 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:44:50 +0000 (0:00:00.017) 0:00:03.113 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:44:50 +0000 (0:00:00.016) 0:00:03.130 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003402", "end": "2023-11-30 18:44:50.259943", "rc": 0, "start": "2023-11-30 18:44:50.256541" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:44:50 +0000 (0:00:00.189) 0:00:03.319 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:44:50 +0000 (0:00:00.015) 0:00:03.335 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:44:50 +0000 (0:00:00.016) 0:00:03.352 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 30 November 2023 18:44:52 +0000 (0:00:01.844) 0:00:05.196 ***** 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.013762", "end": "2023-11-30 18:44:52.342888", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2023-11-30 18:44:52.329126" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.007132", "end": "2023-11-30 18:44:52.565085", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2023-11-30 18:44:52.557953" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.007462", "end": "2023-11-30 18:44:52.752603", "item": "ip link set lsr101 up", "rc": 0, "start": "2023-11-30 18:44:52.745141" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 30 November 2023 18:44:52 +0000 (0:00:00.618) 0:00:05.814 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.027103", "end": "2023-11-30 18:44:52.969329", "rc": 0, "start": "2023-11-30 18:44:52.942226" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 30 November 2023 18:44:52 +0000 (0:00:00.215) 0:00:06.030 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 30 November 2023 18:44:53 +0000 (0:00:00.017) 0:00:06.047 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 30 November 2023 18:44:53 +0000 (0:00:00.016) 0:00:06.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:44:53 +0000 (0:00:00.017) 0:00:06.081 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 30 November 2023 18:44:53 +0000 (0:00:00.018) 0:00:06.100 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tests_vlan_mtu.yml:16 Thursday 30 November 2023 18:44:53 +0000 (0:00:00.017) 0:00:06.117 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:44:53 +0000 (0:00:00.030) 0:00:06.148 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:44:53 +0000 (0:00:00.024) 0:00:06.173 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369892.332656, "block_size": 4096, "blocks": 0, "ctime": 1701369892.332656, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38249, "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": 1701369892.332656, "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-code_refactorib16hxy9/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:44:53 +0000 (0:00:00.204) 0:00:06.377 ***** 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-code_refactorib16hxy9/tests/playbooks/tests_vlan_mtu.yml:18 Thursday 30 November 2023 18:44:53 +0000 (0:00:00.019) 0:00:06.396 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:44:53 +0000 (0:00:00.014) 0:00:06.411 ***** included: /WORKDIR/git-code_refactorib16hxy9/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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:44:53 +0000 (0:00:00.102) 0:00:06.513 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:44:53 +0000 (0:00:00.017) 0:00:06.530 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:44:53 +0000 (0:00:00.015) 0:00:06.546 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:44:53 +0000 (0:00:00.014) 0:00:06.561 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:44:55 +0000 (0:00:01.740) 0:00:08.301 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:44:56 +0000 (0:00:01.411) 0:00:09.713 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:44:56 +0000 (0:00:00.062) 0:00:09.775 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:44:56 +0000 (0:00:00.030) 0:00:09.806 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:44:56 +0000 (0:00:00.031) 0:00:09.838 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:44:56 +0000 (0:00:00.062) 0:00:09.900 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:44:56 +0000 (0:00:00.029) 0:00:09.930 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:44:56 +0000 (0:00:00.028) 0:00:09.958 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:44:56 +0000 (0:00:00.043) 0:00:10.002 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:44:57 +0000 (0:00:00.548) 0:00:10.550 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:44:57 +0000 (0:00:00.036) 0:00:10.587 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:44:57 +0000 (0:00:00.030) 0:00:10.617 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:44:57 +0000 (0:00:00.027) 0:00:10.644 ***** 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, 66d88f04-6fae-4ec2-889b-a14034940992 [006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 000f84b9-fe52-42d6-916b-8d6852332255 [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 66d88f04-6fae-4ec2-889b-a14034940992 (not-active) [008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 000f84b9-fe52-42d6-916b-8d6852332255 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:44:58 +0000 (0:00:00.585) 0:00:11.230 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:44:58 +0000 (0:00:00.065) 0:00:11.295 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 66d88f04-6fae-4ec2-889b-a14034940992", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 000f84b9-fe52-42d6-916b-8d6852332255", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 66d88f04-6fae-4ec2-889b-a14034940992 (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 000f84b9-fe52-42d6-916b-8d6852332255 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:44:58 +0000 (0:00:00.029) 0:00:11.324 ***** 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, 66d88f04-6fae-4ec2-889b-a14034940992\n[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 000f84b9-fe52-42d6-916b-8d6852332255\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 66d88f04-6fae-4ec2-889b-a14034940992 (not-active)\n[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 000f84b9-fe52-42d6-916b-8d6852332255 (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 66d88f04-6fae-4ec2-889b-a14034940992", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, 000f84b9-fe52-42d6-916b-8d6852332255", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 66d88f04-6fae-4ec2-889b-a14034940992 (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, 000f84b9-fe52-42d6-916b-8d6852332255 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:44:58 +0000 (0:00:00.029) 0:00:11.354 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:44:58 +0000 (0:00:00.029) 0:00:11.383 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tests_vlan_mtu.yml:46 Thursday 30 November 2023 18:44:58 +0000 (0:00:00.274) 0:00:11.658 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:44:58 +0000 (0:00:00.062) 0:00:11.720 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:44:58 +0000 (0:00:00.074) 0:00:11.795 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369898.1015162, "block_size": 4096, "blocks": 0, "ctime": 1701369898.1015162, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38542, "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": 1701369898.1015162, "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-code_refactorib16hxy9/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:44:58 +0000 (0:00:00.213) 0:00:12.008 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tests_vlan_mtu.yml:50 Thursday 30 November 2023 18:44:59 +0000 (0:00:00.037) 0:00:12.046 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_profile_present.yml for sut included: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 18:44:59 +0000 (0:00:00.073) 0:00:12.119 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:44:59 +0000 (0:00:00.083) 0:00:12.203 ***** 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-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:44:59 +0000 (0:00:00.031) 0:00:12.235 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369898.0935018, "block_size": 4096, "blocks": 8, "ctime": 1701369898.0395026, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798140, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701369898.0395026, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 214, "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-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:44:59 +0000 (0:00:00.208) 0:00:12.443 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:44:59 +0000 (0:00:00.048) 0:00:12.491 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.025543", "end": "2023-11-30 18:44:59.652026", "rc": 0, "start": "2023-11-30 18:44:59.626483" } STDOUT: lsr101 /etc/sysconfig/network-scripts/ifcfg-lsr101 lsr101.90 /etc/sysconfig/network-scripts/ifcfg-lsr101.90 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:44:59 +0000 (0:00:00.238) 0:00:12.730 ***** 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-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:44:59 +0000 (0:00:00.040) 0:00:12.770 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:44:59 +0000 (0:00:00.042) 0:00:12.813 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:44:59 +0000 (0:00:00.049) 0:00:12.862 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:44:59 +0000 (0:00:00.042) 0:00:12.905 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 18:44:59 +0000 (0:00:00.039) 0:00:12.944 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 18:44:59 +0000 (0:00:00.047) 0:00:12.992 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 18:45:00 +0000 (0:00:00.052) 0:00:13.044 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 18:45:00 +0000 (0:00:00.047) 0:00:13.091 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:45:00 +0000 (0:00:00.121) 0:00:13.213 ***** 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-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:45:00 +0000 (0:00:00.034) 0:00:13.247 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369898.1895006, "block_size": 4096, "blocks": 8, "ctime": 1701369898.0495024, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798141, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701369898.0495024, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-lsr101.90", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 321, "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-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:45:00 +0000 (0:00:00.209) 0:00:13.456 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:45:00 +0000 (0:00:00.031) 0:00:13.488 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.025198", "end": "2023-11-30 18:45:00.644998", "rc": 0, "start": "2023-11-30 18:45:00.619800" } STDOUT: lsr101.90 /etc/sysconfig/network-scripts/ifcfg-lsr101.90 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:45:00 +0000 (0:00:00.230) 0:00:13.719 ***** 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-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:45:00 +0000 (0:00:00.034) 0:00:13.753 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:45:00 +0000 (0:00:00.033) 0:00:13.787 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101.90] ************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:45:00 +0000 (0:00:00.032) 0:00:13.819 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:45:00 +0000 (0:00:00.031) 0:00:13.851 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101.90'] ************************ task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 18:45:00 +0000 (0:00:00.032) 0:00:13.883 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101.90'] ******* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 18:45:00 +0000 (0:00:00.032) 0:00:13.916 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 18:45:00 +0000 (0:00:00.030) 0:00:13.946 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tests_vlan_mtu.yml:58 Thursday 30 November 2023 18:45:00 +0000 (0:00:00.030) 0:00:13.976 ***** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 30 November 2023 18:45:00 +0000 (0:00:00.030) 0:00:14.007 ***** included: /WORKDIR/git-code_refactorib16hxy9/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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:45:01 +0000 (0:00:00.081) 0:00:14.089 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 30 November 2023 18:45:01 +0000 (0:00:00.037) 0:00:14.126 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 30 November 2023 18:45:01 +0000 (0:00:00.029) 0:00:14.155 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 30 November 2023 18:45:01 +0000 (0:00:00.029) 0:00:14.185 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 30 November 2023 18:45:02 +0000 (0:00:01.693) 0:00:15.878 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 30 November 2023 18:45:04 +0000 (0:00:01.293) 0:00:17.172 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 30 November 2023 18:45:04 +0000 (0:00:00.031) 0:00:17.203 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 30 November 2023 18:45:04 +0000 (0:00:00.028) 0:00:17.232 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 30 November 2023 18:45:04 +0000 (0:00:00.031) 0:00:17.264 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 30 November 2023 18:45:04 +0000 (0:00:00.063) 0:00:17.327 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 30 November 2023 18:45:04 +0000 (0:00:00.029) 0:00:17.357 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 30 November 2023 18:45:04 +0000 (0:00:00.028) 0:00:17.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 30 November 2023 18:45:04 +0000 (0:00:00.033) 0:00:17.418 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 30 November 2023 18:45:04 +0000 (0:00:00.365) 0:00:17.784 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 30 November 2023 18:45:04 +0000 (0:00:00.035) 0:00:17.819 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 30 November 2023 18:45:04 +0000 (0:00:00.029) 0:00:17.849 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 30 November 2023 18:45:04 +0000 (0:00:00.031) 0:00:17.880 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 30 November 2023 18:45:05 +0000 (0:00:00.581) 0:00:18.462 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 30 November 2023 18:45:05 +0000 (0:00:00.031) 0:00:18.493 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 30 November 2023 18:45:05 +0000 (0:00:00.032) 0:00:18.526 ***** 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-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 30 November 2023 18:45:05 +0000 (0:00:00.029) 0:00:18.555 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 30 November 2023 18:45:05 +0000 (0:00:00.027) 0:00:18.583 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tests_vlan_mtu.yml:73 Thursday 30 November 2023 18:45:05 +0000 (0:00:00.201) 0:00:18.784 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:45:05 +0000 (0:00:00.060) 0:00:18.844 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:45:05 +0000 (0:00:00.029) 0:00:18.874 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:45:05 +0000 (0:00:00.027) 0:00:18.901 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:45:05 +0000 (0:00:00.046) 0:00:18.948 ***** included: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:45:05 +0000 (0:00:00.046) 0:00:18.995 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003558", "end": "2023-11-30 18:45:06.128044", "rc": 0, "start": "2023-11-30 18:45:06.124486" } STDOUT: bonding_masters eth0 lo lsr101 peerlsr101 rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:45:06 +0000 (0:00:00.236) 0:00:19.231 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "lsr101", "peerlsr101", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:45:06 +0000 (0:00:00.031) 0:00:19.263 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'lsr101', 'peerlsr101', 'rpltstbr'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:45:06 +0000 (0:00:00.029) 0:00:19.293 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 30 November 2023 18:45:07 +0000 (0:00:01.438) 0:00:20.731 ***** 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-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 30 November 2023 18:45:07 +0000 (0:00:00.041) 0:00:20.773 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 30 November 2023 18:45:07 +0000 (0:00:00.028) 0:00:20.802 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.009952", "end": "2023-11-30 18:45:07.944067", "rc": 0, "start": "2023-11-30 18:45:07.934115" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 30 November 2023 18:45:07 +0000 (0:00:00.219) 0:00:21.021 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 30 November 2023 18:45:08 +0000 (0:00:00.029) 0:00:21.051 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:45:08 +0000 (0:00:00.028) 0:00:21.080 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 30 November 2023 18:45:08 +0000 (0:00:00.028) 0:00:21.108 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=80 changed=2 unreachable=0 failed=0 skipped=55 rescued=0 ignored=0 Thursday 30 November 2023 18:45:08 +0000 (0:00:00.010) 0:00:21.119 ***** =============================================================================== Install iproute --------------------------------------------------------- 1.84s /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which services are running ----------- 1.74s /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Install iproute --------------------------------------------------------- 1.44s /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Check which packages are installed --------- 1.41s /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.29s /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-code_refactorib16hxy9/tests/tests_vlan_mtu_nm.yml:5 -------------- Create veth interface lsr101 -------------------------------------------- 0.62s /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/manage_test_interface.yml:24 linux-system-roles.network : Configure networking connection profiles --- 0.59s /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 0.58s /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Enable EPEL 8 ----------------------------------------------------------- 0.57s /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml:35 ------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.55s /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gathering Facts --------------------------------------------------------- 0.50s /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tests_vlan_mtu.yml:3 ------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.37s /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gather the minimum subset of ansible_facts required by the network role test --- 0.34s /WORKDIR/git-code_refactorib16hxy9/tests/tasks/el_repo_setup.yml:3 ------------ linux-system-roles.network : Re-test connectivity ----------------------- 0.27s /WORKDIR/git-code_refactorib16hxy9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Check if system is ostree ----------------------------------------------- 0.27s /WORKDIR/git-code_refactorib16hxy9/tests/tasks/el_repo_setup.yml:19 ----------- Create EPEL 8 ----------------------------------------------------------- 0.25s /WORKDIR/git-code_refactorib16hxy9/tests/tasks/enable_epel.yml:8 -------------- Get NM profile info ----------------------------------------------------- 0.24s /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_profile_stat.yml:25 Gather current interface info ------------------------------------------- 0.24s /WORKDIR/git-code_refactorib16hxy9/tests/playbooks/tasks/get_current_interfaces.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---