# 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-bond_options_rewrite4458ses6/.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-bond_options_rewrite4458ses6/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-bond_options_rewrite4458ses6/tests/tests_auto_gateway_nm.yml:6 Tuesday 06 February 2024 17:17:08 +0000 (0:00:00.016) 0:00:00.016 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/tests_auto_gateway_nm.yml:9 Tuesday 06 February 2024 17:17:09 +0000 (0:00:00.811) 0:00:00.827 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/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-bond_options_rewrite4458ses6/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 17:17:09 +0000 (0:00:00.012) 0:00:00.840 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/tasks/el_repo_setup.yml:17 Tuesday 06 February 2024 17:17:10 +0000 (0:00:00.370) 0:00:01.210 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/tasks/el_repo_setup.yml:22 Tuesday 06 February 2024 17:17:10 +0000 (0:00:00.262) 0:00:01.472 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/tasks/el_repo_setup.yml:26 Tuesday 06 February 2024 17:17:10 +0000 (0:00:00.015) 0:00:01.488 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/tasks/el_repo_setup.yml:51 Tuesday 06 February 2024 17:17:10 +0000 (0:00:00.010) 0:00:01.498 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 17:17:10 +0000 (0:00:00.023) 0:00:01.521 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 17:17:10 +0000 (0:00:00.009) 0:00:01.531 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 17:17:10 +0000 (0:00:00.008) 0:00:01.540 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 17:17:10 +0000 (0:00:00.009) 0:00:01.549 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 17:17:10 +0000 (0:00:00.008) 0:00:01.558 ****** 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-bond_options_rewrite4458ses6/tests/tests_auto_gateway_nm.yml:11 Tuesday 06 February 2024 17:17:10 +0000 (0:00:00.008) 0:00:01.567 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 06 February 2024 17:17:10 +0000 (0:00:00.017) 0:00:01.584 ****** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 06 February 2024 17:17:11 +0000 (0:00:00.614) 0:00:02.198 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:17:11 +0000 (0:00:00.025) 0:00:02.224 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:17:11 +0000 (0:00:00.012) 0:00:02.237 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003222", "end": "2024-02-06 17:17:11.305961", "rc": 0, "start": "2024-02-06 17:17:11.302739" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:17:11 +0000 (0:00:00.249) 0:00:02.486 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:17:11 +0000 (0:00:00.011) 0:00:02.498 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 06 February 2024 17:17:11 +0000 (0:00:00.011) 0:00:02.509 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 17:17:11 +0000 (0:00:00.028) 0:00:02.538 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 17:17:11 +0000 (0:00:00.011) 0:00:02.549 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 17:17:11 +0000 (0:00:00.009) 0:00:02.558 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:17:11 +0000 (0:00:00.011) 0:00:02.570 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:17:11 +0000 (0:00:00.012) 0:00:02.583 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003386", "end": "2024-02-06 17:17:11.609046", "rc": 0, "start": "2024-02-06 17:17:11.605660" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:17:11 +0000 (0:00:00.207) 0:00:02.791 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:17:11 +0000 (0:00:00.011) 0:00:02.802 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 17:17:11 +0000 (0:00:00.012) 0:00:02.815 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 17:17:13 +0000 (0:00:01.985) 0:00:04.801 ****** 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.022041", "end": "2024-02-06 17:17:13.833460", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-06 17:17:13.811419" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003517", "end": "2024-02-06 17:17:14.060505", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-06 17:17:14.056988" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003528", "end": "2024-02-06 17:17:14.243795", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-06 17:17:14.240267" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 17:17:14 +0000 (0:00:00.626) 0:00:05.427 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.068643", "end": "2024-02-06 17:17:14.501003", "rc": 0, "start": "2024-02-06 17:17:14.432360" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 17:17:14 +0000 (0:00:00.256) 0:00:05.684 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 17:17:14 +0000 (0:00:00.010) 0:00:05.695 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 17:17:14 +0000 (0:00:00.010) 0:00:05.705 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 17:17:14 +0000 (0:00:00.010) 0:00:05.715 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 17:17:14 +0000 (0:00:00.010) 0:00:05.726 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 06 February 2024 17:17:14 +0000 (0:00:00.008) 0:00:05.735 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:17:14 +0000 (0:00:00.024) 0:00:05.760 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:17:14 +0000 (0:00:00.012) 0:00:05.772 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707239833.8256912, "block_size": 4096, "blocks": 0, "ctime": 1707239833.8256912, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23016, "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": 1707239833.8256912, "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-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:17:14 +0000 (0:00:00.192) 0:00:05.965 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 06 February 2024 17:17:14 +0000 (0:00:00.013) 0:00:05.978 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 17:17:14 +0000 (0:00:00.010) 0:00:05.989 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/.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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:17:14 +0000 (0:00:00.018) 0:00:06.007 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 17:17:14 +0000 (0:00:00.020) 0:00:06.028 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 17:17:14 +0000 (0:00:00.014) 0:00:06.042 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 17:17:14 +0000 (0:00:00.013) 0:00:06.055 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 17:17:16 +0000 (0:00:01.539) 0:00:07.595 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 17:17:17 +0000 (0:00:01.168) 0:00:08.763 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 17:17:17 +0000 (0:00:00.021) 0:00:08.785 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 17:17:17 +0000 (0:00:00.022) 0:00:08.808 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 17:17:17 +0000 (0:00:00.023) 0:00:08.831 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 17:17:17 +0000 (0:00:00.053) 0:00:08.885 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 17:17:17 +0000 (0:00:00.024) 0:00:08.909 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 17:17:17 +0000 (0:00:00.024) 0:00:08.933 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 17:17:17 +0000 (0:00:00.079) 0:00:09.013 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 17:17:18 +0000 (0:00:00.569) 0:00:09.582 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 17:17:18 +0000 (0:00:00.036) 0:00:09.619 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 17:17:18 +0000 (0:00:00.021) 0:00:09.640 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 17:17:18 +0000 (0:00:00.019) 0:00:09.660 ****** 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, ebdcbf1a-4c00-42a7-a12d-f2394e9d8262 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ebdcbf1a-4c00-42a7-a12d-f2394e9d8262 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 17:17:19 +0000 (0:00:00.812) 0:00:10.472 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 17:17:19 +0000 (0:00:00.023) 0:00:10.496 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, ebdcbf1a-4c00-42a7-a12d-f2394e9d8262", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ebdcbf1a-4c00-42a7-a12d-f2394e9d8262 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 17:17:19 +0000 (0:00:00.024) 0:00:10.520 ****** 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, ebdcbf1a-4c00-42a7-a12d-f2394e9d8262\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ebdcbf1a-4c00-42a7-a12d-f2394e9d8262 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, ebdcbf1a-4c00-42a7-a12d-f2394e9d8262", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, ebdcbf1a-4c00-42a7-a12d-f2394e9d8262 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 17:17:19 +0000 (0:00:00.025) 0:00:10.546 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 17:17:19 +0000 (0:00:00.024) 0:00:10.570 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 06 February 2024 17:17:19 +0000 (0:00:00.306) 0:00:10.876 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:17:19 +0000 (0:00:00.044) 0:00:10.921 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:17:19 +0000 (0:00:00.033) 0:00:10.955 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707239833.8256912, "block_size": 4096, "blocks": 0, "ctime": 1707239833.8256912, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23016, "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": 1707239833.8256912, "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-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:17:19 +0000 (0:00:00.207) 0:00:11.163 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 06 February 2024 17:17:20 +0000 (0:00:00.022) 0:00:11.185 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:17:20 +0000 (0:00:00.084) 0:00:11.269 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:17:20 +0000 (0:00:00.054) 0:00:11.323 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:17:20 +0000 (0:00:00.035) 0:00:11.359 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:17:20 +0000 (0:00:00.200) 0:00:11.560 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:17:20 +0000 (0:00:00.019) 0:00:11.580 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.085870", "end": "2024-02-06 17:17:20.672628", "rc": 0, "start": "2024-02-06 17:17:20.586758" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:17:20 +0000 (0:00:00.291) 0:00:11.871 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:17:20 +0000 (0:00:00.027) 0:00:11.899 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:17:20 +0000 (0:00:00.027) 0:00:11.926 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:17:20 +0000 (0:00:00.034) 0:00:11.960 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:17:20 +0000 (0:00:00.030) 0:00:11.990 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:17:20 +0000 (0:00:00.040) 0:00:12.031 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:17:20 +0000 (0:00:00.033) 0:00:12.065 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:17:20 +0000 (0:00:00.026) 0:00:12.091 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 06 February 2024 17:17:20 +0000 (0:00:00.025) 0:00:12.117 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003888", "end": "2024-02-06 17:17:21.133699", "rc": 0, "start": "2024-02-06 17:17:21.129811" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.120 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.120 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-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 06 February 2024 17:17:21 +0000 (0:00:00.207) 0:00:12.325 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 06 February 2024 17:17:21 +0000 (0:00:00.021) 0:00:12.346 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003461", "end": "2024-02-06 17:17:21.358505", "rc": 0, "start": "2024-02-06 17:17:21.355044" } 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-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 06 February 2024 17:17:21 +0000 (0:00:00.203) 0:00:12.550 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 06 February 2024 17:17:21 +0000 (0:00:00.056) 0:00:12.606 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 17:17:21 +0000 (0:00:00.026) 0:00:12.632 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/.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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:17:21 +0000 (0:00:00.036) 0:00:12.669 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 17:17:21 +0000 (0:00:00.034) 0:00:12.703 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 17:17:21 +0000 (0:00:00.024) 0:00:12.728 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 17:17:21 +0000 (0:00:00.026) 0:00:12.755 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 17:17:23 +0000 (0:00:01.463) 0:00:14.219 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 17:17:24 +0000 (0:00:00.972) 0:00:15.191 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 17:17:24 +0000 (0:00:00.041) 0:00:15.232 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 17:17:24 +0000 (0:00:00.056) 0:00:15.289 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 17:17:24 +0000 (0:00:00.028) 0:00:15.318 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 17:17:24 +0000 (0:00:00.059) 0:00:15.377 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 17:17:24 +0000 (0:00:00.030) 0:00:15.408 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 17:17:24 +0000 (0:00:00.044) 0:00:15.453 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 17:17:24 +0000 (0:00:00.035) 0:00:15.488 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 17:17:24 +0000 (0:00:00.518) 0:00:16.007 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 17:17:24 +0000 (0:00:00.051) 0:00:16.059 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 17:17:24 +0000 (0:00:00.022) 0:00:16.081 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 17:17:24 +0000 (0:00:00.024) 0:00:16.105 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 17:17:25 +0000 (0:00:00.450) 0:00:16.556 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 17:17:25 +0000 (0:00:00.024) 0:00:16.581 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 17:17:25 +0000 (0:00:00.025) 0:00:16.606 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 17:17:25 +0000 (0:00:00.024) 0:00:16.630 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 17:17:25 +0000 (0:00:00.024) 0:00:16.655 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 06 February 2024 17:17:25 +0000 (0:00:00.215) 0:00:16.871 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 17:17:25 +0000 (0:00:00.048) 0:00:16.919 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 17:17:25 +0000 (0:00:00.020) 0:00:16.939 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 17:17:25 +0000 (0:00:00.019) 0:00:16.959 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:17:25 +0000 (0:00:00.033) 0:00:16.992 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:17:25 +0000 (0:00:00.067) 0:00:17.060 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003426", "end": "2024-02-06 17:17:26.073903", "rc": 0, "start": "2024-02-06 17:17:26.070477" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:17:26 +0000 (0:00:00.205) 0:00:17.266 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:17:26 +0000 (0:00:00.025) 0:00:17.291 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 17:17:26 +0000 (0:00:00.022) 0:00:17.313 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.879) 0:00:18.193 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.028) 0:00:18.221 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.020) 0:00:18.242 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.016315", "end": "2024-02-06 17:17:27.270281", "rc": 0, "start": "2024-02-06 17:17:27.253966" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.222) 0:00:18.465 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.020) 0:00:18.486 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.021) 0:00:18.507 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.021) 0:00:18.529 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.020) 0:00:18.550 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.021) 0:00:18.572 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.050) 0:00:18.622 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.020) 0:00:18.642 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.018) 0:00:18.661 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.032) 0:00:18.694 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.078) 0:00:18.772 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003351", "end": "2024-02-06 17:17:27.786123", "rc": 0, "start": "2024-02-06 17:17:27.782772" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.211) 0:00:18.983 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.033) 0:00:19.017 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 17:17:27 +0000 (0:00:00.037) 0:00:19.055 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 17:17:28 +0000 (0:00:00.883) 0:00:19.938 ****** 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.008838", "end": "2024-02-06 17:17:28.958515", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-06 17:17:28.949677" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003517", "end": "2024-02-06 17:17:29.165390", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-06 17:17:29.161873" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004028", "end": "2024-02-06 17:17:29.350287", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-06 17:17:29.346259" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 17:17:29 +0000 (0:00:00.608) 0:00:20.547 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022350", "end": "2024-02-06 17:17:29.583298", "rc": 0, "start": "2024-02-06 17:17:29.560948" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 17:17:29 +0000 (0:00:00.229) 0:00:20.776 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 17:17:29 +0000 (0:00:00.023) 0:00:20.799 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 17:17:29 +0000 (0:00:00.021) 0:00:20.821 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 17:17:29 +0000 (0:00:00.021) 0:00:20.843 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 17:17:29 +0000 (0:00:00.022) 0:00:20.866 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 17:17:29 +0000 (0:00:00.022) 0:00:20.889 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/.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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:17:29 +0000 (0:00:00.038) 0:00:20.928 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 17:17:29 +0000 (0:00:00.035) 0:00:20.963 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 17:17:29 +0000 (0:00:00.022) 0:00:20.985 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 17:17:29 +0000 (0:00:00.024) 0:00:21.010 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 17:17:31 +0000 (0:00:01.487) 0:00:22.497 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 17:17:32 +0000 (0:00:00.970) 0:00:23.468 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 17:17:32 +0000 (0:00:00.022) 0:00:23.490 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 17:17:32 +0000 (0:00:00.024) 0:00:23.515 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 17:17:32 +0000 (0:00:00.025) 0:00:23.540 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 17:17:32 +0000 (0:00:00.054) 0:00:23.594 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 17:17:32 +0000 (0:00:00.027) 0:00:23.622 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 17:17:32 +0000 (0:00:00.025) 0:00:23.647 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 17:17:32 +0000 (0:00:00.036) 0:00:23.684 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 17:17:32 +0000 (0:00:00.398) 0:00:24.082 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 17:17:32 +0000 (0:00:00.037) 0:00:24.120 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 17:17:32 +0000 (0:00:00.021) 0:00:24.141 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 17:17:32 +0000 (0:00:00.021) 0:00:24.162 ****** 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, 0527fe38-758a-400b-9119-dbe00576d926 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0527fe38-758a-400b-9119-dbe00576d926 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 17:17:33 +0000 (0:00:00.411) 0:00:24.574 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 17:17:33 +0000 (0:00:00.025) 0:00:24.600 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0527fe38-758a-400b-9119-dbe00576d926", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0527fe38-758a-400b-9119-dbe00576d926 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 17:17:33 +0000 (0:00:00.029) 0:00:24.629 ****** 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, 0527fe38-758a-400b-9119-dbe00576d926\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0527fe38-758a-400b-9119-dbe00576d926 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 0527fe38-758a-400b-9119-dbe00576d926", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 0527fe38-758a-400b-9119-dbe00576d926 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 17:17:33 +0000 (0:00:00.082) 0:00:24.712 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 17:17:33 +0000 (0:00:00.025) 0:00:24.737 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 06 February 2024 17:17:33 +0000 (0:00:00.211) 0:00:24.948 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:17:33 +0000 (0:00:00.074) 0:00:25.023 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:17:33 +0000 (0:00:00.033) 0:00:25.056 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707239848.953346, "block_size": 4096, "blocks": 0, "ctime": 1707239848.953346, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23602, "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": 1707239848.953346, "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-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:17:34 +0000 (0:00:00.220) 0:00:25.276 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 06 February 2024 17:17:34 +0000 (0:00:00.022) 0:00:25.299 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:17:34 +0000 (0:00:00.051) 0:00:25.351 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:17:34 +0000 (0:00:00.032) 0:00:25.383 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:17:34 +0000 (0:00:00.027) 0:00:25.410 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:17:34 +0000 (0:00:00.204) 0:00:25.615 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:17:34 +0000 (0:00:00.023) 0:00:25.639 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.021863", "end": "2024-02-06 17:17:34.675519", "rc": 0, "start": "2024-02-06 17:17:34.653656" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:17:34 +0000 (0:00:00.227) 0:00:25.867 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:17:34 +0000 (0:00:00.072) 0:00:25.939 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:17:34 +0000 (0:00:00.024) 0:00:25.964 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:17:34 +0000 (0:00:00.024) 0:00:25.988 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:17:34 +0000 (0:00:00.024) 0:00:26.012 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:17:34 +0000 (0:00:00.022) 0:00:26.035 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:17:34 +0000 (0:00:00.028) 0:00:26.063 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:17:34 +0000 (0:00:00.027) 0:00:26.090 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 06 February 2024 17:17:34 +0000 (0:00:00.024) 0:00:26.115 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003400", "end": "2024-02-06 17:17:35.131317", "rc": 0, "start": "2024-02-06 17:17:35.127917" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.120 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.120 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-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 06 February 2024 17:17:35 +0000 (0:00:00.209) 0:00:26.324 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 06 February 2024 17:17:35 +0000 (0:00:00.023) 0:00:26.347 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003669", "end": "2024-02-06 17:17:35.358935", "rc": 0, "start": "2024-02-06 17:17:35.355266" } 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-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 06 February 2024 17:17:35 +0000 (0:00:00.203) 0:00:26.551 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 06 February 2024 17:17:35 +0000 (0:00:00.023) 0:00:26.575 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 17:17:35 +0000 (0:00:00.023) 0:00:26.598 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/.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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:17:35 +0000 (0:00:00.038) 0:00:26.637 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 17:17:35 +0000 (0:00:00.034) 0:00:26.671 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 17:17:35 +0000 (0:00:00.023) 0:00:26.695 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 17:17:35 +0000 (0:00:00.024) 0:00:26.720 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 17:17:37 +0000 (0:00:01.548) 0:00:28.268 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 17:17:38 +0000 (0:00:00.964) 0:00:29.232 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 17:17:38 +0000 (0:00:00.025) 0:00:29.257 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 17:17:38 +0000 (0:00:00.024) 0:00:29.281 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 17:17:38 +0000 (0:00:00.025) 0:00:29.307 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 17:17:38 +0000 (0:00:00.055) 0:00:29.362 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 17:17:38 +0000 (0:00:00.024) 0:00:29.386 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 17:17:38 +0000 (0:00:00.024) 0:00:29.410 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 17:17:38 +0000 (0:00:00.043) 0:00:29.454 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 17:17:38 +0000 (0:00:00.391) 0:00:29.845 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 17:17:38 +0000 (0:00:00.036) 0:00:29.881 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 17:17:38 +0000 (0:00:00.021) 0:00:29.903 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 17:17:38 +0000 (0:00:00.021) 0:00:29.924 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 17:17:39 +0000 (0:00:00.474) 0:00:30.399 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 17:17:39 +0000 (0:00:00.026) 0:00:30.425 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 17:17:39 +0000 (0:00:00.023) 0:00:30.449 ****** 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-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 17:17:39 +0000 (0:00:00.079) 0:00:30.528 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 17:17:39 +0000 (0:00:00.024) 0:00:30.552 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 06 February 2024 17:17:39 +0000 (0:00:00.230) 0:00:30.783 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 17:17:39 +0000 (0:00:00.056) 0:00:30.839 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 17:17:39 +0000 (0:00:00.021) 0:00:30.861 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 17:17:39 +0000 (0:00:00.021) 0:00:30.882 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:17:39 +0000 (0:00:00.034) 0:00:30.917 ****** included: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:17:39 +0000 (0:00:00.032) 0:00:30.950 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003325", "end": "2024-02-06 17:17:39.968915", "rc": 0, "start": "2024-02-06 17:17:39.965590" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:17:40 +0000 (0:00:00.214) 0:00:31.164 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:17:40 +0000 (0:00:00.023) 0:00:31.187 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 17:17:40 +0000 (0:00:00.023) 0:00:31.211 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 17:17:40 +0000 (0:00:00.908) 0:00:32.120 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 17:17:40 +0000 (0:00:00.028) 0:00:32.148 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 17:17:41 +0000 (0:00:00.020) 0:00:32.168 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012230", "end": "2024-02-06 17:17:41.190275", "rc": 0, "start": "2024-02-06 17:17:41.178045" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 17:17:41 +0000 (0:00:00.218) 0:00:32.387 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 17:17:41 +0000 (0:00:00.069) 0:00:32.456 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 17:17:41 +0000 (0:00:00.022) 0:00:32.478 ****** 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-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 17:17:41 +0000 (0:00:00.020) 0:00:32.499 ****** 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=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Tuesday 06 February 2024 17:17:41 +0000 (0:00:00.052) 0:00:32.552 ****** =============================================================================== Install iproute --------------------------------------------------------- 1.99s /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.49s /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.46s /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.17s /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 0.91s /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.88s /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.88s /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.81s /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Gathering Facts --------------------------------------------------------- 0.81s /WORKDIR/git-bond_options_rewrite4458ses6/tests/tests_auto_gateway_nm.yml:6 --- Create veth interface veth0 --------------------------------------------- 0.63s /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.61s /WORKDIR/git-bond_options_rewrite4458ses6/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.57s /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.52s /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.47s /WORKDIR/git-bond_options_rewrite4458ses6/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---