# 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_refactortccg8ujs/.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_auto_gateway_nm.yml ******************************************** 2 plays in /WORKDIR/git-code_refactortccg8ujs/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/tests_auto_gateway_nm.yml:5 Thursday 30 November 2023 17:01:47 +0000 (0:00:00.014) 0:00:00.014 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactortccg8ujs/tests/tests_auto_gateway_nm.yml:9 Thursday 30 November 2023 17:01:48 +0000 (0:00:00.845) 0:00:00.860 ***** included: /WORKDIR/git-code_refactortccg8ujs/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_refactortccg8ujs/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 17:01:48 +0000 (0:00:00.013) 0:00:00.873 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/el_repo_setup.yml:17 Thursday 30 November 2023 17:01:48 +0000 (0:00:00.352) 0:00:01.225 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/el_repo_setup.yml:22 Thursday 30 November 2023 17:01:48 +0000 (0:00:00.277) 0:00:01.503 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/el_repo_setup.yml:26 Thursday 30 November 2023 17:01:48 +0000 (0:00:00.019) 0:00:01.522 ***** 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_refactortccg8ujs/tests/tasks/el_repo_setup.yml:51 Thursday 30 November 2023 17:01:48 +0000 (0:00:00.010) 0:00:01.533 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 17:01:48 +0000 (0:00:00.029) 0:00:01.562 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 17:01:49 +0000 (0:00:00.276) 0:00:01.839 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 17:01:49 +0000 (0:00:00.010) 0:00:01.850 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 17:01:49 +0000 (0:00:00.010) 0:00:01.860 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.379994", "end": "2023-11-30 17:01:49.664450", "rc": 0, "start": "2023-11-30 17:01:49.284456" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 17:01:49 +0000 (0:00:00.573) 0:00:02.433 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/tests_auto_gateway_nm.yml:11 Thursday 30 November 2023 17:01:49 +0000 (0:00:00.010) 0:00:02.444 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:3 Thursday 30 November 2023 17:01:49 +0000 (0:00:00.026) 0:00:02.471 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:9 Thursday 30 November 2023 17:01:50 +0000 (0:00:00.637) 0:00:03.109 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:01:50 +0000 (0:00:00.031) 0:00:03.140 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:01:50 +0000 (0:00:00.018) 0:00:03.159 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003725", "end": "2023-11-30 17:01:50.587984", "rc": 0, "start": "2023-11-30 17:01:50.584259" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:01:50 +0000 (0:00:00.199) 0:00:03.359 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:01:50 +0000 (0:00:00.015) 0:00:03.374 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:11 Thursday 30 November 2023 17:01:50 +0000 (0:00:00.015) 0:00:03.390 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 17:01:50 +0000 (0:00:00.039) 0:00:03.429 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 17:01:50 +0000 (0:00:00.012) 0:00:03.442 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 17:01:50 +0000 (0:00:00.014) 0:00:03.456 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:01:50 +0000 (0:00:00.024) 0:00:03.480 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:01:50 +0000 (0:00:00.019) 0:00:03.500 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003632", "end": "2023-11-30 17:01:50.929618", "rc": 0, "start": "2023-11-30 17:01:50.925986" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:01:50 +0000 (0:00:00.197) 0:00:03.698 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:01:50 +0000 (0:00:00.012) 0:00:03.710 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 17:01:50 +0000 (0:00:00.014) 0:00:03.724 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 17:01:52 +0000 (0:00:01.704) 0:00:05.429 ***** ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.011942", "end": "2023-11-30 17:01:52.877540", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-30 17:01:52.865598" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.007665", "end": "2023-11-30 17:01:53.114135", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-30 17:01:53.106470" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007469", "end": "2023-11-30 17:01:53.307032", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-30 17:01:53.299563" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 17:01:53 +0000 (0:00:00.649) 0:00:06.079 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023533", "end": "2023-11-30 17:01:53.527786", "rc": 0, "start": "2023-11-30 17:01:53.504253" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 17:01:53 +0000 (0:00:00.220) 0:00:06.299 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 17:01:53 +0000 (0:00:00.012) 0:00:06.312 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 17:01:53 +0000 (0:00:00.013) 0:00:06.326 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 17:01:53 +0000 (0:00:00.014) 0:00:06.340 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 17:01:53 +0000 (0:00:00.016) 0:00:06.357 ***** 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_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:15 Thursday 30 November 2023 17:01:53 +0000 (0:00:00.013) 0:00:06.370 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 17:01:53 +0000 (0:00:00.050) 0:00:06.420 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 17:01:53 +0000 (0:00:00.017) 0:00:06.438 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363712.869582, "block_size": 4096, "blocks": 0, "ctime": 1701363712.869582, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23008, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1701363712.869582, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 17:01:53 +0000 (0:00:00.197) 0:00:06.635 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:17 Thursday 30 November 2023 17:01:53 +0000 (0:00:00.015) 0:00:06.650 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 17:01:53 +0000 (0:00:00.015) 0:00:06.666 ***** included: /WORKDIR/git-code_refactortccg8ujs/.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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:01:53 +0000 (0:00:00.026) 0:00:06.692 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 17:01:53 +0000 (0:00:00.025) 0:00:06.718 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 17:01:53 +0000 (0:00:00.016) 0:00:06.735 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 17:01:54 +0000 (0:00:00.017) 0:00:06.753 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 17:01:55 +0000 (0:00:01.821) 0:00:08.574 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 17:01:57 +0000 (0:00:01.586) 0:00:10.160 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 17:01:57 +0000 (0:00:00.028) 0:00:10.189 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 17:01:57 +0000 (0:00:00.033) 0:00:10.222 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 17:01:57 +0000 (0:00:00.028) 0:00:10.250 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 17:01:57 +0000 (0:00:00.076) 0:00:10.327 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 17:01:57 +0000 (0:00:00.063) 0:00:10.391 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 17:01:57 +0000 (0:00:00.029) 0:00:10.420 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 17:01:57 +0000 (0:00:00.047) 0:00:10.467 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 17:01:58 +0000 (0:00:00.636) 0:00:11.104 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 17:01:58 +0000 (0:00:00.067) 0:00:11.172 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 17:01:58 +0000 (0:00:00.034) 0:00:11.206 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 17:01:58 +0000 (0:00:00.024) 0:00:11.231 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 93d98c24-1cd5-4d45-a05f-4ebf3c5d2544 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 93d98c24-1cd5-4d45-a05f-4ebf3c5d2544 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 17:01:59 +0000 (0:00:00.654) 0:00:11.885 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 17:01:59 +0000 (0:00:00.028) 0:00:11.913 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 93d98c24-1cd5-4d45-a05f-4ebf3c5d2544", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 93d98c24-1cd5-4d45-a05f-4ebf3c5d2544 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 17:01:59 +0000 (0:00:00.028) 0:00:11.942 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "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, 'veth0': add connection veth0, 93d98c24-1cd5-4d45-a05f-4ebf3c5d2544\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 93d98c24-1cd5-4d45-a05f-4ebf3c5d2544 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 93d98c24-1cd5-4d45-a05f-4ebf3c5d2544", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 93d98c24-1cd5-4d45-a05f-4ebf3c5d2544 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 17:01:59 +0000 (0:00:00.030) 0:00:11.972 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 17:01:59 +0000 (0:00:00.028) 0:00:12.001 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:42 Thursday 30 November 2023 17:01:59 +0000 (0:00:00.384) 0:00:12.385 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 17:01:59 +0000 (0:00:00.056) 0:00:12.442 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 17:01:59 +0000 (0:00:00.077) 0:00:12.520 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363712.869582, "block_size": 4096, "blocks": 0, "ctime": 1701363712.869582, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23008, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1701363712.869582, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 17:01:59 +0000 (0:00:00.207) 0:00:12.727 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:44 Thursday 30 November 2023 17:02:00 +0000 (0:00:00.027) 0:00:12.754 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 17:02:00 +0000 (0:00:00.062) 0:00:12.817 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 17:02:00 +0000 (0:00:00.055) 0:00:12.873 ***** 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_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 17:02:00 +0000 (0:00:00.025) 0:00:12.899 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363719.0811107, "block_size": 4096, "blocks": 8, "ctime": 1701363719.0391119, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701363719.0391119, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 396, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 17:02:00 +0000 (0:00:00.217) 0:00:13.116 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 17:02:00 +0000 (0:00:00.027) 0:00:13.143 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022476", "end": "2023-11-30 17:02:00.592516", "rc": 0, "start": "2023-11-30 17:02:00.570040" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 17:02:00 +0000 (0:00:00.235) 0:00:13.379 ***** 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-veth0] ************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 17:02:00 +0000 (0:00:00.031) 0:00:13.410 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 17:02:00 +0000 (0:00:00.026) 0:00:13.437 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 17:02:00 +0000 (0:00:00.024) 0:00:13.461 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 17:02:00 +0000 (0:00:00.024) 0:00:13.486 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 17:02:00 +0000 (0:00:00.024) 0:00:13.510 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 17:02:00 +0000 (0:00:00.065) 0:00:13.575 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 17:02:00 +0000 (0:00:00.030) 0:00:13.606 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:48 Thursday 30 November 2023 17:02:00 +0000 (0:00:00.027) 0:00:13.633 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004504", "end": "2023-11-30 17:02:01.060927", "rc": 0, "start": "2023-11-30 17:02:01.056423" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.136 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.136 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:52 Thursday 30 November 2023 17:02:01 +0000 (0:00:00.218) 0:00:13.852 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:58 Thursday 30 November 2023 17:02:01 +0000 (0:00:00.032) 0:00:13.885 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004161", "end": "2023-11-30 17:02:01.316563", "rc": 0, "start": "2023-11-30 17:02:01.312402" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:62 Thursday 30 November 2023 17:02:01 +0000 (0:00:00.223) 0:00:14.108 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:69 Thursday 30 November 2023 17:02:01 +0000 (0:00:00.031) 0:00:14.139 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 17:02:01 +0000 (0:00:00.039) 0:00:14.179 ***** included: /WORKDIR/git-code_refactortccg8ujs/.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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:02:01 +0000 (0:00:00.046) 0:00:14.225 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 17:02:01 +0000 (0:00:00.066) 0:00:14.292 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 17:02:01 +0000 (0:00:00.033) 0:00:14.325 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 17:02:01 +0000 (0:00:00.039) 0:00:14.365 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 17:02:03 +0000 (0:00:01.721) 0:00:16.086 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 17:02:04 +0000 (0:00:01.380) 0:00:17.466 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 17:02:04 +0000 (0:00:00.038) 0:00:17.505 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 17:02:04 +0000 (0:00:00.030) 0:00:17.535 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 17:02:04 +0000 (0:00:00.032) 0:00:17.568 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 17:02:04 +0000 (0:00:00.088) 0:00:17.657 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 17:02:04 +0000 (0:00:00.044) 0:00:17.701 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 17:02:04 +0000 (0:00:00.035) 0:00:17.737 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 17:02:05 +0000 (0:00:00.053) 0:00:17.790 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 17:02:05 +0000 (0:00:00.400) 0:00:18.191 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 17:02:05 +0000 (0:00:00.042) 0:00:18.234 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 17:02:05 +0000 (0:00:00.024) 0:00:18.259 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 17:02:05 +0000 (0:00:00.023) 0:00:18.282 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 17:02:05 +0000 (0:00:00.420) 0:00:18.702 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 17:02:05 +0000 (0:00:00.027) 0:00:18.730 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 17:02:06 +0000 (0:00:00.036) 0:00:18.766 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 17:02:06 +0000 (0:00:00.043) 0:00:18.810 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 17:02:06 +0000 (0:00:00.030) 0:00:18.840 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:81 Thursday 30 November 2023 17:02:06 +0000 (0:00:00.253) 0:00:19.094 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 17:02:06 +0000 (0:00:00.060) 0:00:19.154 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 17:02:06 +0000 (0:00:00.025) 0:00:19.179 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 17:02:06 +0000 (0:00:00.028) 0:00:19.208 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:02:06 +0000 (0:00:00.039) 0:00:19.248 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:02:06 +0000 (0:00:00.046) 0:00:19.294 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003533", "end": "2023-11-30 17:02:06.722836", "rc": 0, "start": "2023-11-30 17:02:06.719303" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:02:06 +0000 (0:00:00.216) 0:00:19.510 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:02:06 +0000 (0:00:00.031) 0:00:19.542 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 17:02:06 +0000 (0:00:00.026) 0:00:19.569 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 17:02:08 +0000 (0:00:01.465) 0:00:21.034 ***** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 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-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 17:02:08 +0000 (0:00:00.041) 0:00:21.075 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 17:02:08 +0000 (0:00:00.024) 0:00:21.100 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.013138", "end": "2023-11-30 17:02:08.537268", "rc": 0, "start": "2023-11-30 17:02:08.524130" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 17:02:08 +0000 (0:00:00.253) 0:00:21.353 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 17:02:08 +0000 (0:00:00.023) 0:00:21.377 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 17:02:08 +0000 (0:00:00.022) 0:00:21.400 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 17:02:08 +0000 (0:00:00.022) 0:00:21.423 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:85 Thursday 30 November 2023 17:02:08 +0000 (0:00:00.022) 0:00:21.445 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:89 Thursday 30 November 2023 17:02:08 +0000 (0:00:00.023) 0:00:21.468 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 17:02:08 +0000 (0:00:00.058) 0:00:21.527 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 17:02:08 +0000 (0:00:00.022) 0:00:21.550 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 17:02:08 +0000 (0:00:00.021) 0:00:21.572 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:02:08 +0000 (0:00:00.039) 0:00:21.611 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:02:08 +0000 (0:00:00.047) 0:00:21.659 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003641", "end": "2023-11-30 17:02:09.086641", "rc": 0, "start": "2023-11-30 17:02:09.083000" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:02:09 +0000 (0:00:00.210) 0:00:21.870 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:02:09 +0000 (0:00:00.028) 0:00:21.898 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 17:02:09 +0000 (0:00:00.066) 0:00:21.965 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 17:02:10 +0000 (0:00:01.448) 0:00:23.414 ***** ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.006840", "end": "2023-11-30 17:02:10.847605", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-30 17:02:10.840765" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.007467", "end": "2023-11-30 17:02:11.084012", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-30 17:02:11.076545" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007713", "end": "2023-11-30 17:02:11.274042", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-30 17:02:11.266329" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 17:02:11 +0000 (0:00:00.643) 0:00:24.057 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023016", "end": "2023-11-30 17:02:11.503152", "rc": 0, "start": "2023-11-30 17:02:11.480136" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 17:02:11 +0000 (0:00:00.239) 0:00:24.296 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 17:02:11 +0000 (0:00:00.036) 0:00:24.333 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 17:02:11 +0000 (0:00:00.037) 0:00:24.370 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 17:02:11 +0000 (0:00:00.041) 0:00:24.411 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 17:02:11 +0000 (0:00:00.033) 0:00:24.445 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 17:02:11 +0000 (0:00:00.039) 0:00:24.484 ***** included: /WORKDIR/git-code_refactortccg8ujs/.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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:02:11 +0000 (0:00:00.045) 0:00:24.529 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 17:02:11 +0000 (0:00:00.051) 0:00:24.581 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 17:02:11 +0000 (0:00:00.029) 0:00:24.610 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 17:02:11 +0000 (0:00:00.039) 0:00:24.649 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 17:02:13 +0000 (0:00:01.734) 0:00:26.384 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 17:02:14 +0000 (0:00:01.344) 0:00:27.728 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 17:02:15 +0000 (0:00:00.033) 0:00:27.761 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 17:02:15 +0000 (0:00:00.035) 0:00:27.797 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 17:02:15 +0000 (0:00:00.041) 0:00:27.839 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 17:02:15 +0000 (0:00:00.071) 0:00:27.910 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 17:02:15 +0000 (0:00:00.030) 0:00:27.940 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 17:02:15 +0000 (0:00:00.029) 0:00:27.970 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 17:02:15 +0000 (0:00:00.042) 0:00:28.012 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 17:02:15 +0000 (0:00:00.398) 0:00:28.411 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 17:02:15 +0000 (0:00:00.043) 0:00:28.454 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 17:02:15 +0000 (0:00:00.023) 0:00:28.478 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 17:02:15 +0000 (0:00:00.025) 0:00:28.503 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 63cee1fd-001e-46b8-b9da-f85eed13c11b [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 63cee1fd-001e-46b8-b9da-f85eed13c11b (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 17:02:16 +0000 (0:00:00.418) 0:00:28.921 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 17:02:16 +0000 (0:00:00.027) 0:00:28.949 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 63cee1fd-001e-46b8-b9da-f85eed13c11b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 63cee1fd-001e-46b8-b9da-f85eed13c11b (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 17:02:16 +0000 (0:00:00.026) 0:00:28.976 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "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, 'veth0': add connection veth0, 63cee1fd-001e-46b8-b9da-f85eed13c11b\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 63cee1fd-001e-46b8-b9da-f85eed13c11b (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 63cee1fd-001e-46b8-b9da-f85eed13c11b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 63cee1fd-001e-46b8-b9da-f85eed13c11b (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 17:02:16 +0000 (0:00:00.056) 0:00:29.032 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 17:02:16 +0000 (0:00:00.026) 0:00:29.059 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:110 Thursday 30 November 2023 17:02:16 +0000 (0:00:00.231) 0:00:29.290 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 17:02:16 +0000 (0:00:00.063) 0:00:29.354 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 17:02:16 +0000 (0:00:00.037) 0:00:29.392 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363730.8446572, "block_size": 4096, "blocks": 0, "ctime": 1701363730.8446572, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23594, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1701363730.8446572, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 17:02:16 +0000 (0:00:00.214) 0:00:29.607 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:112 Thursday 30 November 2023 17:02:16 +0000 (0:00:00.027) 0:00:29.634 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 17:02:16 +0000 (0:00:00.061) 0:00:29.695 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 17:02:16 +0000 (0:00:00.038) 0:00:29.734 ***** 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_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 17:02:17 +0000 (0:00:00.023) 0:00:29.757 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701363736.1236463, "block_size": 4096, "blocks": 8, "ctime": 1701363736.0796475, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798130, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701363736.0796475, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 323, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 17:02:17 +0000 (0:00:00.218) 0:00:29.976 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 17:02:17 +0000 (0:00:00.067) 0:00:30.044 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022350", "end": "2023-11-30 17:02:17.491215", "rc": 0, "start": "2023-11-30 17:02:17.468865" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 17:02:17 +0000 (0:00:00.228) 0:00:30.272 ***** 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-veth0] ************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 17:02:17 +0000 (0:00:00.027) 0:00:30.300 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 17:02:17 +0000 (0:00:00.037) 0:00:30.337 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 17:02:17 +0000 (0:00:00.028) 0:00:30.366 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 17:02:17 +0000 (0:00:00.040) 0:00:30.406 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 17:02:17 +0000 (0:00:00.038) 0:00:30.445 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 17:02:17 +0000 (0:00:00.036) 0:00:30.482 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 17:02:17 +0000 (0:00:00.039) 0:00:30.521 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:116 Thursday 30 November 2023 17:02:17 +0000 (0:00:00.043) 0:00:30.565 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004364", "end": "2023-11-30 17:02:17.997793", "rc": 0, "start": "2023-11-30 17:02:17.993429" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.136 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.136 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:120 Thursday 30 November 2023 17:02:18 +0000 (0:00:00.216) 0:00:30.781 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:126 Thursday 30 November 2023 17:02:18 +0000 (0:00:00.029) 0:00:30.810 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003968", "end": "2023-11-30 17:02:18.242215", "rc": 0, "start": "2023-11-30 17:02:18.238247" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:130 Thursday 30 November 2023 17:02:18 +0000 (0:00:00.220) 0:00:31.031 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:137 Thursday 30 November 2023 17:02:18 +0000 (0:00:00.038) 0:00:31.070 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 17:02:18 +0000 (0:00:00.038) 0:00:31.108 ***** included: /WORKDIR/git-code_refactortccg8ujs/.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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 17:02:18 +0000 (0:00:00.063) 0:00:31.172 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 17:02:18 +0000 (0:00:00.112) 0:00:31.285 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 17:02:18 +0000 (0:00:00.040) 0:00:31.325 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 17:02:18 +0000 (0:00:00.035) 0:00:31.360 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 17:02:20 +0000 (0:00:01.697) 0:00:33.058 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 17:02:21 +0000 (0:00:01.291) 0:00:34.349 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 17:02:21 +0000 (0:00:00.027) 0:00:34.377 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 17:02:21 +0000 (0:00:00.027) 0:00:34.405 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 17:02:21 +0000 (0:00:00.027) 0:00:34.433 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 17:02:21 +0000 (0:00:00.067) 0:00:34.500 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 17:02:21 +0000 (0:00:00.028) 0:00:34.529 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 17:02:21 +0000 (0:00:00.027) 0:00:34.556 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 17:02:21 +0000 (0:00:00.042) 0:00:34.598 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 17:02:22 +0000 (0:00:00.401) 0:00:35.000 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 17:02:22 +0000 (0:00:00.051) 0:00:35.052 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 17:02:22 +0000 (0:00:00.065) 0:00:35.117 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 17:02:22 +0000 (0:00:00.025) 0:00:35.143 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 17:02:22 +0000 (0:00:00.428) 0:00:35.572 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 17:02:22 +0000 (0:00:00.029) 0:00:35.601 ***** 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_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 17:02:22 +0000 (0:00:00.028) 0:00:35.630 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "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-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 17:02:22 +0000 (0:00:00.033) 0:00:35.664 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 17:02:22 +0000 (0:00:00.029) 0:00:35.693 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:149 Thursday 30 November 2023 17:02:23 +0000 (0:00:00.224) 0:00:35.917 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 17:02:23 +0000 (0:00:00.060) 0:00:35.978 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 17:02:23 +0000 (0:00:00.022) 0:00:36.001 ***** 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_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 17:02:23 +0000 (0:00:00.022) 0:00:36.023 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 17:02:23 +0000 (0:00:00.037) 0:00:36.060 ***** included: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 17:02:23 +0000 (0:00:00.088) 0:00:36.149 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004123", "end": "2023-11-30 17:02:23.576722", "rc": 0, "start": "2023-11-30 17:02:23.572599" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 17:02:23 +0000 (0:00:00.209) 0:00:36.358 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 17:02:23 +0000 (0:00:00.025) 0:00:36.384 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 17:02:23 +0000 (0:00:00.038) 0:00:36.422 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 17:02:25 +0000 (0:00:01.450) 0:00:37.872 ***** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 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-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 17:02:25 +0000 (0:00:00.031) 0:00:37.904 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 17:02:25 +0000 (0:00:00.023) 0:00:37.928 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012909", "end": "2023-11-30 17:02:25.363975", "rc": 0, "start": "2023-11-30 17:02:25.351066" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 17:02:25 +0000 (0:00:00.220) 0:00:38.148 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 17:02:25 +0000 (0:00:00.025) 0:00:38.173 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 17:02:25 +0000 (0:00:00.031) 0:00:38.205 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 17:02:25 +0000 (0:00:00.025) 0:00:38.231 ***** 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=129 changed=4 unreachable=0 failed=0 skipped=98 rescued=0 ignored=0 Thursday 30 November 2023 17:02:25 +0000 (0:00:00.069) 0:00:38.301 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.82s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 1.70s /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 1.47s /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.45s /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.45s /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.29s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.85s /WORKDIR/git-code_refactortccg8ujs/tests/tests_auto_gateway_nm.yml:5 ---------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.65s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Create veth interface veth0 --------------------------------------------- 0.65s /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:23 Create veth interface veth0 --------------------------------------------- 0.64s /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tasks/manage_test_interface.yml:23 Gathering Facts --------------------------------------------------------- 0.64s /WORKDIR/git-code_refactortccg8ujs/tests/playbooks/tests_auto_gateway.yml:3 --- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.64s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Enable EPEL 8 ----------------------------------------------------------- 0.57s /WORKDIR/git-code_refactortccg8ujs/tests/tasks/enable_epel.yml:35 ------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.43s /WORKDIR/git-code_refactortccg8ujs/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---