# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-route_typeoqhxd75o/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_vlan_mtu_nm.yml ************************************************ 2 plays in /WORKDIR/git-route_typeoqhxd75o/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-route_typeoqhxd75o/tests/tests_vlan_mtu_nm.yml:5 Thursday 21 December 2023 16:48:58 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeoqhxd75o/tests/tests_vlan_mtu_nm.yml:9 Thursday 21 December 2023 16:48:58 +0000 (0:00:00.867) 0:00:00.879 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-route_typeoqhxd75o/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 16:48:58 +0000 (0:00:00.011) 0:00:00.890 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/tasks/el_repo_setup.yml:17 Thursday 21 December 2023 16:48:59 +0000 (0:00:00.355) 0:00:01.246 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/tasks/el_repo_setup.yml:22 Thursday 21 December 2023 16:48:59 +0000 (0:00:00.260) 0:00:01.506 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/tasks/el_repo_setup.yml:26 Thursday 21 December 2023 16:48:59 +0000 (0:00:00.013) 0:00:01.519 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/tasks/el_repo_setup.yml:51 Thursday 21 December 2023 16:48:59 +0000 (0:00:00.007) 0:00:01.527 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 16:48:59 +0000 (0:00:00.020) 0:00:01.547 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 16:48:59 +0000 (0:00:00.007) 0:00:01.554 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 16:48:59 +0000 (0:00:00.007) 0:00:01.561 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 16:48:59 +0000 (0:00:00.006) 0:00:01.568 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 16:48:59 +0000 (0:00:00.006) 0:00:01.574 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/tests_vlan_mtu_nm.yml:11 Thursday 21 December 2023 16:48:59 +0000 (0:00:00.006) 0:00:01.581 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing vlan mtu setting] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tests_vlan_mtu.yml:3 Thursday 21 December 2023 16:48:59 +0000 (0:00:00.014) 0:00:01.596 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tests_vlan_mtu.yml:10 Thursday 21 December 2023 16:49:00 +0000 (0:00:00.731) 0:00:02.328 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:49:00 +0000 (0:00:00.016) 0:00:02.344 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:49:00 +0000 (0:00:00.010) 0:00:02.354 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003761", "end": "2023-12-21 16:49:00.619097", "rc": 0, "start": "2023-12-21 16:49:00.615336" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:49:00 +0000 (0:00:00.263) 0:00:02.617 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:49:00 +0000 (0:00:00.010) 0:00:02.628 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tests_vlan_mtu.yml:12 Thursday 21 December 2023 16:49:00 +0000 (0:00:00.009) 0:00:02.637 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:49:00 +0000 (0:00:00.018) 0:00:02.656 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:49:00 +0000 (0:00:00.007) 0:00:02.663 ***** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:49:00 +0000 (0:00:00.007) 0:00:02.670 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:49:00 +0000 (0:00:00.010) 0:00:02.681 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:49:00 +0000 (0:00:00.010) 0:00:02.691 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003721", "end": "2023-12-21 16:49:00.897550", "rc": 0, "start": "2023-12-21 16:49:00.893829" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:49:00 +0000 (0:00:00.204) 0:00:02.896 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:49:00 +0000 (0:00:00.009) 0:00:02.905 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:49:00 +0000 (0:00:00.009) 0:00:02.914 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 16:49:03 +0000 (0:00:02.337) 0:00:05.252 ***** 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.009851", "end": "2023-12-21 16:49:03.470310", "item": "ip link add lsr101 type veth peer name peerlsr101", "rc": 0, "start": "2023-12-21 16:49:03.460459" } ok: [sut] => (item=ip link set peerlsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerlsr101", "up" ], "delta": "0:00:00.003864", "end": "2023-12-21 16:49:03.727773", "item": "ip link set peerlsr101 up", "rc": 0, "start": "2023-12-21 16:49:03.723909" } ok: [sut] => (item=ip link set lsr101 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "lsr101", "up" ], "delta": "0:00:00.004399", "end": "2023-12-21 16:49:03.927309", "item": "ip link set lsr101 up", "rc": 0, "start": "2023-12-21 16:49:03.922910" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 16:49:03 +0000 (0:00:00.674) 0:00:05.927 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "lsr101", "managed", "true" ], "delta": "0:00:00.023841", "end": "2023-12-21 16:49:04.154367", "rc": 0, "start": "2023-12-21 16:49:04.130526" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 16:49:04 +0000 (0:00:00.228) 0:00:06.155 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 16:49:04 +0000 (0:00:00.009) 0:00:06.164 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 16:49:04 +0000 (0:00:00.008) 0:00:06.172 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 16:49:04 +0000 (0:00:00.008) 0:00:06.180 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:49:04 +0000 (0:00:00.007) 0:00:06.188 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tests_vlan_mtu.yml:16 Thursday 21 December 2023 16:49:04 +0000 (0:00:00.007) 0:00:06.196 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:49:04 +0000 (0:00:00.017) 0:00:06.213 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101] ******************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:49:04 +0000 (0:00:00.010) 0:00:06.224 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177343.4646404, "block_size": 4096, "blocks": 0, "ctime": 1703177343.4646404, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36447, "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": 1703177343.4646404, "nlink": 1, "path": "/sys/class/net/lsr101", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'lsr101'] ************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:49:04 +0000 (0:00:00.202) 0:00:06.426 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure the MTU for a vlan interface without autoconnect.] *** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tests_vlan_mtu.yml:18 Thursday 21 December 2023 16:49:04 +0000 (0:00:00.011) 0:00:06.437 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:49:04 +0000 (0:00:00.008) 0:00:06.446 ***** included: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:49:04 +0000 (0:00:00.015) 0:00:06.461 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:49:04 +0000 (0:00:00.018) 0:00:06.480 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:49:04 +0000 (0:00:00.012) 0:00:06.492 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:49:04 +0000 (0:00:00.016) 0:00:06.509 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:49:06 +0000 (0:00:02.382) 0:00:08.892 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:49:07 +0000 (0:00:00.929) 0:00:09.821 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:49:07 +0000 (0:00:00.020) 0:00:09.842 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:49:07 +0000 (0:00:00.020) 0:00:09.863 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:49:07 +0000 (0:00:00.020) 0:00:09.883 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:49:07 +0000 (0:00:00.051) 0:00:09.935 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:49:07 +0000 (0:00:00.021) 0:00:09.956 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:49:08 +0000 (0:00:00.037) 0:00:09.994 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:49:08 +0000 (0:00:00.033) 0:00:10.027 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:49:08 +0000 (0:00:00.564) 0:00:10.591 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:49:08 +0000 (0:00:00.035) 0:00:10.627 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:49:08 +0000 (0:00:00.019) 0:00:10.646 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:49:08 +0000 (0:00:00.018) 0:00:10.665 ***** 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, 8c228362-fb81-488d-9f39-7f2bf3a82ece [006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, d345d814-58e4-4f58-ad52-4ec79718abcb [007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 8c228362-fb81-488d-9f39-7f2bf3a82ece (not-active) [008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, d345d814-58e4-4f58-ad52-4ec79718abcb (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:49:09 +0000 (0:00:00.733) 0:00:11.398 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:49:09 +0000 (0:00:00.022) 0:00:11.421 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 8c228362-fb81-488d-9f39-7f2bf3a82ece", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, d345d814-58e4-4f58-ad52-4ec79718abcb", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 8c228362-fb81-488d-9f39-7f2bf3a82ece (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, d345d814-58e4-4f58-ad52-4ec79718abcb (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:49:09 +0000 (0:00:00.020) 0:00:11.441 ***** 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, 8c228362-fb81-488d-9f39-7f2bf3a82ece\n[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, d345d814-58e4-4f58-ad52-4ec79718abcb\n[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 8c228362-fb81-488d-9f39-7f2bf3a82ece (not-active)\n[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, d345d814-58e4-4f58-ad52-4ec79718abcb (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'lsr101': add connection lsr101, 8c228362-fb81-488d-9f39-7f2bf3a82ece", "[006] #1, state:up persistent_state:present, 'lsr101.90': add connection lsr101.90, d345d814-58e4-4f58-ad52-4ec79718abcb", "[007] #0, state:up persistent_state:present, 'lsr101': up connection lsr101, 8c228362-fb81-488d-9f39-7f2bf3a82ece (not-active)", "[008] #1, state:up persistent_state:present, 'lsr101.90': up connection lsr101.90, d345d814-58e4-4f58-ad52-4ec79718abcb (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:49:09 +0000 (0:00:00.021) 0:00:11.463 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:49:09 +0000 (0:00:00.020) 0:00:11.484 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tests_vlan_mtu.yml:46 Thursday 21 December 2023 16:49:09 +0000 (0:00:00.304) 0:00:11.788 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:49:09 +0000 (0:00:00.036) 0:00:11.825 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr101.90] **************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:49:09 +0000 (0:00:00.055) 0:00:11.880 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177349.3435547, "block_size": 4096, "blocks": 0, "ctime": 1703177349.3435547, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36876, "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": 1703177349.3435547, "nlink": 1, "path": "/sys/class/net/lsr101.90", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'lsr101.90'] ********************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.214) 0:00:12.095 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tests_vlan_mtu.yml:50 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.021) 0:00:12.116 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=lsr101) included: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=lsr101.90) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.040) 0:00:12.157 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.031) 0:00:12.188 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.019) 0:00:12.208 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.214) 0:00:12.422 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.018) 0:00:12.441 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101 | grep /etc", "delta": "0:00:00.025457", "end": "2023-12-21 16:49:10.671159", "rc": 0, "start": "2023-12-21 16:49:10.645702" } 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-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.239) 0:00:12.680 ***** 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-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.021) 0:00:12.701 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr101] ********************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.018) 0:00:12.720 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101] ***************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.018) 0:00:12.739 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101] ************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.018) 0:00:12.757 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101'] *************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.018) 0:00:12.775 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101'] ********** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.020) 0:00:12.795 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101] **************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.042) 0:00:12.838 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.022) 0:00:12.860 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.030) 0:00:12.891 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:49:10 +0000 (0:00:00.019) 0:00:12.910 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.210) 0:00:13.121 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.018) 0:00:13.140 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr101.90 | grep /etc", "delta": "0:00:00.024808", "end": "2023-12-21 16:49:11.367804", "rc": 0, "start": "2023-12-21 16:49:11.342996" } 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-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.236) 0:00:13.377 ***** 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-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.020) 0:00:13.398 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr101.90] ******************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.018) 0:00:13.417 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-lsr101.90] ************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.018) 0:00:13.435 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-lsr101.90] *********************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.017) 0:00:13.453 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'lsr101.90'] ************************ task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.017) 0:00:13.471 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'lsr101.90'] ******* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.021) 0:00:13.492 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in lsr101.90] ************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.020) 0:00:13.513 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tests_vlan_mtu.yml:58 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.020) 0:00:13.533 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.041) 0:00:13.575 ***** included: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.034) 0:00:13.609 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.031) 0:00:13.641 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.021) 0:00:13.663 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:49:11 +0000 (0:00:00.023) 0:00:13.686 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:49:13 +0000 (0:00:02.277) 0:00:15.963 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:49:14 +0000 (0:00:00.763) 0:00:16.727 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:49:14 +0000 (0:00:00.021) 0:00:16.748 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:49:14 +0000 (0:00:00.022) 0:00:16.771 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:49:14 +0000 (0:00:00.021) 0:00:16.792 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:49:14 +0000 (0:00:00.052) 0:00:16.844 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:49:14 +0000 (0:00:00.021) 0:00:16.866 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:49:14 +0000 (0:00:00.021) 0:00:16.888 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:49:15 +0000 (0:00:00.092) 0:00:16.981 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:49:15 +0000 (0:00:00.415) 0:00:17.396 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:49:15 +0000 (0:00:00.034) 0:00:17.431 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:49:15 +0000 (0:00:00.018) 0:00:17.449 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:49:15 +0000 (0:00:00.018) 0:00:17.468 ***** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.564) 0:00:18.033 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.022) 0:00:18.055 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.021) 0:00:18.077 ***** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.022) 0:00:18.099 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.021) 0:00:18.120 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tests_vlan_mtu.yml:73 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.220) 0:00:18.340 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.039) 0:00:18.380 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.018) 0:00:18.399 ***** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.017) 0:00:18.417 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.054) 0:00:18.472 ***** included: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.030) 0:00:18.502 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003651", "end": "2023-12-21 16:49:16.712374", "rc": 0, "start": "2023-12-21 16:49:16.708723" } STDOUT: bonding_masters eth0 lo lsr101 peerlsr101 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.220) 0:00:18.723 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "lsr101", "peerlsr101" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.020) 0:00:18.744 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'lsr101', 'peerlsr101'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:49:16 +0000 (0:00:00.021) 0:00:18.765 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 16:49:19 +0000 (0:00:02.249) 0:00:21.014 ***** skipping: [sut] => (item=ip link add lsr101 type veth peer name peerlsr101) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set lsr101 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 16:49:19 +0000 (0:00:00.025) 0:00:21.040 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface lsr101] ******************************************** task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 16:49:19 +0000 (0:00:00.019) 0:00:21.060 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr101", "type", "veth" ], "delta": "0:00:00.013699", "end": "2023-12-21 16:49:19.282345", "rc": 0, "start": "2023-12-21 16:49:19.268646" } TASK [Create dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 16:49:19 +0000 (0:00:00.242) 0:00:21.302 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr101] ******************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 16:49:19 +0000 (0:00:00.019) 0:00:21.321 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 16:49:19 +0000 (0:00:00.019) 0:00:21.341 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr101] ********************************************* task path: /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:49:19 +0000 (0:00:00.019) 0:00:21.360 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=76 changed=2 unreachable=0 failed=0 skipped=59 rescued=0 ignored=0 Thursday 21 December 2023 16:49:19 +0000 (0:00:00.072) 0:00:21.433 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.38s /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.34s /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.28s /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.25s /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 0.93s /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.87s /WORKDIR/git-route_typeoqhxd75o/tests/tests_vlan_mtu_nm.yml:5 ----------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.76s /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.73s /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tests_vlan_mtu.yml:3 ---------- Create veth interface lsr101 -------------------------------------------- 0.67s /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.56s /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.56s /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.42s /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Gather the minimum subset of ansible_facts required by the network role test --- 0.36s /WORKDIR/git-route_typeoqhxd75o/tests/tasks/el_repo_setup.yml:3 --------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.30s /WORKDIR/git-route_typeoqhxd75o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Gather current interface info ------------------------------------------- 0.26s /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_current_interfaces.yml:3 Check if system is ostree ----------------------------------------------- 0.26s /WORKDIR/git-route_typeoqhxd75o/tests/tasks/el_repo_setup.yml:17 -------------- Delete veth interface lsr101 -------------------------------------------- 0.24s /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/manage_test_interface.yml:39 Get NM profile info ----------------------------------------------------- 0.24s /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:25 - Get NM profile info ----------------------------------------------------- 0.24s /WORKDIR/git-route_typeoqhxd75o/tests/playbooks/tasks/get_profile_stat.yml:25 - ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---