# 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_rewritegqym2p31/.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_rewritegqym2p31/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_rewritegqym2p31/tests/tests_auto_gateway_nm.yml:6 Tuesday 13 February 2024 21:06:35 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/tests_auto_gateway_nm.yml:9 Tuesday 13 February 2024 21:06:36 +0000 (0:00:01.082) 0:00:01.095 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/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_rewritegqym2p31/tests/tasks/el_repo_setup.yml:3 Tuesday 13 February 2024 21:06:36 +0000 (0:00:00.012) 0:00:01.108 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/tasks/el_repo_setup.yml:17 Tuesday 13 February 2024 21:06:36 +0000 (0:00:00.390) 0:00:01.498 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/tasks/el_repo_setup.yml:22 Tuesday 13 February 2024 21:06:37 +0000 (0:00:00.283) 0:00:01.782 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/tasks/el_repo_setup.yml:26 Tuesday 13 February 2024 21:06:37 +0000 (0:00:00.014) 0:00:01.797 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/tasks/el_repo_setup.yml:51 Tuesday 13 February 2024 21:06:37 +0000 (0:00:00.008) 0:00:01.805 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/tasks/enable_epel.yml:8 Tuesday 13 February 2024 21:06:37 +0000 (0:00:00.022) 0:00:01.828 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/tasks/enable_epel.yml:24 Tuesday 13 February 2024 21:06:37 +0000 (0:00:00.008) 0:00:01.837 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/tasks/enable_epel.yml:30 Tuesday 13 February 2024 21:06:37 +0000 (0:00:00.008) 0:00:01.845 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/tasks/enable_epel.yml:35 Tuesday 13 February 2024 21:06:37 +0000 (0:00:00.007) 0:00:01.853 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/tasks/enable_epel.yml:40 Tuesday 13 February 2024 21:06:37 +0000 (0:00:00.007) 0:00:01.861 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/tests_auto_gateway_nm.yml:11 Tuesday 13 February 2024 21:06:37 +0000 (0:00:00.007) 0:00:01.868 ****** 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_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 13 February 2024 21:06:37 +0000 (0:00:00.017) 0:00:01.886 ****** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 13 February 2024 21:06:37 +0000 (0:00:00.763) 0:00:02.649 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:06:37 +0000 (0:00:00.023) 0:00:02.673 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:06:38 +0000 (0:00:00.012) 0:00:02.685 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003962", "end": "2024-02-13 21:06:38.265247", "rc": 0, "start": "2024-02-13 21:06:38.261285" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:06:38 +0000 (0:00:00.292) 0:00:02.978 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:06:38 +0000 (0:00:00.011) 0:00:02.990 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 13 February 2024 21:06:38 +0000 (0:00:00.012) 0:00:03.002 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:06:38 +0000 (0:00:00.032) 0:00:03.034 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:06:38 +0000 (0:00:00.010) 0:00:03.044 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:06:38 +0000 (0:00:00.008) 0:00:03.053 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:06:38 +0000 (0:00:00.012) 0:00:03.065 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:06:38 +0000 (0:00:00.012) 0:00:03.077 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004111", "end": "2024-02-13 21:06:38.606213", "rc": 0, "start": "2024-02-13 21:06:38.602102" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:06:38 +0000 (0:00:00.241) 0:00:03.318 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:06:38 +0000 (0:00:00.012) 0:00:03.331 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:06:38 +0000 (0:00:00.011) 0:00:03.342 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:06:41 +0000 (0:00:02.682) 0:00:06.025 ****** 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.054082", "end": "2024-02-13 21:06:41.601262", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-13 21:06:41.547180" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004796", "end": "2024-02-13 21:06:41.885937", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-13 21:06:41.881141" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004677", "end": "2024-02-13 21:06:42.108431", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-13 21:06:42.103754" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:06:42 +0000 (0:00:00.794) 0:00:06.820 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.214508", "end": "2024-02-13 21:06:42.554283", "rc": 0, "start": "2024-02-13 21:06:42.339775" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:06:42 +0000 (0:00:00.444) 0:00:07.264 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:06:42 +0000 (0:00:00.010) 0:00:07.274 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:06:42 +0000 (0:00:00.009) 0:00:07.283 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:06:42 +0000 (0:00:00.009) 0:00:07.293 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:06:42 +0000 (0:00:00.009) 0:00:07.302 ****** 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_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 13 February 2024 21:06:42 +0000 (0:00:00.008) 0:00:07.311 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:06:42 +0000 (0:00:00.023) 0:00:07.334 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:06:42 +0000 (0:00:00.012) 0:00:07.347 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707858401.5964038, "block_size": 4096, "blocks": 0, "ctime": 1707858401.5964038, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26340, "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": 1707858401.5964038, "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_rewritegqym2p31/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:06:42 +0000 (0:00:00.225) 0:00:07.572 ****** 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_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 13 February 2024 21:06:42 +0000 (0:00:00.012) 0:00:07.584 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 21:06:42 +0000 (0:00:00.010) 0:00:07.594 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/.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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:06:42 +0000 (0:00:00.017) 0:00:07.612 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 21:06:42 +0000 (0:00:00.019) 0:00:07.631 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 21:06:42 +0000 (0:00:00.014) 0:00:07.645 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 21:06:42 +0000 (0:00:00.012) 0:00:07.658 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 21:06:45 +0000 (0:00:02.676) 0:00:10.335 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 21:06:46 +0000 (0:00:01.027) 0:00:11.362 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 21:06:46 +0000 (0:00:00.025) 0:00:11.387 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 21:06:46 +0000 (0:00:00.026) 0:00:11.414 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 21:06:46 +0000 (0:00:00.025) 0:00:11.439 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 21:06:46 +0000 (0:00:00.057) 0:00:11.497 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 21:06:46 +0000 (0:00:00.062) 0:00:11.560 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 21:06:46 +0000 (0:00:00.031) 0:00:11.592 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 21:06:46 +0000 (0:00:00.042) 0:00:11.634 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 21:06:47 +0000 (0:00:00.646) 0:00:12.281 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 21:06:47 +0000 (0:00:00.035) 0:00:12.316 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 21:06:47 +0000 (0:00:00.020) 0:00:12.337 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 21:06:47 +0000 (0:00:00.019) 0:00:12.357 ****** 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, 18927f02-f71b-4239-b72b-ed1dff6b1cd9 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 18927f02-f71b-4239-b72b-ed1dff6b1cd9 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 21:06:48 +0000 (0:00:00.902) 0:00:13.259 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 21:06:48 +0000 (0:00:00.026) 0:00:13.285 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 18927f02-f71b-4239-b72b-ed1dff6b1cd9", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 18927f02-f71b-4239-b72b-ed1dff6b1cd9 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 21:06:48 +0000 (0:00:00.023) 0:00:13.309 ****** 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, 18927f02-f71b-4239-b72b-ed1dff6b1cd9\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 18927f02-f71b-4239-b72b-ed1dff6b1cd9 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 18927f02-f71b-4239-b72b-ed1dff6b1cd9", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 18927f02-f71b-4239-b72b-ed1dff6b1cd9 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 21:06:48 +0000 (0:00:00.023) 0:00:13.333 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 21:06:48 +0000 (0:00:00.023) 0:00:13.356 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 13 February 2024 21:06:49 +0000 (0:00:00.333) 0:00:13.689 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:06:49 +0000 (0:00:00.043) 0:00:13.733 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:06:49 +0000 (0:00:00.116) 0:00:13.850 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707858401.5964038, "block_size": 4096, "blocks": 0, "ctime": 1707858401.5964038, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26340, "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": 1707858401.5964038, "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_rewritegqym2p31/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:06:49 +0000 (0:00:00.246) 0:00:14.096 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 13 February 2024 21:06:49 +0000 (0:00:00.023) 0:00:14.120 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 21:06:49 +0000 (0:00:00.044) 0:00:14.164 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/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_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 21:06:49 +0000 (0:00:00.032) 0:00:14.197 ****** 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_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 21:06:49 +0000 (0:00:00.020) 0:00:14.217 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 21:06:49 +0000 (0:00:00.240) 0:00:14.458 ****** 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_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 21:06:49 +0000 (0:00:00.020) 0:00:14.478 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.123465", "end": "2024-02-13 21:06:50.124423", "rc": 0, "start": "2024-02-13 21:06:50.000958" } 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_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 21:06:50 +0000 (0:00:00.364) 0:00:14.843 ****** 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_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 21:06:50 +0000 (0:00:00.022) 0:00:14.865 ****** 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_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 21:06:50 +0000 (0:00:00.019) 0:00:14.885 ****** 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_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 21:06:50 +0000 (0:00:00.020) 0:00:14.905 ****** 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_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 21:06:50 +0000 (0:00:00.020) 0:00:14.925 ****** 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_rewritegqym2p31/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 21:06:50 +0000 (0:00:00.019) 0:00:14.944 ****** 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_rewritegqym2p31/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 21:06:50 +0000 (0:00:00.055) 0:00:15.000 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 21:06:50 +0000 (0:00:00.026) 0:00:15.026 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 13 February 2024 21:06:50 +0000 (0:00:00.021) 0:00:15.048 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004327", "end": "2024-02-13 21:06:50.567830", "rc": 0, "start": "2024-02-13 21:06:50.563503" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.211 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.211 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_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 13 February 2024 21:06:50 +0000 (0:00:00.272) 0:00:15.320 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 13 February 2024 21:06:50 +0000 (0:00:00.037) 0:00:15.358 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004299", "end": "2024-02-13 21:06:50.883730", "rc": 0, "start": "2024-02-13 21:06:50.879431" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 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_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 13 February 2024 21:06:50 +0000 (0:00:00.252) 0:00:15.611 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 13 February 2024 21:06:50 +0000 (0:00:00.030) 0:00:15.642 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 21:06:50 +0000 (0:00:00.028) 0:00:15.671 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/.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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:06:51 +0000 (0:00:00.061) 0:00:15.732 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 21:06:51 +0000 (0:00:00.035) 0:00:15.767 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 21:06:51 +0000 (0:00:00.032) 0:00:15.800 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 21:06:51 +0000 (0:00:00.030) 0:00:15.831 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 21:06:53 +0000 (0:00:02.507) 0:00:18.338 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 21:06:54 +0000 (0:00:00.910) 0:00:19.249 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 21:06:54 +0000 (0:00:00.026) 0:00:19.275 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 21:06:54 +0000 (0:00:00.030) 0:00:19.306 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 21:06:54 +0000 (0:00:00.024) 0:00:19.331 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 21:06:54 +0000 (0:00:00.061) 0:00:19.392 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 21:06:54 +0000 (0:00:00.024) 0:00:19.417 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 21:06:54 +0000 (0:00:00.024) 0:00:19.441 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 21:06:54 +0000 (0:00:00.039) 0:00:19.481 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 21:06:55 +0000 (0:00:00.453) 0:00:19.935 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 21:06:55 +0000 (0:00:00.053) 0:00:19.988 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 21:06:55 +0000 (0:00:00.021) 0:00:20.010 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 21:06:55 +0000 (0:00:00.039) 0:00:20.049 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 21:06:55 +0000 (0:00:00.529) 0:00:20.579 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 21:06:55 +0000 (0:00:00.026) 0:00:20.605 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 21:06:55 +0000 (0:00:00.030) 0:00:20.636 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 21:06:55 +0000 (0:00:00.026) 0:00:20.662 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 21:06:56 +0000 (0:00:00.076) 0:00:20.739 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 13 February 2024 21:06:56 +0000 (0:00:00.241) 0:00:20.980 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:06:56 +0000 (0:00:00.047) 0:00:21.028 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:06:56 +0000 (0:00:00.020) 0:00:21.048 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:06:56 +0000 (0:00:00.022) 0:00:21.071 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:06:56 +0000 (0:00:00.052) 0:00:21.123 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:06:56 +0000 (0:00:00.033) 0:00:21.157 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004051", "end": "2024-02-13 21:06:56.677257", "rc": 0, "start": "2024-02-13 21:06:56.673206" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:06:56 +0000 (0:00:00.239) 0:00:21.396 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:06:56 +0000 (0:00:00.021) 0:00:21.418 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:06:56 +0000 (0:00:00.022) 0:00:21.441 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:06:59 +0000 (0:00:02.461) 0:00:23.902 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:06:59 +0000 (0:00:00.041) 0:00:23.943 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:06:59 +0000 (0:00:00.058) 0:00:24.002 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010636", "end": "2024-02-13 21:06:59.532579", "rc": 0, "start": "2024-02-13 21:06:59.521943" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:06:59 +0000 (0:00:00.264) 0:00:24.266 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:06:59 +0000 (0:00:00.023) 0:00:24.289 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:06:59 +0000 (0:00:00.021) 0:00:24.311 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:06:59 +0000 (0:00:00.020) 0:00:24.331 ****** 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_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 13 February 2024 21:06:59 +0000 (0:00:00.021) 0:00:24.352 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 13 February 2024 21:06:59 +0000 (0:00:00.022) 0:00:24.375 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:06:59 +0000 (0:00:00.050) 0:00:24.426 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:06:59 +0000 (0:00:00.019) 0:00:24.445 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:06:59 +0000 (0:00:00.019) 0:00:24.465 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:06:59 +0000 (0:00:00.032) 0:00:24.498 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:06:59 +0000 (0:00:00.047) 0:00:24.546 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004118", "end": "2024-02-13 21:07:00.075658", "rc": 0, "start": "2024-02-13 21:07:00.071540" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:07:00 +0000 (0:00:00.247) 0:00:24.794 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:07:00 +0000 (0:00:00.060) 0:00:24.854 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:07:00 +0000 (0:00:00.022) 0:00:24.877 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:07:02 +0000 (0:00:02.535) 0:00:27.413 ****** 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.008827", "end": "2024-02-13 21:07:02.948511", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-13 21:07:02.939684" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004608", "end": "2024-02-13 21:07:03.230594", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-13 21:07:03.225986" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004965", "end": "2024-02-13 21:07:03.455762", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-13 21:07:03.450797" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:07:03 +0000 (0:00:00.763) 0:00:28.176 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024170", "end": "2024-02-13 21:07:03.716955", "rc": 0, "start": "2024-02-13 21:07:03.692785" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:07:03 +0000 (0:00:00.266) 0:00:28.443 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:07:03 +0000 (0:00:00.024) 0:00:28.467 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:07:03 +0000 (0:00:00.023) 0:00:28.491 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:07:03 +0000 (0:00:00.021) 0:00:28.512 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:07:03 +0000 (0:00:00.021) 0:00:28.534 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 21:07:03 +0000 (0:00:00.031) 0:00:28.565 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/.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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:07:03 +0000 (0:00:00.036) 0:00:28.602 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 21:07:03 +0000 (0:00:00.058) 0:00:28.661 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 21:07:04 +0000 (0:00:00.033) 0:00:28.694 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 21:07:04 +0000 (0:00:00.077) 0:00:28.772 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 21:07:06 +0000 (0:00:02.576) 0:00:31.349 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 21:07:07 +0000 (0:00:00.921) 0:00:32.270 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 21:07:07 +0000 (0:00:00.024) 0:00:32.295 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 21:07:07 +0000 (0:00:00.023) 0:00:32.318 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 21:07:07 +0000 (0:00:00.022) 0:00:32.341 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 21:07:07 +0000 (0:00:00.053) 0:00:32.395 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 21:07:07 +0000 (0:00:00.026) 0:00:32.421 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 21:07:07 +0000 (0:00:00.027) 0:00:32.448 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 21:07:07 +0000 (0:00:00.045) 0:00:32.494 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 21:07:08 +0000 (0:00:00.453) 0:00:32.948 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 21:07:08 +0000 (0:00:00.035) 0:00:32.983 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 21:07:08 +0000 (0:00:00.019) 0:00:33.003 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 21:07:08 +0000 (0:00:00.019) 0:00:33.023 ****** 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, 6b70a631-92e4-45d1-bd9e-64493f4433a6 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6b70a631-92e4-45d1-bd9e-64493f4433a6 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 21:07:08 +0000 (0:00:00.489) 0:00:33.513 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 21:07:08 +0000 (0:00:00.041) 0:00:33.554 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 6b70a631-92e4-45d1-bd9e-64493f4433a6", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6b70a631-92e4-45d1-bd9e-64493f4433a6 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 21:07:08 +0000 (0:00:00.088) 0:00:33.643 ****** 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, 6b70a631-92e4-45d1-bd9e-64493f4433a6\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6b70a631-92e4-45d1-bd9e-64493f4433a6 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 6b70a631-92e4-45d1-bd9e-64493f4433a6", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 6b70a631-92e4-45d1-bd9e-64493f4433a6 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 21:07:08 +0000 (0:00:00.030) 0:00:33.673 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 21:07:09 +0000 (0:00:00.028) 0:00:33.701 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 13 February 2024 21:07:09 +0000 (0:00:00.254) 0:00:33.956 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 13 February 2024 21:07:09 +0000 (0:00:00.054) 0:00:34.011 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 13 February 2024 21:07:09 +0000 (0:00:00.042) 0:00:34.053 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707858422.945089, "block_size": 4096, "blocks": 0, "ctime": 1707858422.945089, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26926, "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": 1707858422.945089, "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_rewritegqym2p31/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 13 February 2024 21:07:09 +0000 (0:00:00.242) 0:00:34.296 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 13 February 2024 21:07:09 +0000 (0:00:00.023) 0:00:34.320 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 13 February 2024 21:07:09 +0000 (0:00:00.050) 0:00:34.370 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/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_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 13 February 2024 21:07:09 +0000 (0:00:00.033) 0:00:34.404 ****** 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_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 13 February 2024 21:07:09 +0000 (0:00:00.022) 0:00:34.427 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 13 February 2024 21:07:10 +0000 (0:00:00.277) 0:00:34.704 ****** 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_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 13 February 2024 21:07:10 +0000 (0:00:00.020) 0:00:34.725 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.023761", "end": "2024-02-13 21:07:10.270367", "rc": 0, "start": "2024-02-13 21:07:10.246606" } 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_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 13 February 2024 21:07:10 +0000 (0:00:00.265) 0:00:34.991 ****** 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_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 13 February 2024 21:07:10 +0000 (0:00:00.028) 0:00:35.020 ****** 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_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 13 February 2024 21:07:10 +0000 (0:00:00.026) 0:00:35.047 ****** 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_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 13 February 2024 21:07:10 +0000 (0:00:00.024) 0:00:35.071 ****** 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_rewritegqym2p31/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 13 February 2024 21:07:10 +0000 (0:00:00.021) 0:00:35.092 ****** 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_rewritegqym2p31/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 13 February 2024 21:07:10 +0000 (0:00:00.019) 0:00:35.112 ****** 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_rewritegqym2p31/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 13 February 2024 21:07:10 +0000 (0:00:00.023) 0:00:35.136 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 13 February 2024 21:07:10 +0000 (0:00:00.023) 0:00:35.159 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 13 February 2024 21:07:10 +0000 (0:00:00.022) 0:00:35.182 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004288", "end": "2024-02-13 21:07:10.706211", "rc": 0, "start": "2024-02-13 21:07:10.701923" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.211 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.211 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_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 13 February 2024 21:07:10 +0000 (0:00:00.242) 0:00:35.424 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 13 February 2024 21:07:10 +0000 (0:00:00.022) 0:00:35.447 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004287", "end": "2024-02-13 21:07:10.972389", "rc": 0, "start": "2024-02-13 21:07:10.968102" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 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_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 13 February 2024 21:07:11 +0000 (0:00:00.245) 0:00:35.693 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 13 February 2024 21:07:11 +0000 (0:00:00.023) 0:00:35.716 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 13 February 2024 21:07:11 +0000 (0:00:00.022) 0:00:35.739 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/.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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 13 February 2024 21:07:11 +0000 (0:00:00.077) 0:00:35.816 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 13 February 2024 21:07:11 +0000 (0:00:00.035) 0:00:35.852 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 13 February 2024 21:07:11 +0000 (0:00:00.028) 0:00:35.881 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 13 February 2024 21:07:11 +0000 (0:00:00.026) 0:00:35.907 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 13 February 2024 21:07:13 +0000 (0:00:02.549) 0:00:38.457 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 13 February 2024 21:07:14 +0000 (0:00:00.841) 0:00:39.298 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 13 February 2024 21:07:14 +0000 (0:00:00.036) 0:00:39.335 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 13 February 2024 21:07:14 +0000 (0:00:00.024) 0:00:39.360 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 13 February 2024 21:07:14 +0000 (0:00:00.053) 0:00:39.413 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 13 February 2024 21:07:14 +0000 (0:00:00.061) 0:00:39.474 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 13 February 2024 21:07:14 +0000 (0:00:00.024) 0:00:39.499 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 13 February 2024 21:07:14 +0000 (0:00:00.024) 0:00:39.523 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 13 February 2024 21:07:14 +0000 (0:00:00.037) 0:00:39.560 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 13 February 2024 21:07:15 +0000 (0:00:00.504) 0:00:40.065 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 13 February 2024 21:07:15 +0000 (0:00:00.039) 0:00:40.104 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 13 February 2024 21:07:15 +0000 (0:00:00.029) 0:00:40.134 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 13 February 2024 21:07:15 +0000 (0:00:00.021) 0:00:40.156 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 13 February 2024 21:07:16 +0000 (0:00:00.545) 0:00:40.701 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 13 February 2024 21:07:16 +0000 (0:00:00.043) 0:00:40.745 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 13 February 2024 21:07:16 +0000 (0:00:00.035) 0:00:40.780 ****** 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_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 13 February 2024 21:07:16 +0000 (0:00:00.070) 0:00:40.851 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 13 February 2024 21:07:16 +0000 (0:00:00.070) 0:00:40.921 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 13 February 2024 21:07:16 +0000 (0:00:00.266) 0:00:41.187 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 13 February 2024 21:07:16 +0000 (0:00:00.060) 0:00:41.247 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 13 February 2024 21:07:16 +0000 (0:00:00.023) 0:00:41.271 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 13 February 2024 21:07:16 +0000 (0:00:00.019) 0:00:41.291 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 13 February 2024 21:07:16 +0000 (0:00:00.033) 0:00:41.324 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 13 February 2024 21:07:16 +0000 (0:00:00.078) 0:00:41.402 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004188", "end": "2024-02-13 21:07:16.933605", "rc": 0, "start": "2024-02-13 21:07:16.929417" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 13 February 2024 21:07:16 +0000 (0:00:00.250) 0:00:41.653 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 13 February 2024 21:07:16 +0000 (0:00:00.022) 0:00:41.675 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 13 February 2024 21:07:17 +0000 (0:00:00.023) 0:00:41.699 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 13 February 2024 21:07:19 +0000 (0:00:02.473) 0:00:44.173 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 13 February 2024 21:07:19 +0000 (0:00:00.033) 0:00:44.206 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 13 February 2024 21:07:19 +0000 (0:00:00.029) 0:00:44.235 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.010340", "end": "2024-02-13 21:07:19.783244", "rc": 0, "start": "2024-02-13 21:07:19.772904" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 13 February 2024 21:07:19 +0000 (0:00:00.302) 0:00:44.537 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 13 February 2024 21:07:19 +0000 (0:00:00.034) 0:00:44.572 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 13 February 2024 21:07:19 +0000 (0:00:00.050) 0:00:44.622 ****** 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_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 13 February 2024 21:07:19 +0000 (0:00:00.044) 0:00:44.666 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:153 Tuesday 13 February 2024 21:07:20 +0000 (0:00:00.022) 0:00:44.689 ****** included: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 13 February 2024 21:07:20 +0000 (0:00:00.068) 0:00:44.757 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :_\nfi\n", "delta": "0:00:00.009810", "end": "2024-02-13 21:07:20.336620", "rc": 0, "start": "2024-02-13 21:07:20.326810" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 0e:07:4a:2b:a2:cb brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.43.211/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2778sec preferred_lft 2778sec inet6 fe80::c07:4aff:fe2b:a2cb/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.211 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.211 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 13 February 2024 21:07:20 +0000 (0:00:00.298) 0:00:45.056 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=127 changed=4 unreachable=0 failed=0 skipped=103 rescued=0 ignored=0 Tuesday 13 February 2024 21:07:20 +0000 (0:00:00.103) 0:00:45.160 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.68s /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.68s /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.58s /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.55s /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.54s /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.51s /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.47s /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.46s /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 1.08s /WORKDIR/git-bond_options_rewritegqym2p31/tests/tests_auto_gateway_nm.yml:6 --- fedora.linux_system_roles.network : Check which packages are installed --- 1.03s /WORKDIR/git-bond_options_rewritegqym2p31/.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.92s /WORKDIR/git-bond_options_rewritegqym2p31/.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.91s /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.90s /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 0.79s /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 0.76s /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-bond_options_rewritegqym2p31/tests/playbooks/tests_auto_gateway.yml:3 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.65s /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.55s /WORKDIR/git-bond_options_rewritegqym2p31/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.53s /WORKDIR/git-bond_options_rewritegqym2p31/.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. ---^---^---^---^---^---