# 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-code_refactor2x40dj8i/.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_route_table_nm.yml ********************************************* 6 plays in /WORKDIR/git-code_refactor2x40dj8i/tests/tests_route_table_nm.yml PLAY [Run playbook 'playbooks/tests_route_table.yml' with nm as provider] ****** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/tests_route_table_nm.yml:5 Thursday 30 November 2023 17:00:51 +0000 (0:00:00.017) 0:00:00.017 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactor2x40dj8i/tests/tests_route_table_nm.yml:9 Thursday 30 November 2023 17:00:52 +0000 (0:00:01.112) 0:00:01.129 ***** included: /WORKDIR/git-code_refactor2x40dj8i/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_refactor2x40dj8i/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 17:00:53 +0000 (0:00:00.019) 0:00:01.148 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/tasks/el_repo_setup.yml:17 Thursday 30 November 2023 17:00:53 +0000 (0:00:00.403) 0:00:01.552 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/tasks/el_repo_setup.yml:22 Thursday 30 November 2023 17:00:53 +0000 (0:00:00.346) 0:00:01.898 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/tasks/el_repo_setup.yml:26 Thursday 30 November 2023 17:00:53 +0000 (0:00:00.027) 0:00:01.925 ***** 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-code_refactor2x40dj8i/tests/tasks/el_repo_setup.yml:51 Thursday 30 November 2023 17:00:53 +0000 (0:00:00.015) 0:00:01.940 ***** included: /WORKDIR/git-code_refactor2x40dj8i/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 37] ********************************************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 17:00:53 +0000 (0:00:00.032) 0:00:01.973 ***** 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-code_refactor2x40dj8i/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 17:00:53 +0000 (0:00:00.012) 0:00:01.986 ***** 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-code_refactor2x40dj8i/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 17:00:53 +0000 (0:00:00.011) 0:00:01.997 ***** 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-code_refactor2x40dj8i/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 17:00:53 +0000 (0:00:00.012) 0:00:02.010 ***** 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-code_refactor2x40dj8i/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 17:00:53 +0000 (0:00:00.012) 0:00:02.022 ***** 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-code_refactor2x40dj8i/tests/tests_route_table_nm.yml:11 Thursday 30 November 2023 17:00:53 +0000 (0:00:00.010) 0:00:02.033 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing route table] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:3 Thursday 30 November 2023 17:00:53 +0000 (0:00:00.026) 0:00:02.060 ***** ok: [sut] TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:11 Thursday 30 November 2023 17:00:54 +0000 (0:00:00.749) 0:00:02.809 ***** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:15 Thursday 30 November 2023 17:00:54 +0000 (0:00:00.018) 0:00:02.828 ***** included: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:00:54 +0000 (0:00:00.025) 0:00:02.853 ***** included: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:00:54 +0000 (0:00:00.016) 0:00:02.870 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003858", "end": "2023-11-30 17:00:55.007185", "rc": 0, "start": "2023-11-30 17:00:55.003327" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.304) 0:00:03.174 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.015) 0:00:03.190 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:17 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.014) 0:00:03.204 ***** included: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.030) 0:00:03.234 ***** 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-code_refactor2x40dj8i/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.012) 0:00:03.246 ***** 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-code_refactor2x40dj8i/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.013) 0:00:03.260 ***** included: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.019) 0:00:03.279 ***** included: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.013) 0:00:03.293 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003799", "end": "2023-11-30 17:00:55.344186", "rc": 0, "start": "2023-11-30 17:00:55.340387" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.218) 0:00:03.511 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.017) 0:00:03.529 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 17:00:55 +0000 (0:00:00.016) 0:00:03.545 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 17:00:57 +0000 (0:00:02.535) 0:00:06.081 ***** ok: [sut] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.014154", "end": "2023-11-30 17:00:58.173857", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2023-11-30 17:00:58.159703" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.004214", "end": "2023-11-30 17:00:58.417215", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2023-11-30 17:00:58.413001" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004192", "end": "2023-11-30 17:00:58.640699", "item": "ip link set ethtest0 up", "rc": 0, "start": "2023-11-30 17:00:58.636507" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.747) 0:00:06.829 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.020329", "end": "2023-11-30 17:00:58.925380", "rc": 0, "start": "2023-11-30 17:00:58.905051" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.264) 0:00:07.093 ***** 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 ethtest0] ***************************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 17:00:58 +0000 (0:00:00.034) 0:00:07.128 ***** 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 ethtest0] ***************************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 17:00:59 +0000 (0:00:00.023) 0:00:07.151 ***** 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 ethtest0] ******************************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 17:00:59 +0000 (0:00:00.024) 0:00:07.176 ***** 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 ethtest0] ******************************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 17:00:59 +0000 (0:00:00.020) 0:00:07.196 ***** 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-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:21 Thursday 30 November 2023 17:00:59 +0000 (0:00:00.020) 0:00:07.217 ***** included: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 17:00:59 +0000 (0:00:00.063) 0:00:07.281 ***** included: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 17:00:59 +0000 (0:00:00.027) 0:00:07.308 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363658.1638994, "block_size": 4096, "blocks": 0, "ctime": 1701363658.1638994, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33551, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1701363658.1638994, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 - 'ethtest0'] *********************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 17:00:59 +0000 (0:00:00.226) 0:00:07.534 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 17:00:59 +0000 (0:00:00.018) 0:00:07.553 ***** included: /WORKDIR/git-code_refactor2x40dj8i/.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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:00:59 +0000 (0:00:00.035) 0:00:07.589 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 17:00:59 +0000 (0:00:00.028) 0:00:07.617 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 17:00:59 +0000 (0:00:00.020) 0:00:07.638 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 17:00:59 +0000 (0:00:00.022) 0:00:07.660 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 17:01:01 +0000 (0:00:02.342) 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 [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 17:01:02 +0000 (0:00:00.996) 0:00:10.998 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 17:01:02 +0000 (0:00:00.031) 0:00:11.030 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 17:01:02 +0000 (0:00:00.042) 0:00:11.072 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 17:01:02 +0000 (0:00:00.045) 0:00:11.118 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 17:01:03 +0000 (0:00:00.110) 0:00:11.229 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 17:01:03 +0000 (0:00:00.039) 0:00:11.268 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 17:01:03 +0000 (0:00:00.057) 0:00:11.326 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 17:01:03 +0000 (0:00:00.047) 0:00:11.374 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 17:01:03 +0000 (0:00:00.703) 0:00:12.078 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 17:01:04 +0000 (0:00:00.069) 0:00:12.147 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 17:01:04 +0000 (0:00:00.045) 0:00:12.193 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 17:01:04 +0000 (0:00:00.043) 0:00:12.237 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 85e04ec1-6b11-4b9f-99f6-4f286db89efa [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 85e04ec1-6b11-4b9f-99f6-4f286db89efa (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 17:01:04 +0000 (0:00:00.737) 0:00:12.975 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 17:01:04 +0000 (0:00:00.049) 0:00:13.024 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 85e04ec1-6b11-4b9f-99f6-4f286db89efa", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 85e04ec1-6b11-4b9f-99f6-4f286db89efa (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 17:01:04 +0000 (0:00:00.041) 0:00:13.066 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": 30400 }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": 30200 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 85e04ec1-6b11-4b9f-99f6-4f286db89efa\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 85e04ec1-6b11-4b9f-99f6-4f286db89efa (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, 85e04ec1-6b11-4b9f-99f6-4f286db89efa", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 85e04ec1-6b11-4b9f-99f6-4f286db89efa (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 17:01:04 +0000 (0:00:00.049) 0:00:13.115 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 17:01:05 +0000 (0:00:00.048) 0:00:13.163 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the routes from the route table 30200] ******************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:50 Thursday 30 November 2023 17:01:05 +0000 (0:00:00.587) 0:00:13.750 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30200" ], "delta": "0:00:00.003970", "end": "2023-11-30 17:01:05.816992", "rc": 0, "start": "2023-11-30 17:01:05.813022" } STDOUT: 198.51.100.64/26 via 198.51.100.6 dev ethtest0 proto static metric 4 TASK [Get the routes from the route table 30400] ******************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:56 Thursday 30 November 2023 17:01:05 +0000 (0:00:00.265) 0:00:14.016 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "30400" ], "delta": "0:00:00.004138", "end": "2023-11-30 17:01:06.066352", "rc": 0, "start": "2023-11-30 17:01:06.062214" } STDOUT: 198.51.100.128/26 via 198.51.100.1 dev ethtest0 proto static metric 2 TASK [Assert that the route table 30200 contains the specified route] ********** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:62 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.245) 0:00:14.261 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the route table 30400 contains the specified route] ********** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:69 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.057) 0:00:14.319 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Create a dedicated test file in `/etc/iproute2/rt_tables.d/` and add a new routing table] *** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:75 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.144) 0:00:14.463 ***** changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.388) 0:00:14.852 ***** included: /WORKDIR/git-code_refactor2x40dj8i/.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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.059) 0:00:14.911 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.059) 0:00:14.970 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.045) 0:00:15.016 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 17:01:06 +0000 (0:00:00.042) 0:00:15.059 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 17:01:09 +0000 (0:00:02.150) 0:00:17.209 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 17:01:09 +0000 (0:00:00.744) 0:00:17.953 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 17:01:09 +0000 (0:00:00.090) 0:00:18.043 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 17:01:09 +0000 (0:00:00.055) 0:00:18.099 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 17:01:10 +0000 (0:00:00.053) 0:00:18.152 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 17:01:10 +0000 (0:00:00.133) 0:00:18.285 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 17:01:10 +0000 (0:00:00.047) 0:00:18.333 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 17:01:10 +0000 (0:00:00.116) 0:00:18.449 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 17:01:10 +0000 (0:00:00.117) 0:00:18.567 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 17:01:10 +0000 (0:00:00.504) 0:00:19.072 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 17:01:10 +0000 (0:00:00.057) 0:00:19.129 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.028) 0:00:19.158 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.040) 0:00:19.198 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": "custom" }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": "custom" } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': update connection ethtest0, 85e04ec1-6b11-4b9f-99f6-4f286db89efa [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 85e04ec1-6b11-4b9f-99f6-4f286db89efa (is-modified) [005] #0, state:up persistent_state:present, 'ethtest0': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.472) 0:00:19.671 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.051) 0:00:19.722 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': update connection ethtest0, 85e04ec1-6b11-4b9f-99f6-4f286db89efa", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 85e04ec1-6b11-4b9f-99f6-4f286db89efa (is-modified)", "[005] #0, state:up persistent_state:present, 'ethtest0': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.072) 0:00:19.794 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/26" ], "dhcp4": false, "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26, "table": "custom" }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26, "table": "custom" } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'ethtest0': update connection ethtest0, 85e04ec1-6b11-4b9f-99f6-4f286db89efa\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 85e04ec1-6b11-4b9f-99f6-4f286db89efa (is-modified)\n[005] #0, state:up persistent_state:present, 'ethtest0': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': update connection ethtest0, 85e04ec1-6b11-4b9f-99f6-4f286db89efa", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, 85e04ec1-6b11-4b9f-99f6-4f286db89efa (is-modified)", "[005] #0, state:up persistent_state:present, 'ethtest0': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.045) 0:00:19.839 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.037) 0:00:19.877 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the routes from the named route table 'custom'] ********************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:108 Thursday 30 November 2023 17:01:11 +0000 (0:00:00.232) 0:00:20.109 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route", "show", "table", "custom" ], "delta": "0:00:00.003953", "end": "2023-11-30 17:01:12.157870", "rc": 0, "start": "2023-11-30 17:01:12.153917" } STDOUT: 198.51.100.64/26 via 198.51.100.6 dev ethtest0 proto static metric 4 198.51.100.128/26 via 198.51.100.1 dev ethtest0 proto static metric 2 TASK [Assert that the named route table 'custom' contains the specified route] *** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:114 Thursday 30 November 2023 17:01:12 +0000 (0:00:00.231) 0:00:20.341 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove the dedicated test file in `/etc/iproute2/rt_tables.d/`] ********** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:121 Thursday 30 November 2023 17:01:12 +0000 (0:00:00.036) 0:00:20.377 ***** changed: [sut] => { "changed": true, "path": "/etc/iproute2/rt_tables.d/table.conf", "state": "absent" } PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/down_profile.yml:3 Thursday 30 November 2023 17:01:12 +0000 (0:00:00.577) 0:00:20.956 ***** ok: [sut] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 17:01:13 +0000 (0:00:00.827) 0:00:21.783 ***** included: /WORKDIR/git-code_refactor2x40dj8i/.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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:01:13 +0000 (0:00:00.055) 0:00:21.839 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 17:01:13 +0000 (0:00:00.058) 0:00:21.897 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 17:01:13 +0000 (0:00:00.047) 0:00:21.944 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 17:01:13 +0000 (0:00:00.049) 0:00:21.994 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 17:01:15 +0000 (0:00:02.074) 0:00:24.068 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.812) 0:00:24.881 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.047) 0:00:24.929 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.047) 0:00:24.976 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.060) 0:00:25.037 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 17:01:16 +0000 (0:00:00.095) 0:00:25.133 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 17:01:17 +0000 (0:00:00.044) 0:00:25.177 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 17:01:17 +0000 (0:00:00.044) 0:00:25.222 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 17:01:17 +0000 (0:00:00.072) 0:00:25.294 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 17:01:17 +0000 (0:00:00.469) 0:00:25.764 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 17:01:17 +0000 (0:00:00.055) 0:00:25.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 [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 17:01:17 +0000 (0:00:00.035) 0:00:25.855 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 17:01:17 +0000 (0:00:00.036) 0:00:25.892 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 17:01:18 +0000 (0:00:00.468) 0:00:26.360 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 17:01:18 +0000 (0:00:00.040) 0:00:26.401 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 17:01:18 +0000 (0:00:00.037) 0:00:26.438 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 17:01:18 +0000 (0:00:00.046) 0:00:26.485 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 17:01:18 +0000 (0:00:00.044) 0:00:26.529 ***** ok: [sut] => { "changed": false, "ping": "pong" } PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/down_profile+delete_interface.yml:5 Thursday 30 November 2023 17:01:18 +0000 (0:00:00.351) 0:00:26.880 ***** ok: [sut] TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/down_profile+delete_interface.yml:8 Thursday 30 November 2023 17:01:19 +0000 (0:00:00.804) 0:00:27.685 ***** included: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/delete_interface.yml:3 Thursday 30 November 2023 17:01:19 +0000 (0:00:00.046) 0:00:27.732 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.010962", "end": "2023-11-30 17:01:19.793534", "rc": 0, "start": "2023-11-30 17:01:19.782572" } PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/remove_profile.yml:3 Thursday 30 November 2023 17:01:19 +0000 (0:00:00.324) 0:00:28.056 ***** ok: [sut] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 17:01:20 +0000 (0:00:00.849) 0:00:28.906 ***** included: /WORKDIR/git-code_refactor2x40dj8i/.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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:01:20 +0000 (0:00:00.081) 0:00:28.987 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 17:01:20 +0000 (0:00:00.064) 0:00:29.052 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 17:01:20 +0000 (0:00:00.042) 0:00:29.094 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 17:01:20 +0000 (0:00:00.038) 0:00:29.133 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 17:01:23 +0000 (0:00:02.080) 0:00:31.213 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 17:01:23 +0000 (0:00:00.732) 0:00:31.946 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 17:01:23 +0000 (0:00:00.045) 0:00:31.991 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 17:01:23 +0000 (0:00:00.033) 0:00:32.025 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 17:01:23 +0000 (0:00:00.038) 0:00:32.064 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 17:01:24 +0000 (0:00:00.093) 0:00:32.157 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 17:01:24 +0000 (0:00:00.118) 0:00:32.276 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 17:01:24 +0000 (0:00:00.055) 0:00:32.331 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 17:01:24 +0000 (0:00:00.075) 0:00:32.407 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 17:01:24 +0000 (0:00:00.481) 0:00:32.888 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 17:01:24 +0000 (0:00:00.062) 0:00:32.951 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 17:01:24 +0000 (0:00:00.036) 0:00:32.988 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 17:01:24 +0000 (0:00:00.034) 0:00:33.023 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 17:01:25 +0000 (0:00:00.459) 0:00:33.482 ***** 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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 17:01:25 +0000 (0:00:00.049) 0:00:33.531 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 17:01:25 +0000 (0:00:00.035) 0:00:33.567 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "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-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 17:01:25 +0000 (0:00:00.062) 0:00:33.630 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 17:01:25 +0000 (0:00:00.045) 0:00:33.675 ***** ok: [sut] => { "changed": false, "ping": "pong" } PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:135 Thursday 30 November 2023 17:01:25 +0000 (0:00:00.424) 0:00:34.099 ***** ok: [sut] TASK [Include the task 'assert_profile_absent.yml'] **************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:138 Thursday 30 November 2023 17:01:26 +0000 (0:00:00.794) 0:00:34.893 ***** included: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 30 November 2023 17:01:26 +0000 (0:00:00.051) 0:00:34.945 ***** included: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 17:01:26 +0000 (0:00:00.066) 0:00:35.012 ***** 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_refactor2x40dj8i/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 17:01:26 +0000 (0:00:00.047) 0:00:35.059 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 17:01:27 +0000 (0:00:00.234) 0:00:35.293 ***** 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-code_refactor2x40dj8i/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 17:01:27 +0000 (0:00:00.029) 0:00:35.323 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.020321", "end": "2023-11-30 17:01:27.392451", "rc": 1, "start": "2023-11-30 17:01:27.372130" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 17:01:27 +0000 (0:00:00.260) 0:00:35.583 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 17:01:27 +0000 (0:00:00.030) 0:00:35.614 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 17:01:27 +0000 (0:00:00.033) 0:00:35.647 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest0] *************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 17:01:27 +0000 (0:00:00.038) 0:00:35.685 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest0] ************************ task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 17:01:27 +0000 (0:00:00.082) 0:00:35.768 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest0'] ************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 30 November 2023 17:01:27 +0000 (0:00:00.028) 0:00:35.796 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:142 Thursday 30 November 2023 17:01:27 +0000 (0:00:00.036) 0:00:35.833 ***** included: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 30 November 2023 17:01:27 +0000 (0:00:00.047) 0:00:35.880 ***** included: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 17:01:27 +0000 (0:00:00.046) 0:00:35.926 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 30 November 2023 17:01:28 +0000 (0:00:00.226) 0:00:36.153 ***** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=87 changed=6 unreachable=0 failed=0 skipped=75 rescued=0 ignored=1 Thursday 30 November 2023 17:01:28 +0000 (0:00:00.076) 0:00:36.229 ***** =============================================================================== Install iproute --------------------------------------------------------- 2.54s /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.34s /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.15s /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.08s /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.07s /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.11s /WORKDIR/git-code_refactor2x40dj8i/tests/tests_route_table_nm.yml:5 ----------- fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.85s /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/remove_profile.yml:3 ------- Gathering Facts --------------------------------------------------------- 0.83s /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/down_profile.yml:3 --------- fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.80s /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 0.79s /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:135 -- Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:3 ---- Create veth interface ethtest0 ------------------------------------------ 0.75s /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Check which packages are installed --- 0.74s /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.74s /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Check which packages are installed --- 0.73s /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.70s /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.59s /WORKDIR/git-code_refactor2x40dj8i/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Remove the dedicated test file in `/etc/iproute2/rt_tables.d/` ---------- 0.58s /WORKDIR/git-code_refactor2x40dj8i/tests/playbooks/tests_route_table.yml:121 -- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---