# 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_rewritegnchuh7t/.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_rewritegnchuh7t/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_rewritegnchuh7t/tests/tests_auto_gateway_nm.yml:6 Wednesday 14 February 2024 02:21:53 +0000 (0:00:00.011) 0:00:00.011 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/tests_auto_gateway_nm.yml:9 Wednesday 14 February 2024 02:21:54 +0000 (0:00:00.998) 0:00:01.009 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/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_rewritegnchuh7t/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 02:21:54 +0000 (0:00:00.011) 0:00:01.020 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/tasks/el_repo_setup.yml:17 Wednesday 14 February 2024 02:21:54 +0000 (0:00:00.409) 0:00:01.430 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/tasks/el_repo_setup.yml:22 Wednesday 14 February 2024 02:21:54 +0000 (0:00:00.289) 0:00:01.720 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/tasks/el_repo_setup.yml:26 Wednesday 14 February 2024 02:21:54 +0000 (0:00:00.013) 0:00:01.733 **** 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_rewritegnchuh7t/tests/tasks/el_repo_setup.yml:51 Wednesday 14 February 2024 02:21:54 +0000 (0:00:00.007) 0:00:01.740 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 02:21:54 +0000 (0:00:00.019) 0:00:01.760 **** 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_rewritegnchuh7t/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 02:21:54 +0000 (0:00:00.007) 0:00:01.767 **** 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_rewritegnchuh7t/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 02:21:54 +0000 (0:00:00.007) 0:00:01.774 **** 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_rewritegnchuh7t/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 02:21:54 +0000 (0:00:00.007) 0:00:01.781 **** 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_rewritegnchuh7t/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 02:21:54 +0000 (0:00:00.006) 0:00:01.788 **** 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_rewritegnchuh7t/tests/tests_auto_gateway_nm.yml:11 Wednesday 14 February 2024 02:21:54 +0000 (0:00:00.006) 0:00:01.794 **** 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_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 14 February 2024 02:21:54 +0000 (0:00:00.014) 0:00:01.809 **** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 14 February 2024 02:21:55 +0000 (0:00:00.769) 0:00:02.578 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:21:55 +0000 (0:00:00.022) 0:00:02.600 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:21:55 +0000 (0:00:00.010) 0:00:02.610 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003977", "end": "2024-02-14 02:21:55.994299", "rc": 0, "start": "2024-02-14 02:21:55.990322" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:21:56 +0000 (0:00:00.287) 0:00:02.898 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:21:56 +0000 (0:00:00.010) 0:00:02.908 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 14 February 2024 02:21:56 +0000 (0:00:00.009) 0:00:02.917 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:21:56 +0000 (0:00:00.023) 0:00:02.941 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:21:56 +0000 (0:00:00.007) 0:00:02.949 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:21:56 +0000 (0:00:00.007) 0:00:02.956 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:21:56 +0000 (0:00:00.010) 0:00:02.967 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:21:56 +0000 (0:00:00.009) 0:00:02.977 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004100", "end": "2024-02-14 02:21:56.307114", "rc": 0, "start": "2024-02-14 02:21:56.303014" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:21:56 +0000 (0:00:00.234) 0:00:03.211 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:21:56 +0000 (0:00:00.009) 0:00:03.221 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:21:56 +0000 (0:00:00.009) 0:00:03.230 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 02:21:58 +0000 (0:00:02.117) 0:00:05.348 **** 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.062082", "end": "2024-02-14 02:21:58.741518", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 02:21:58.679436" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004455", "end": "2024-02-14 02:21:59.034428", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 02:21:59.029973" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005147", "end": "2024-02-14 02:21:59.264804", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 02:21:59.259657" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 02:21:59 +0000 (0:00:00.820) 0:00:06.168 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.218325", "end": "2024-02-14 02:21:59.717384", "rc": 0, "start": "2024-02-14 02:21:59.499059" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 02:21:59 +0000 (0:00:00.453) 0:00:06.622 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 02:21:59 +0000 (0:00:00.008) 0:00:06.631 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 02:21:59 +0000 (0:00:00.008) 0:00:06.640 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 02:21:59 +0000 (0:00:00.007) 0:00:06.648 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:21:59 +0000 (0:00:00.008) 0:00:06.656 **** 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_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 14 February 2024 02:21:59 +0000 (0:00:00.007) 0:00:06.664 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:21:59 +0000 (0:00:00.022) 0:00:06.686 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:21:59 +0000 (0:00:00.010) 0:00:06.696 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707877318.736186, "block_size": 4096, "blocks": 0, "ctime": 1707877318.736186, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26254, "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": 1707877318.736186, "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_rewritegnchuh7t/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:22:00 +0000 (0:00:00.232) 0:00:06.929 **** 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_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 14 February 2024 02:22:00 +0000 (0:00:00.010) 0:00:06.940 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 02:22:00 +0000 (0:00:00.009) 0:00:06.949 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/.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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:22:00 +0000 (0:00:00.015) 0:00:06.964 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 02:22:00 +0000 (0:00:00.019) 0:00:06.983 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 02:22:00 +0000 (0:00:00.010) 0:00:06.994 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 02:22:00 +0000 (0:00:00.010) 0:00:07.004 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 02:22:02 +0000 (0:00:02.402) 0:00:09.407 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 02:22:03 +0000 (0:00:00.999) 0:00:10.406 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 02:22:03 +0000 (0:00:00.021) 0:00:10.428 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 02:22:03 +0000 (0:00:00.021) 0:00:10.449 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 02:22:03 +0000 (0:00:00.022) 0:00:10.472 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 02:22:03 +0000 (0:00:00.052) 0:00:10.524 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 02:22:03 +0000 (0:00:00.042) 0:00:10.567 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 02:22:03 +0000 (0:00:00.022) 0:00:10.589 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 02:22:03 +0000 (0:00:00.033) 0:00:10.623 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 02:22:04 +0000 (0:00:00.623) 0:00:11.246 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 02:22:04 +0000 (0:00:00.032) 0:00:11.279 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 02:22:04 +0000 (0:00:00.018) 0:00:11.298 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 02:22:04 +0000 (0:00:00.018) 0:00:11.317 **** 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, a8d8c80c-4478-47a5-892e-ec332a7f2bea [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a8d8c80c-4478-47a5-892e-ec332a7f2bea (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 02:22:05 +0000 (0:00:00.939) 0:00:12.256 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 02:22:05 +0000 (0:00:00.022) 0:00:12.279 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a8d8c80c-4478-47a5-892e-ec332a7f2bea", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a8d8c80c-4478-47a5-892e-ec332a7f2bea (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 02:22:05 +0000 (0:00:00.021) 0:00:12.300 **** 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, a8d8c80c-4478-47a5-892e-ec332a7f2bea\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a8d8c80c-4478-47a5-892e-ec332a7f2bea (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a8d8c80c-4478-47a5-892e-ec332a7f2bea", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a8d8c80c-4478-47a5-892e-ec332a7f2bea (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 02:22:05 +0000 (0:00:00.020) 0:00:12.321 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 02:22:05 +0000 (0:00:00.020) 0:00:12.342 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 14 February 2024 02:22:05 +0000 (0:00:00.333) 0:00:12.675 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:22:05 +0000 (0:00:00.042) 0:00:12.718 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:22:05 +0000 (0:00:00.052) 0:00:12.771 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707877318.736186, "block_size": 4096, "blocks": 0, "ctime": 1707877318.736186, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26254, "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": 1707877318.736186, "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_rewritegnchuh7t/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:22:06 +0000 (0:00:00.250) 0:00:13.021 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 14 February 2024 02:22:06 +0000 (0:00:00.020) 0:00:13.042 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:22:06 +0000 (0:00:00.043) 0:00:13.086 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/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_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:22:06 +0000 (0:00:00.031) 0:00:13.118 **** 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_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:22:06 +0000 (0:00:00.019) 0:00:13.137 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:22:06 +0000 (0:00:00.245) 0:00:13.383 **** 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_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:22:06 +0000 (0:00:00.018) 0:00:13.401 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.108823", "end": "2024-02-14 02:22:06.847524", "rc": 0, "start": "2024-02-14 02:22:06.738701" } 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_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:22:06 +0000 (0:00:00.360) 0:00:13.761 **** 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_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:22:06 +0000 (0:00:00.021) 0:00:13.783 **** 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_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:22:06 +0000 (0:00:00.018) 0:00:13.801 **** 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_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:22:06 +0000 (0:00:00.018) 0:00:13.820 **** 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_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:22:06 +0000 (0:00:00.018) 0:00:13.839 **** 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_rewritegnchuh7t/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:22:06 +0000 (0:00:00.018) 0:00:13.857 **** 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_rewritegnchuh7t/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:22:07 +0000 (0:00:00.052) 0:00:13.910 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:22:07 +0000 (0:00:00.023) 0:00:13.934 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 14 February 2024 02:22:07 +0000 (0:00:00.026) 0:00:13.961 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004375", "end": "2024-02-14 02:22:07.297246", "rc": 0, "start": "2024-02-14 02:22:07.292871" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.152 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.152 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_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 14 February 2024 02:22:07 +0000 (0:00:00.251) 0:00:14.212 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 14 February 2024 02:22:07 +0000 (0:00:00.021) 0:00:14.233 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004207", "end": "2024-02-14 02:22:07.567619", "rc": 0, "start": "2024-02-14 02:22:07.563412" } 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_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 14 February 2024 02:22:07 +0000 (0:00:00.246) 0:00:14.480 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 14 February 2024 02:22:07 +0000 (0:00:00.021) 0:00:14.502 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 02:22:07 +0000 (0:00:00.020) 0:00:14.522 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/.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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:22:07 +0000 (0:00:00.034) 0:00:14.556 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 02:22:07 +0000 (0:00:00.032) 0:00:14.588 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 02:22:07 +0000 (0:00:00.022) 0:00:14.610 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 02:22:07 +0000 (0:00:00.021) 0:00:14.632 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 02:22:10 +0000 (0:00:02.271) 0:00:16.904 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 02:22:10 +0000 (0:00:00.871) 0:00:17.776 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 02:22:10 +0000 (0:00:00.022) 0:00:17.798 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 02:22:10 +0000 (0:00:00.021) 0:00:17.820 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 02:22:10 +0000 (0:00:00.022) 0:00:17.842 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 02:22:11 +0000 (0:00:00.051) 0:00:17.893 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 02:22:11 +0000 (0:00:00.022) 0:00:17.916 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 02:22:11 +0000 (0:00:00.021) 0:00:17.938 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 02:22:11 +0000 (0:00:00.033) 0:00:17.971 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 02:22:11 +0000 (0:00:00.464) 0:00:18.436 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 02:22:11 +0000 (0:00:00.033) 0:00:18.469 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 02:22:11 +0000 (0:00:00.019) 0:00:18.489 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 02:22:11 +0000 (0:00:00.018) 0:00:18.508 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 02:22:12 +0000 (0:00:00.569) 0:00:19.077 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 02:22:12 +0000 (0:00:00.022) 0:00:19.100 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 02:22:12 +0000 (0:00:00.023) 0:00:19.123 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 02:22:12 +0000 (0:00:00.022) 0:00:19.146 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 02:22:12 +0000 (0:00:00.052) 0:00:19.198 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 14 February 2024 02:22:12 +0000 (0:00:00.251) 0:00:19.449 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:22:12 +0000 (0:00:00.045) 0:00:19.495 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:22:12 +0000 (0:00:00.018) 0:00:19.514 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:22:12 +0000 (0:00:00.018) 0:00:19.532 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:22:12 +0000 (0:00:00.031) 0:00:19.563 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:22:12 +0000 (0:00:00.028) 0:00:19.592 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004084", "end": "2024-02-14 02:22:12.927663", "rc": 0, "start": "2024-02-14 02:22:12.923579" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:22:12 +0000 (0:00:00.250) 0:00:19.842 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:22:12 +0000 (0:00:00.021) 0:00:19.863 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:22:13 +0000 (0:00:00.023) 0:00:19.887 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 02:22:14 +0000 (0:00:01.975) 0:00:21.862 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 02:22:15 +0000 (0:00:00.024) 0:00:21.887 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 02:22:15 +0000 (0:00:00.042) 0:00:21.930 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012718", "end": "2024-02-14 02:22:15.275396", "rc": 0, "start": "2024-02-14 02:22:15.262678" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 02:22:15 +0000 (0:00:00.268) 0:00:22.199 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 02:22:15 +0000 (0:00:00.019) 0:00:22.218 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 02:22:15 +0000 (0:00:00.018) 0:00:22.237 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:22:15 +0000 (0:00:00.020) 0:00:22.257 **** 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_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 14 February 2024 02:22:15 +0000 (0:00:00.018) 0:00:22.276 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 14 February 2024 02:22:15 +0000 (0:00:00.019) 0:00:22.296 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:22:15 +0000 (0:00:00.045) 0:00:22.341 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:22:15 +0000 (0:00:00.018) 0:00:22.360 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:22:15 +0000 (0:00:00.018) 0:00:22.378 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:22:15 +0000 (0:00:00.029) 0:00:22.408 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:22:15 +0000 (0:00:00.029) 0:00:22.437 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003981", "end": "2024-02-14 02:22:15.768646", "rc": 0, "start": "2024-02-14 02:22:15.764665" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:22:15 +0000 (0:00:00.244) 0:00:22.682 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:22:15 +0000 (0:00:00.060) 0:00:22.742 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:22:15 +0000 (0:00:00.022) 0:00:22.764 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 02:22:17 +0000 (0:00:02.106) 0:00:24.871 **** 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.007372", "end": "2024-02-14 02:22:18.209425", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 02:22:18.202053" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004419", "end": "2024-02-14 02:22:18.522237", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 02:22:18.517818" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004377", "end": "2024-02-14 02:22:18.751170", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 02:22:18.746793" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 02:22:18 +0000 (0:00:00.796) 0:00:25.667 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.024142", "end": "2024-02-14 02:22:19.027058", "rc": 0, "start": "2024-02-14 02:22:19.002916" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 02:22:19 +0000 (0:00:00.275) 0:00:25.942 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 02:22:19 +0000 (0:00:00.020) 0:00:25.962 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 02:22:19 +0000 (0:00:00.019) 0:00:25.981 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 02:22:19 +0000 (0:00:00.018) 0:00:26.000 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:22:19 +0000 (0:00:00.019) 0:00:26.020 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 02:22:19 +0000 (0:00:00.019) 0:00:26.039 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/.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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:22:19 +0000 (0:00:00.033) 0:00:26.072 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 02:22:19 +0000 (0:00:00.031) 0:00:26.104 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 02:22:19 +0000 (0:00:00.021) 0:00:26.126 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 02:22:19 +0000 (0:00:00.021) 0:00:26.148 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 02:22:21 +0000 (0:00:02.201) 0:00:28.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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 02:22:22 +0000 (0:00:00.878) 0:00:29.228 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 02:22:22 +0000 (0:00:00.022) 0:00:29.251 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 02:22:22 +0000 (0:00:00.022) 0:00:29.273 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 02:22:22 +0000 (0:00:00.021) 0:00:29.295 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 02:22:22 +0000 (0:00:00.052) 0:00:29.348 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 02:22:22 +0000 (0:00:00.022) 0:00:29.370 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 02:22:22 +0000 (0:00:00.022) 0:00:29.393 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 02:22:22 +0000 (0:00:00.033) 0:00:29.426 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 02:22:23 +0000 (0:00:00.461) 0:00:29.888 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 02:22:23 +0000 (0:00:00.033) 0:00:29.922 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 02:22:23 +0000 (0:00:00.019) 0:00:29.941 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 02:22:23 +0000 (0:00:00.019) 0:00:29.961 **** 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, 99f1fc1f-ff58-44de-b9f4-a11378fa0b0b [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 99f1fc1f-ff58-44de-b9f4-a11378fa0b0b (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 02:22:23 +0000 (0:00:00.522) 0:00:30.483 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 02:22:23 +0000 (0:00:00.023) 0:00:30.506 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 99f1fc1f-ff58-44de-b9f4-a11378fa0b0b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 99f1fc1f-ff58-44de-b9f4-a11378fa0b0b (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 02:22:23 +0000 (0:00:00.050) 0:00:30.557 **** 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, 99f1fc1f-ff58-44de-b9f4-a11378fa0b0b\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 99f1fc1f-ff58-44de-b9f4-a11378fa0b0b (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 99f1fc1f-ff58-44de-b9f4-a11378fa0b0b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 99f1fc1f-ff58-44de-b9f4-a11378fa0b0b (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 02:22:23 +0000 (0:00:00.023) 0:00:30.581 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 02:22:23 +0000 (0:00:00.022) 0:00:30.604 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 14 February 2024 02:22:23 +0000 (0:00:00.253) 0:00:30.858 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:22:24 +0000 (0:00:00.048) 0:00:30.906 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:22:24 +0000 (0:00:00.033) 0:00:30.940 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707877338.2063825, "block_size": 4096, "blocks": 0, "ctime": 1707877338.2063825, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26840, "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": 1707877338.2063825, "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_rewritegnchuh7t/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:22:24 +0000 (0:00:00.246) 0:00:31.186 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 14 February 2024 02:22:24 +0000 (0:00:00.021) 0:00:31.207 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:22:24 +0000 (0:00:00.046) 0:00:31.254 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/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_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:22:24 +0000 (0:00:00.036) 0:00:31.290 **** 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_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:22:24 +0000 (0:00:00.022) 0:00:31.313 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:22:24 +0000 (0:00:00.278) 0:00:31.591 **** 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_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:22:24 +0000 (0:00:00.019) 0:00:31.610 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022595", "end": "2024-02-14 02:22:24.963828", "rc": 0, "start": "2024-02-14 02:22:24.941233" } 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_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:22:24 +0000 (0:00:00.267) 0:00:31.878 **** 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_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.022) 0:00:31.900 **** 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_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.019) 0:00:31.920 **** 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_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.020) 0:00:31.941 **** 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_rewritegnchuh7t/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.020) 0:00:31.961 **** 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_rewritegnchuh7t/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.019) 0:00:31.981 **** 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_rewritegnchuh7t/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.022) 0:00:32.003 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.022) 0:00:32.025 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.020) 0:00:32.046 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004293", "end": "2024-02-14 02:22:25.380007", "rc": 0, "start": "2024-02-14 02:22:25.375714" } STDOUT: default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.152 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.152 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_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.248) 0:00:32.295 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.021) 0:00:32.316 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004192", "end": "2024-02-14 02:22:25.651175", "rc": 0, "start": "2024-02-14 02:22:25.646983" } 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_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.249) 0:00:32.565 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.021) 0:00:32.586 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.020) 0:00:32.606 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/.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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.062) 0:00:32.669 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.032) 0:00:32.701 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.022) 0:00:32.724 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 02:22:25 +0000 (0:00:00.023) 0:00:32.747 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 02:22:28 +0000 (0:00:02.321) 0:00:35.069 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 02:22:29 +0000 (0:00:00.813) 0:00:35.882 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 02:22:29 +0000 (0:00:00.022) 0:00:35.905 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 02:22:29 +0000 (0:00:00.022) 0:00:35.928 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 02:22:29 +0000 (0:00:00.022) 0:00:35.950 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 02:22:29 +0000 (0:00:00.051) 0:00:36.002 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 02:22:29 +0000 (0:00:00.022) 0:00:36.024 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 02:22:29 +0000 (0:00:00.022) 0:00:36.047 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 02:22:29 +0000 (0:00:00.034) 0:00:36.081 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 02:22:29 +0000 (0:00:00.495) 0:00:36.577 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 02:22:29 +0000 (0:00:00.042) 0:00:36.619 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 02:22:29 +0000 (0:00:00.020) 0:00:36.639 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 02:22:29 +0000 (0:00:00.023) 0:00:36.663 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 02:22:30 +0000 (0:00:00.505) 0:00:37.168 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 02:22:30 +0000 (0:00:00.025) 0:00:37.193 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 02:22:30 +0000 (0:00:00.029) 0:00:37.223 **** 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_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 02:22:30 +0000 (0:00:00.025) 0:00:37.248 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 02:22:30 +0000 (0:00:00.024) 0:00:37.273 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 14 February 2024 02:22:30 +0000 (0:00:00.253) 0:00:37.527 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 02:22:30 +0000 (0:00:00.048) 0:00:37.576 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 02:22:30 +0000 (0:00:00.019) 0:00:37.595 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 02:22:30 +0000 (0:00:00.018) 0:00:37.613 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:22:30 +0000 (0:00:00.061) 0:00:37.674 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:22:30 +0000 (0:00:00.031) 0:00:37.706 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004144", "end": "2024-02-14 02:22:31.042679", "rc": 0, "start": "2024-02-14 02:22:31.038535" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:22:31 +0000 (0:00:00.252) 0:00:37.959 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:22:31 +0000 (0:00:00.020) 0:00:37.979 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 02:22:31 +0000 (0:00:00.020) 0:00:38.000 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 02:22:33 +0000 (0:00:02.230) 0:00:40.231 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 02:22:33 +0000 (0:00:00.024) 0:00:40.255 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 02:22:33 +0000 (0:00:00.019) 0:00:40.275 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.011946", "end": "2024-02-14 02:22:33.620479", "rc": 0, "start": "2024-02-14 02:22:33.608533" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 02:22:33 +0000 (0:00:00.267) 0:00:40.543 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 02:22:33 +0000 (0:00:00.019) 0:00:40.562 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 02:22:33 +0000 (0:00:00.019) 0:00:40.582 **** 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_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 02:22:33 +0000 (0:00:00.020) 0:00:40.602 **** 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_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:153 Wednesday 14 February 2024 02:22:33 +0000 (0:00:00.018) 0:00:40.620 **** included: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 02:22:33 +0000 (0:00:00.049) 0:00:40.670 **** 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.009715", "end": "2024-02-14 02:22:34.011104", "rc": 0, "start": "2024-02-14 02:22:34.001389" } 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 9001 qdisc mq state UP group default qlen 1000 link/ether 02:2d:6a:96:a9:6b brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.45.152/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2948sec preferred_lft 2948sec inet6 fe80::5d55:870:a912:ee5d/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.45.152 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.152 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_rewritegnchuh7t/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 02:22:34 +0000 (0:00:00.291) 0:00:40.961 **** 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 Wednesday 14 February 2024 02:22:34 +0000 (0:00:00.058) 0:00:41.020 **** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.40s /WORKDIR/git-bond_options_rewritegnchuh7t/.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.32s /WORKDIR/git-bond_options_rewritegnchuh7t/.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.27s /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.23s /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.20s /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.12s /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.11s /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.98s /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.00s /WORKDIR/git-bond_options_rewritegnchuh7t/tests/tests_auto_gateway_nm.yml:6 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.94s /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Check which packages are installed --- 0.88s /WORKDIR/git-bond_options_rewritegnchuh7t/.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.87s /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 0.82s /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 0.80s /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-bond_options_rewritegnchuh7t/tests/playbooks/tests_auto_gateway.yml:3 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.62s /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.57s /WORKDIR/git-bond_options_rewritegnchuh7t/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.52s /WORKDIR/git-bond_options_rewritegnchuh7t/.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. ---^---^---^---^---^---