# 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-test_network_state_fix23lh9hdv/.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-test_network_state_fix23lh9hdv/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-test_network_state_fix23lh9hdv/tests/tests_auto_gateway_nm.yml:5 Tuesday 28 November 2023 01:14:23 +0000 (0:00:00.021) 0:00:00.021 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tests_auto_gateway_nm.yml:9 Tuesday 28 November 2023 01:14:24 +0000 (0:00:00.989) 0:00:01.011 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/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-test_network_state_fix23lh9hdv/tests/tasks/el_repo_setup.yml:3 Tuesday 28 November 2023 01:14:24 +0000 (0:00:00.017) 0:00:01.029 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/el_repo_setup.yml:20 Tuesday 28 November 2023 01:14:24 +0000 (0:00:00.381) 0:00:01.410 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set package manager to use for ostree] *********************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/el_repo_setup.yml:25 Tuesday 28 November 2023 01:14:25 +0000 (0:00:00.329) 0:00:01.739 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/el_repo_setup.yml:32 Tuesday 28 November 2023 01:14:25 +0000 (0:00:00.026) 0:00:01.766 ****** 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-test_network_state_fix23lh9hdv/tests/tasks/el_repo_setup.yml:57 Tuesday 28 November 2023 01:14:25 +0000 (0:00:00.013) 0:00:01.779 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:8 Tuesday 28 November 2023 01:14:25 +0000 (0:00:00.023) 0:00:01.803 ****** 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-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:24 Tuesday 28 November 2023 01:14:25 +0000 (0:00:00.314) 0:00:02.118 ****** 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-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:30 Tuesday 28 November 2023 01:14:25 +0000 (0:00:00.018) 0:00:02.137 ****** 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-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:35 Tuesday 28 November 2023 01:14:25 +0000 (0:00:00.016) 0:00:02.153 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.393186", "end": "2023-11-28 01:14:26.014561", "rc": 0, "start": "2023-11-28 01:14:25.621375" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:40 Tuesday 28 November 2023 01:14:26 +0000 (0:00:00.597) 0:00:02.750 ****** 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-test_network_state_fix23lh9hdv/tests/tests_auto_gateway_nm.yml:11 Tuesday 28 November 2023 01:14:26 +0000 (0:00:00.023) 0:00:02.774 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 28 November 2023 01:14:26 +0000 (0:00:00.064) 0:00:02.838 ****** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 28 November 2023 01:14:26 +0000 (0:00:00.669) 0:00:03.508 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 28 November 2023 01:14:26 +0000 (0:00:00.044) 0:00:03.553 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 28 November 2023 01:14:26 +0000 (0:00:00.020) 0:00:03.573 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004029", "end": "2023-11-28 01:14:27.044661", "rc": 0, "start": "2023-11-28 01:14:27.040632" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 28 November 2023 01:14:27 +0000 (0:00:00.206) 0:00:03.780 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 28 November 2023 01:14:27 +0000 (0:00:00.019) 0:00:03.799 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 28 November 2023 01:14:27 +0000 (0:00:00.014) 0:00:03.813 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 28 November 2023 01:14:27 +0000 (0:00:00.063) 0:00:03.877 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 28 November 2023 01:14:27 +0000 (0:00:00.014) 0:00:03.891 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 28 November 2023 01:14:27 +0000 (0:00:00.023) 0:00:03.915 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 28 November 2023 01:14:27 +0000 (0:00:00.017) 0:00:03.933 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 28 November 2023 01:14:27 +0000 (0:00:00.034) 0:00:03.967 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003917", "end": "2023-11-28 01:14:27.475678", "rc": 0, "start": "2023-11-28 01:14:27.471761" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 28 November 2023 01:14:27 +0000 (0:00:00.256) 0:00:04.224 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 28 November 2023 01:14:27 +0000 (0:00:00.016) 0:00:04.240 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 28 November 2023 01:14:27 +0000 (0:00:00.014) 0:00:04.255 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:22 Tuesday 28 November 2023 01:14:29 +0000 (0:00:01.782) 0:00:06.037 ****** 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.015501", "end": "2023-11-28 01:14:29.525908", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-28 01:14:29.510407" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.007718", "end": "2023-11-28 01:14:29.769009", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-28 01:14:29.761291" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.007446", "end": "2023-11-28 01:14:29.970911", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-28 01:14:29.963465" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:30 Tuesday 28 November 2023 01:14:29 +0000 (0:00:00.669) 0:00:06.706 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024277", "end": "2023-11-28 01:14:30.195777", "rc": 0, "start": "2023-11-28 01:14:30.171500" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:38 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.233) 0:00:06.940 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:44 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.018) 0:00:06.958 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.020) 0:00:06.979 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:55 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.029) 0:00:07.008 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.024) 0:00:07.033 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.025) 0:00:07.059 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.063) 0:00:07.122 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.017) 0:00:07.140 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1701134069.5148737, "block_size": 4096, "blocks": 0, "ctime": 1701134069.5148737, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23140, "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": 1701134069.5148737, "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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.206) 0:00:07.347 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.017) 0:00:07.364 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.017) 0:00:07.382 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/.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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.030) 0:00:07.412 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.030) 0:00:07.443 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.219) 0:00:07.662 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 01:14:30 +0000 (0:00:00.031) 0:00:07.694 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 01:14:32 +0000 (0:00:02.002) 0:00:09.696 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 01:14:34 +0000 (0:00:01.613) 0:00:11.310 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 01:14:34 +0000 (0:00:00.038) 0:00:11.349 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 01:14:34 +0000 (0:00:00.048) 0:00:11.397 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 01:14:34 +0000 (0:00:00.037) 0:00:11.434 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 01:14:34 +0000 (0:00:00.081) 0:00:11.516 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 01:14:34 +0000 (0:00:00.071) 0:00:11.588 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 01:14:34 +0000 (0:00:00.038) 0:00:11.626 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 01:14:34 +0000 (0:00:00.047) 0:00:11.673 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 01:14:35 +0000 (0:00:00.803) 0:00:12.477 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 01:14:35 +0000 (0:00:00.058) 0:00:12.535 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 01:14:35 +0000 (0:00:00.026) 0:00:12.562 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 01:14:35 +0000 (0:00:00.029) 0:00:12.592 ****** 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, 8329d1ea-73cf-4d4c-a963-840415da51ab [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8329d1ea-73cf-4d4c-a963-840415da51ab (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 01:14:36 +0000 (0:00:00.705) 0:00:13.298 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 01:14:36 +0000 (0:00:00.042) 0:00:13.340 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 8329d1ea-73cf-4d4c-a963-840415da51ab", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8329d1ea-73cf-4d4c-a963-840415da51ab (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 01:14:36 +0000 (0:00:00.041) 0:00:13.382 ****** 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, 8329d1ea-73cf-4d4c-a963-840415da51ab\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8329d1ea-73cf-4d4c-a963-840415da51ab (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 8329d1ea-73cf-4d4c-a963-840415da51ab", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 8329d1ea-73cf-4d4c-a963-840415da51ab (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 01:14:36 +0000 (0:00:00.043) 0:00:13.425 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 01:14:36 +0000 (0:00:00.045) 0:00:13.471 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 28 November 2023 01:14:37 +0000 (0:00:00.450) 0:00:13.921 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 28 November 2023 01:14:37 +0000 (0:00:00.133) 0:00:14.055 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 28 November 2023 01:14:37 +0000 (0:00:00.109) 0:00:14.164 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1701134069.5148737, "block_size": 4096, "blocks": 0, "ctime": 1701134069.5148737, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23140, "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": 1701134069.5148737, "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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 28 November 2023 01:14:37 +0000 (0:00:00.238) 0:00:14.403 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 28 November 2023 01:14:37 +0000 (0:00:00.054) 0:00:14.458 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 28 November 2023 01:14:37 +0000 (0:00:00.118) 0:00:14.576 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 28 November 2023 01:14:37 +0000 (0:00:00.065) 0:00:14.642 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 28 November 2023 01:14:37 +0000 (0:00:00.040) 0:00:14.683 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1701134076.5233815, "block_size": 4096, "blocks": 8, "ctime": 1701134076.4793816, "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": 1701134076.4793816, "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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 28 November 2023 01:14:38 +0000 (0:00:00.247) 0:00:14.930 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 28 November 2023 01:14:38 +0000 (0:00:00.027) 0:00:14.957 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023617", "end": "2023-11-28 01:14:38.445674", "rc": 0, "start": "2023-11-28 01:14:38.422057" } 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 28 November 2023 01:14:38 +0000 (0:00:00.241) 0:00:15.199 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 28 November 2023 01:14:38 +0000 (0:00:00.051) 0:00:15.251 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 28 November 2023 01:14:38 +0000 (0:00:00.032) 0:00:15.283 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 28 November 2023 01:14:38 +0000 (0:00:00.026) 0:00:15.310 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 28 November 2023 01:14:38 +0000 (0:00:00.028) 0:00:15.338 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 28 November 2023 01:14:38 +0000 (0:00:00.032) 0:00:15.371 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 28 November 2023 01:14:38 +0000 (0:00:00.082) 0:00:15.454 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 28 November 2023 01:14:38 +0000 (0:00:00.042) 0:00:15.497 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 28 November 2023 01:14:38 +0000 (0:00:00.071) 0:00:15.568 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004720", "end": "2023-11-28 01:14:39.047555", "rc": 0, "start": "2023-11-28 01:14:39.042835" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.213 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.213 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-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 28 November 2023 01:14:39 +0000 (0:00:00.242) 0:00:15.811 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 28 November 2023 01:14:39 +0000 (0:00:00.038) 0:00:15.850 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004306", "end": "2023-11-28 01:14:39.346491", "rc": 0, "start": "2023-11-28 01:14:39.342185" } 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-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 28 November 2023 01:14:39 +0000 (0:00:00.248) 0:00:16.099 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 28 November 2023 01:14:39 +0000 (0:00:00.045) 0:00:16.144 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 01:14:39 +0000 (0:00:00.031) 0:00:16.176 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/.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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 01:14:39 +0000 (0:00:00.069) 0:00:16.245 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 01:14:39 +0000 (0:00:00.072) 0:00:16.318 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 01:14:39 +0000 (0:00:00.235) 0:00:16.554 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 01:14:39 +0000 (0:00:00.046) 0:00:16.600 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 01:14:41 +0000 (0:00:01.798) 0:00:18.399 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 01:14:43 +0000 (0:00:01.387) 0:00:19.786 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 01:14:43 +0000 (0:00:00.041) 0:00:19.827 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 01:14:43 +0000 (0:00:00.043) 0:00:19.871 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 01:14:43 +0000 (0:00:00.036) 0:00:19.907 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 01:14:43 +0000 (0:00:00.094) 0:00:20.002 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 01:14:43 +0000 (0:00:00.038) 0:00:20.041 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 01:14:43 +0000 (0:00:00.030) 0:00:20.071 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 01:14:43 +0000 (0:00:00.046) 0:00:20.118 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 01:14:43 +0000 (0:00:00.408) 0:00:20.526 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 01:14:43 +0000 (0:00:00.052) 0:00:20.578 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 01:14:43 +0000 (0:00:00.026) 0:00:20.605 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 01:14:43 +0000 (0:00:00.022) 0:00:20.627 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 01:14:44 +0000 (0:00:00.437) 0:00:21.065 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 01:14:44 +0000 (0:00:00.037) 0:00:21.103 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 01:14:44 +0000 (0:00:00.038) 0:00:21.141 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 01:14:44 +0000 (0:00:00.032) 0:00:21.174 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 01:14:44 +0000 (0:00:00.030) 0:00:21.204 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 28 November 2023 01:14:44 +0000 (0:00:00.296) 0:00:21.501 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 28 November 2023 01:14:44 +0000 (0:00:00.095) 0:00:21.596 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 28 November 2023 01:14:44 +0000 (0:00:00.049) 0:00:21.646 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 28 November 2023 01:14:44 +0000 (0:00:00.032) 0:00:21.678 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 28 November 2023 01:14:45 +0000 (0:00:00.044) 0:00:21.722 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 28 November 2023 01:14:45 +0000 (0:00:00.046) 0:00:21.769 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003910", "end": "2023-11-28 01:14:45.237968", "rc": 0, "start": "2023-11-28 01:14:45.234058" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 28 November 2023 01:14:45 +0000 (0:00:00.232) 0:00:22.002 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 28 November 2023 01:14:45 +0000 (0:00:00.055) 0:00:22.058 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 28 November 2023 01:14:45 +0000 (0:00:00.036) 0:00:22.094 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:22 Tuesday 28 November 2023 01:14:46 +0000 (0:00:01.479) 0:00:23.574 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:30 Tuesday 28 November 2023 01:14:46 +0000 (0:00:00.034) 0:00:23.608 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:38 Tuesday 28 November 2023 01:14:46 +0000 (0:00:00.031) 0:00:23.639 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.016094", "end": "2023-11-28 01:14:47.120917", "rc": 0, "start": "2023-11-28 01:14:47.104823" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:44 Tuesday 28 November 2023 01:14:47 +0000 (0:00:00.257) 0:00:23.897 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 28 November 2023 01:14:47 +0000 (0:00:00.024) 0:00:23.921 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:55 Tuesday 28 November 2023 01:14:47 +0000 (0:00:00.023) 0:00:23.944 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 28 November 2023 01:14:47 +0000 (0:00:00.023) 0:00:23.968 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 28 November 2023 01:14:47 +0000 (0:00:00.023) 0:00:23.991 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 28 November 2023 01:14:47 +0000 (0:00:00.027) 0:00:24.019 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 28 November 2023 01:14:47 +0000 (0:00:00.060) 0:00:24.080 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 28 November 2023 01:14:47 +0000 (0:00:00.025) 0:00:24.105 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 28 November 2023 01:14:47 +0000 (0:00:00.024) 0:00:24.129 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 28 November 2023 01:14:47 +0000 (0:00:00.040) 0:00:24.170 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 28 November 2023 01:14:47 +0000 (0:00:00.037) 0:00:24.207 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003883", "end": "2023-11-28 01:14:47.676337", "rc": 0, "start": "2023-11-28 01:14:47.672454" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 28 November 2023 01:14:47 +0000 (0:00:00.224) 0:00:24.432 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 28 November 2023 01:14:47 +0000 (0:00:00.041) 0:00:24.473 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 28 November 2023 01:14:47 +0000 (0:00:00.082) 0:00:24.555 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:22 Tuesday 28 November 2023 01:14:49 +0000 (0:00:01.460) 0:00:26.016 ****** 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.015288", "end": "2023-11-28 01:14:49.506405", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-11-28 01:14:49.491117" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.008970", "end": "2023-11-28 01:14:49.745215", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-11-28 01:14:49.736245" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.008122", "end": "2023-11-28 01:14:49.940929", "item": "ip link set veth0 up", "rc": 0, "start": "2023-11-28 01:14:49.932807" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:30 Tuesday 28 November 2023 01:14:49 +0000 (0:00:00.685) 0:00:26.701 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024388", "end": "2023-11-28 01:14:50.192535", "rc": 0, "start": "2023-11-28 01:14:50.168147" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:38 Tuesday 28 November 2023 01:14:50 +0000 (0:00:00.248) 0:00:26.950 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:44 Tuesday 28 November 2023 01:14:50 +0000 (0:00:00.025) 0:00:26.975 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 28 November 2023 01:14:50 +0000 (0:00:00.026) 0:00:27.002 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:55 Tuesday 28 November 2023 01:14:50 +0000 (0:00:00.031) 0:00:27.033 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 28 November 2023 01:14:50 +0000 (0:00:00.036) 0:00:27.070 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 01:14:50 +0000 (0:00:00.026) 0:00:27.097 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/.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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 01:14:50 +0000 (0:00:00.070) 0:00:27.168 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 01:14:50 +0000 (0:00:00.057) 0:00:27.226 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 01:14:50 +0000 (0:00:00.243) 0:00:27.469 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 01:14:50 +0000 (0:00:00.099) 0:00:27.569 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 01:14:52 +0000 (0:00:01.793) 0:00:29.362 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 01:14:54 +0000 (0:00:01.453) 0:00:30.816 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 01:14:54 +0000 (0:00:00.046) 0:00:30.862 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 01:14:54 +0000 (0:00:00.045) 0:00:30.908 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 01:14:54 +0000 (0:00:00.044) 0:00:30.953 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 01:14:54 +0000 (0:00:00.110) 0:00:31.064 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 01:14:54 +0000 (0:00:00.048) 0:00:31.112 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 01:14:54 +0000 (0:00:00.040) 0:00:31.152 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 01:14:54 +0000 (0:00:00.062) 0:00:31.215 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 01:14:54 +0000 (0:00:00.483) 0:00:31.698 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 01:14:55 +0000 (0:00:00.066) 0:00:31.765 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 01:14:55 +0000 (0:00:00.036) 0:00:31.801 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 01:14:55 +0000 (0:00:00.049) 0:00:31.850 ****** 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, 38b1e1d3-568a-4062-87af-8022f2f667eb [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 38b1e1d3-568a-4062-87af-8022f2f667eb (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 01:14:55 +0000 (0:00:00.456) 0:00:32.306 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 01:14:55 +0000 (0:00:00.036) 0:00:32.342 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 38b1e1d3-568a-4062-87af-8022f2f667eb", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 38b1e1d3-568a-4062-87af-8022f2f667eb (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 01:14:55 +0000 (0:00:00.035) 0:00:32.378 ****** 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, 38b1e1d3-568a-4062-87af-8022f2f667eb\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 38b1e1d3-568a-4062-87af-8022f2f667eb (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 38b1e1d3-568a-4062-87af-8022f2f667eb", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 38b1e1d3-568a-4062-87af-8022f2f667eb (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 01:14:55 +0000 (0:00:00.069) 0:00:32.447 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 01:14:55 +0000 (0:00:00.037) 0:00:32.485 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 28 November 2023 01:14:56 +0000 (0:00:00.240) 0:00:32.725 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 28 November 2023 01:14:56 +0000 (0:00:00.082) 0:00:32.807 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 28 November 2023 01:14:56 +0000 (0:00:00.049) 0:00:32.856 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1701134089.4954348, "block_size": 4096, "blocks": 0, "ctime": 1701134089.4954348, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23726, "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": 1701134089.4954348, "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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 28 November 2023 01:14:56 +0000 (0:00:00.212) 0:00:33.068 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 28 November 2023 01:14:56 +0000 (0:00:00.027) 0:00:33.096 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 28 November 2023 01:14:56 +0000 (0:00:00.064) 0:00:33.161 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 28 November 2023 01:14:56 +0000 (0:00:00.040) 0:00:33.201 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 28 November 2023 01:14:56 +0000 (0:00:00.025) 0:00:33.227 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1701134095.5263467, "block_size": 4096, "blocks": 8, "ctime": 1701134095.486347, "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": 1701134095.486347, "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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 28 November 2023 01:14:56 +0000 (0:00:00.211) 0:00:33.439 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 28 November 2023 01:14:56 +0000 (0:00:00.060) 0:00:33.499 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022633", "end": "2023-11-28 01:14:56.984070", "rc": 0, "start": "2023-11-28 01:14:56.961437" } 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 28 November 2023 01:14:57 +0000 (0:00:00.236) 0:00:33.735 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 28 November 2023 01:14:57 +0000 (0:00:00.036) 0:00:33.771 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 28 November 2023 01:14:57 +0000 (0:00:00.036) 0:00:33.808 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 28 November 2023 01:14:57 +0000 (0:00:00.025) 0:00:33.834 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 28 November 2023 01:14:57 +0000 (0:00:00.025) 0:00:33.859 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 28 November 2023 01:14:57 +0000 (0:00:00.029) 0:00:33.889 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 28 November 2023 01:14:57 +0000 (0:00:00.029) 0:00:33.919 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 28 November 2023 01:14:57 +0000 (0:00:00.038) 0:00:33.957 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 28 November 2023 01:14:57 +0000 (0:00:00.042) 0:00:34.000 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004797", "end": "2023-11-28 01:14:57.472832", "rc": 0, "start": "2023-11-28 01:14:57.468035" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.213 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.213 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-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 28 November 2023 01:14:57 +0000 (0:00:00.236) 0:00:34.236 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 28 November 2023 01:14:57 +0000 (0:00:00.042) 0:00:34.279 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004413", "end": "2023-11-28 01:14:57.749062", "rc": 0, "start": "2023-11-28 01:14:57.744649" } 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-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 28 November 2023 01:14:57 +0000 (0:00:00.217) 0:00:34.497 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 28 November 2023 01:14:57 +0000 (0:00:00.028) 0:00:34.525 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 28 November 2023 01:14:57 +0000 (0:00:00.036) 0:00:34.562 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/.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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 28 November 2023 01:14:57 +0000 (0:00:00.071) 0:00:34.633 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Tuesday 28 November 2023 01:14:58 +0000 (0:00:00.109) 0:00:34.742 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Tuesday 28 November 2023 01:14:58 +0000 (0:00:00.238) 0:00:34.981 ****** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Tuesday 28 November 2023 01:14:58 +0000 (0:00:00.062) 0:00:35.044 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Tuesday 28 November 2023 01:15:00 +0000 (0:00:01.800) 0:00:36.844 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 28 November 2023 01:15:01 +0000 (0:00:01.330) 0:00:38.175 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 28 November 2023 01:15:01 +0000 (0:00:00.054) 0:00:38.229 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 28 November 2023 01:15:01 +0000 (0:00:00.030) 0:00:38.260 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 28 November 2023 01:15:01 +0000 (0:00:00.044) 0:00:38.304 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Tuesday 28 November 2023 01:15:01 +0000 (0:00:00.129) 0:00:38.434 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Tuesday 28 November 2023 01:15:01 +0000 (0:00:00.074) 0:00:38.508 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 28 November 2023 01:15:01 +0000 (0:00:00.061) 0:00:38.570 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Tuesday 28 November 2023 01:15:01 +0000 (0:00:00.094) 0:00:38.665 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Tuesday 28 November 2023 01:15:02 +0000 (0:00:00.468) 0:00:39.133 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Tuesday 28 November 2023 01:15:02 +0000 (0:00:00.066) 0:00:39.200 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Tuesday 28 November 2023 01:15:02 +0000 (0:00:00.095) 0:00:39.295 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Tuesday 28 November 2023 01:15:02 +0000 (0:00:00.042) 0:00:39.338 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Tuesday 28 November 2023 01:15:03 +0000 (0:00:00.489) 0:00:39.827 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 28 November 2023 01:15:03 +0000 (0:00:00.042) 0:00:39.870 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Tuesday 28 November 2023 01:15:03 +0000 (0:00:00.041) 0:00:39.911 ****** 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-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 28 November 2023 01:15:03 +0000 (0:00:00.037) 0:00:39.949 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 28 November 2023 01:15:03 +0000 (0:00:00.037) 0:00:39.987 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 28 November 2023 01:15:03 +0000 (0:00:00.249) 0:00:40.237 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 28 November 2023 01:15:03 +0000 (0:00:00.130) 0:00:40.367 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 28 November 2023 01:15:03 +0000 (0:00:00.028) 0:00:40.396 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 28 November 2023 01:15:03 +0000 (0:00:00.033) 0:00:40.429 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 28 November 2023 01:15:03 +0000 (0:00:00.071) 0:00:40.501 ****** included: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 28 November 2023 01:15:03 +0000 (0:00:00.149) 0:00:40.651 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003953", "end": "2023-11-28 01:15:04.127042", "rc": 0, "start": "2023-11-28 01:15:04.123089" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 28 November 2023 01:15:04 +0000 (0:00:00.234) 0:00:40.886 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 28 November 2023 01:15:04 +0000 (0:00:00.041) 0:00:40.927 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 28 November 2023 01:15:04 +0000 (0:00:00.051) 0:00:40.979 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:22 Tuesday 28 November 2023 01:15:05 +0000 (0:00:01.473) 0:00:42.452 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:30 Tuesday 28 November 2023 01:15:05 +0000 (0:00:00.039) 0:00:42.492 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:38 Tuesday 28 November 2023 01:15:05 +0000 (0:00:00.029) 0:00:42.521 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.014056", "end": "2023-11-28 01:15:06.000553", "rc": 0, "start": "2023-11-28 01:15:05.986497" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:44 Tuesday 28 November 2023 01:15:06 +0000 (0:00:00.228) 0:00:42.749 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 28 November 2023 01:15:06 +0000 (0:00:00.023) 0:00:42.773 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:55 Tuesday 28 November 2023 01:15:06 +0000 (0:00:00.024) 0:00:42.798 ****** 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-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 28 November 2023 01:15:06 +0000 (0:00:00.026) 0:00:42.824 ****** 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=132 changed=4 unreachable=0 failed=0 skipped=95 rescued=0 ignored=0 Tuesday 28 November 2023 01:15:06 +0000 (0:00:00.082) 0:00:42.907 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.00s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Install iproute --------------------------------------------------------- 1.78s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Install iproute --------------------------------------------------------- 1.48s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.47s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.46s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which packages are installed --- 1.33s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Gathering Facts --------------------------------------------------------- 0.99s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tests_auto_gateway_nm.yml:5 - fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.80s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.71s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Create veth interface veth0 --------------------------------------------- 0.69s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:22 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.67s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/playbooks/tasks/manage_test_interface.yml:22 Enable EPEL 8 ----------------------------------------------------------- 0.60s /WORKDIR/git-test_network_state_fix23lh9hdv/tests/tasks/enable_epel.yml:35 ---- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.49s /WORKDIR/git-test_network_state_fix23lh9hdv/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---