# 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_rewrite83usesr3/.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_rewrite83usesr3/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_rewrite83usesr3/tests/tests_auto_gateway_nm.yml:6 Wednesday 14 February 2024 17:02:04 +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_rewrite83usesr3/tests/tests_auto_gateway_nm.yml:9 Wednesday 14 February 2024 17:02:05 +0000 (0:00:00.996) 0:00:01.007 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/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_rewrite83usesr3/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:02:05 +0000 (0:00:00.011) 0:00:01.019 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/tasks/el_repo_setup.yml:17 Wednesday 14 February 2024 17:02:06 +0000 (0:00:00.409) 0:00:01.428 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/tasks/el_repo_setup.yml:22 Wednesday 14 February 2024 17:02:06 +0000 (0:00:00.288) 0:00:01.716 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/tasks/el_repo_setup.yml:26 Wednesday 14 February 2024 17:02:06 +0000 (0:00:00.013) 0:00:01.729 **** 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_rewrite83usesr3/tests/tasks/el_repo_setup.yml:51 Wednesday 14 February 2024 17:02:06 +0000 (0:00:00.007) 0:00:01.736 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:02:06 +0000 (0:00:00.019) 0:00:01.756 **** 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_rewrite83usesr3/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:02:06 +0000 (0:00:00.006) 0:00:01.762 **** 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_rewrite83usesr3/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:02:06 +0000 (0:00:00.007) 0:00:01.770 **** 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_rewrite83usesr3/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:02:06 +0000 (0:00:00.006) 0:00:01.776 **** 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_rewrite83usesr3/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:02:06 +0000 (0:00:00.007) 0:00:01.783 **** 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_rewrite83usesr3/tests/tests_auto_gateway_nm.yml:11 Wednesday 14 February 2024 17:02:06 +0000 (0:00:00.006) 0:00:01.790 **** 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_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:3 Wednesday 14 February 2024 17:02:06 +0000 (0:00:00.014) 0:00:01.805 **** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:9 Wednesday 14 February 2024 17:02:07 +0000 (0:00:00.769) 0:00:02.574 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:02:07 +0000 (0:00:00.021) 0:00:02.596 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:02:07 +0000 (0:00:00.010) 0:00:02.606 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003764", "end": "2024-02-14 17:02:07.562529", "rc": 0, "start": "2024-02-14 17:02:07.558765" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:02:07 +0000 (0:00:00.296) 0:00:02.903 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:02:07 +0000 (0:00:00.009) 0:00:02.913 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:11 Wednesday 14 February 2024 17:02:07 +0000 (0:00:00.009) 0:00:02.922 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:02:07 +0000 (0:00:00.023) 0:00:02.946 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:02:07 +0000 (0:00:00.007) 0:00:02.953 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:02:07 +0000 (0:00:00.007) 0:00:02.960 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:02:07 +0000 (0:00:00.010) 0:00:02.971 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:02:07 +0000 (0:00:00.009) 0:00:02.980 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003908", "end": "2024-02-14 17:02:07.889604", "rc": 0, "start": "2024-02-14 17:02:07.885696" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:02:07 +0000 (0:00:00.250) 0:00:03.230 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:02:07 +0000 (0:00:00.009) 0:00:03.240 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:02:07 +0000 (0:00:00.009) 0:00:03.249 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:02:10 +0000 (0:00:02.218) 0:00:05.468 **** 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.105325", "end": "2024-02-14 17:02:10.480917", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 17:02:10.375592" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004635", "end": "2024-02-14 17:02:10.791996", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 17:02:10.787361" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004312", "end": "2024-02-14 17:02:11.027597", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 17:02:11.023285" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:02:11 +0000 (0:00:00.903) 0:00:06.371 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.302926", "end": "2024-02-14 17:02:11.570708", "rc": 0, "start": "2024-02-14 17:02:11.267782" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:02:11 +0000 (0:00:00.540) 0:00:06.912 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:02:11 +0000 (0:00:00.010) 0:00:06.922 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:02:11 +0000 (0:00:00.009) 0:00:06.931 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:02:11 +0000 (0:00:00.008) 0:00:06.940 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:02:11 +0000 (0:00:00.008) 0:00:06.949 **** 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_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:15 Wednesday 14 February 2024 17:02:11 +0000 (0:00:00.007) 0:00:06.956 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:02:11 +0000 (0:00:00.022) 0:00:06.979 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:02:11 +0000 (0:00:00.010) 0:00:06.989 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930130.477742, "block_size": 4096, "blocks": 0, "ctime": 1707930130.477742, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26308, "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": 1707930130.477742, "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_rewrite83usesr3/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:02:11 +0000 (0:00:00.244) 0:00:07.234 **** 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_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:17 Wednesday 14 February 2024 17:02:11 +0000 (0:00:00.010) 0:00:07.245 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:02:11 +0000 (0:00:00.010) 0:00:07.256 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/.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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:02:11 +0000 (0:00:00.015) 0:00:07.271 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:02:11 +0000 (0:00:00.026) 0:00:07.297 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:02:11 +0000 (0:00:00.012) 0:00:07.310 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:02:12 +0000 (0:00:00.012) 0:00:07.323 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:02:14 +0000 (0:00:02.469) 0:00:09.793 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:02:15 +0000 (0:00:01.021) 0:00:10.814 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:02:15 +0000 (0:00:00.021) 0:00:10.835 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:02:15 +0000 (0:00:00.020) 0:00:10.856 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:02:15 +0000 (0:00:00.020) 0:00:10.877 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:02:15 +0000 (0:00:00.050) 0:00:10.927 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:02:15 +0000 (0:00:00.039) 0:00:10.967 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:02:15 +0000 (0:00:00.022) 0:00:10.989 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:02:15 +0000 (0:00:00.032) 0:00:11.022 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:02:16 +0000 (0:00:00.641) 0:00:11.664 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:02:16 +0000 (0:00:00.035) 0:00:11.699 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:02:16 +0000 (0:00:00.020) 0:00:11.720 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:02:16 +0000 (0:00:00.021) 0:00:11.741 **** 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, 7cfbe28f-9d00-4555-91ee-370a545d0289 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7cfbe28f-9d00-4555-91ee-370a545d0289 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:02:17 +0000 (0:00:01.001) 0:00:12.743 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:02:17 +0000 (0:00:00.023) 0:00:12.766 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 7cfbe28f-9d00-4555-91ee-370a545d0289", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7cfbe28f-9d00-4555-91ee-370a545d0289 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:02:17 +0000 (0:00:00.022) 0:00:12.789 **** 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, 7cfbe28f-9d00-4555-91ee-370a545d0289\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7cfbe28f-9d00-4555-91ee-370a545d0289 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 7cfbe28f-9d00-4555-91ee-370a545d0289", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7cfbe28f-9d00-4555-91ee-370a545d0289 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:02:17 +0000 (0:00:00.023) 0:00:12.812 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:02:17 +0000 (0:00:00.023) 0:00:12.836 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:42 Wednesday 14 February 2024 17:02:17 +0000 (0:00:00.339) 0:00:13.176 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:02:17 +0000 (0:00:00.044) 0:00:13.220 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:02:17 +0000 (0:00:00.053) 0:00:13.273 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930130.477742, "block_size": 4096, "blocks": 0, "ctime": 1707930130.477742, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26308, "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": 1707930130.477742, "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_rewrite83usesr3/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:02:18 +0000 (0:00:00.247) 0:00:13.520 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:44 Wednesday 14 February 2024 17:02:18 +0000 (0:00:00.021) 0:00:13.541 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:02:18 +0000 (0:00:00.044) 0:00:13.586 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/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_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:02:18 +0000 (0:00:00.033) 0:00:13.620 **** 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_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:02:18 +0000 (0:00:00.020) 0:00:13.640 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:02:18 +0000 (0:00:00.243) 0:00:13.884 **** 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_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:02:18 +0000 (0:00:00.018) 0:00:13.903 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.101201", "end": "2024-02-14 17:02:18.898911", "rc": 0, "start": "2024-02-14 17:02:18.797710" } 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_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:02:18 +0000 (0:00:00.345) 0:00:14.248 **** 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_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:02:18 +0000 (0:00:00.022) 0:00:14.270 **** 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_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:02:18 +0000 (0:00:00.018) 0:00:14.289 **** 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_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:02:18 +0000 (0:00:00.019) 0:00:14.309 **** 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_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:02:19 +0000 (0:00:00.019) 0:00:14.328 **** 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_rewrite83usesr3/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:02:19 +0000 (0:00:00.020) 0:00:14.348 **** 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_rewrite83usesr3/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:02:19 +0000 (0:00:00.049) 0:00:14.398 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:02:19 +0000 (0:00:00.023) 0:00:14.421 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:48 Wednesday 14 February 2024 17:02:19 +0000 (0:00:00.020) 0:00:14.442 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004055", "end": "2024-02-14 17:02:19.342037", "rc": 0, "start": "2024-02-14 17:02:19.337982" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.107 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.107 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_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:52 Wednesday 14 February 2024 17:02:19 +0000 (0:00:00.250) 0:00:14.692 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:58 Wednesday 14 February 2024 17:02:19 +0000 (0:00:00.020) 0:00:14.713 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004114", "end": "2024-02-14 17:02:19.614089", "rc": 0, "start": "2024-02-14 17:02:19.609975" } 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_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:62 Wednesday 14 February 2024 17:02:19 +0000 (0:00:00.249) 0:00:14.963 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:69 Wednesday 14 February 2024 17:02:19 +0000 (0:00:00.021) 0:00:14.984 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:02:19 +0000 (0:00:00.020) 0:00:15.004 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/.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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:02:19 +0000 (0:00:00.033) 0:00:15.037 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:02:19 +0000 (0:00:00.031) 0:00:15.069 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:02:19 +0000 (0:00:00.020) 0:00:15.090 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:02:19 +0000 (0:00:00.021) 0:00:15.112 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:02:22 +0000 (0:00:02.332) 0:00:17.445 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:02:23 +0000 (0:00:00.888) 0:00:18.333 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:02:23 +0000 (0:00:00.021) 0:00:18.355 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:02:23 +0000 (0:00:00.022) 0:00:18.377 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:02:23 +0000 (0:00:00.021) 0:00:18.399 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:02:23 +0000 (0:00:00.051) 0:00:18.450 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:02:23 +0000 (0:00:00.022) 0:00:18.473 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:02:23 +0000 (0:00:00.021) 0:00:18.494 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:02:23 +0000 (0:00:00.033) 0:00:18.527 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:02:23 +0000 (0:00:00.465) 0:00:18.993 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:02:23 +0000 (0:00:00.033) 0:00:19.026 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:02:23 +0000 (0:00:00.019) 0:00:19.045 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:02:23 +0000 (0:00:00.019) 0:00:19.064 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:02:24 +0000 (0:00:00.509) 0:00:19.573 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:02:24 +0000 (0:00:00.022) 0:00:19.596 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:02:24 +0000 (0:00:00.021) 0:00:19.617 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:02:24 +0000 (0:00:00.021) 0:00:19.639 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:02:24 +0000 (0:00:00.048) 0:00:19.688 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:81 Wednesday 14 February 2024 17:02:24 +0000 (0:00:00.254) 0:00:19.942 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:02:24 +0000 (0:00:00.050) 0:00:19.992 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:02:24 +0000 (0:00:00.020) 0:00:20.013 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:02:24 +0000 (0:00:00.019) 0:00:20.032 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:02:24 +0000 (0:00:00.031) 0:00:20.063 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:02:24 +0000 (0:00:00.029) 0:00:20.092 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003714", "end": "2024-02-14 17:02:24.990759", "rc": 0, "start": "2024-02-14 17:02:24.987045" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:02:25 +0000 (0:00:00.247) 0:00:20.340 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:02:25 +0000 (0:00:00.020) 0:00:20.360 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:02:25 +0000 (0:00:00.019) 0:00:20.380 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:02:27 +0000 (0:00:02.061) 0:00:22.442 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:02:27 +0000 (0:00:00.025) 0:00:22.467 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:02:27 +0000 (0:00:00.044) 0:00:22.512 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.022917", "end": "2024-02-14 17:02:27.441242", "rc": 0, "start": "2024-02-14 17:02:27.418325" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:02:27 +0000 (0:00:00.281) 0:00:22.793 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:02:27 +0000 (0:00:00.019) 0:00:22.813 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:02:27 +0000 (0:00:00.019) 0:00:22.832 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:02:27 +0000 (0:00:00.018) 0:00:22.851 **** 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_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:85 Wednesday 14 February 2024 17:02:27 +0000 (0:00:00.019) 0:00:22.870 **** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:89 Wednesday 14 February 2024 17:02:27 +0000 (0:00:00.019) 0:00:22.890 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:02:27 +0000 (0:00:00.045) 0:00:22.936 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:02:27 +0000 (0:00:00.019) 0:00:22.955 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:02:27 +0000 (0:00:00.018) 0:00:22.974 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:02:27 +0000 (0:00:00.030) 0:00:23.004 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:02:27 +0000 (0:00:00.029) 0:00:23.034 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003752", "end": "2024-02-14 17:02:27.943558", "rc": 0, "start": "2024-02-14 17:02:27.939806" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:02:27 +0000 (0:00:00.259) 0:00:23.293 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:02:28 +0000 (0:00:00.047) 0:00:23.341 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:02:28 +0000 (0:00:00.021) 0:00:23.362 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:02:30 +0000 (0:00:02.456) 0:00:25.818 **** 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.008079", "end": "2024-02-14 17:02:30.734579", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-14 17:02:30.726500" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004119", "end": "2024-02-14 17:02:31.038859", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-14 17:02:31.034740" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004201", "end": "2024-02-14 17:02:31.280870", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-14 17:02:31.276669" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:02:31 +0000 (0:00:00.815) 0:00:26.634 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.022872", "end": "2024-02-14 17:02:31.560193", "rc": 0, "start": "2024-02-14 17:02:31.537321" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:02:31 +0000 (0:00:00.278) 0:00:26.912 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:02:31 +0000 (0:00:00.019) 0:00:26.932 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:02:31 +0000 (0:00:00.019) 0:00:26.951 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:02:31 +0000 (0:00:00.018) 0:00:26.970 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:02:31 +0000 (0:00:00.019) 0:00:26.989 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:02:31 +0000 (0:00:00.018) 0:00:27.008 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/.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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:02:31 +0000 (0:00:00.033) 0:00:27.042 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:02:31 +0000 (0:00:00.032) 0:00:27.074 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:02:31 +0000 (0:00:00.021) 0:00:27.096 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:02:31 +0000 (0:00:00.022) 0:00:27.118 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:02:34 +0000 (0:00:02.258) 0:00:29.377 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:02:34 +0000 (0:00:00.925) 0:00:30.303 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:02:35 +0000 (0:00:00.022) 0:00:30.326 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:02:35 +0000 (0:00:00.029) 0:00:30.355 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:02:35 +0000 (0:00:00.022) 0:00:30.377 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:02:35 +0000 (0:00:00.053) 0:00:30.431 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:02:35 +0000 (0:00:00.022) 0:00:30.454 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:02:35 +0000 (0:00:00.022) 0:00:30.476 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:02:35 +0000 (0:00:00.033) 0:00:30.509 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:02:35 +0000 (0:00:00.482) 0:00:30.992 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:02:35 +0000 (0:00:00.034) 0:00:31.026 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:02:35 +0000 (0:00:00.019) 0:00:31.046 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:02:35 +0000 (0:00:00.019) 0:00:31.065 **** 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, a91ce244-4b42-426d-adc4-24dc4d7a48b5 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a91ce244-4b42-426d-adc4-24dc4d7a48b5 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:02:36 +0000 (0:00:00.549) 0:00:31.614 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:02:36 +0000 (0:00:00.022) 0:00:31.637 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a91ce244-4b42-426d-adc4-24dc4d7a48b5", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a91ce244-4b42-426d-adc4-24dc4d7a48b5 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:02:36 +0000 (0:00:00.051) 0:00:31.689 **** 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, a91ce244-4b42-426d-adc4-24dc4d7a48b5\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a91ce244-4b42-426d-adc4-24dc4d7a48b5 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, a91ce244-4b42-426d-adc4-24dc4d7a48b5", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, a91ce244-4b42-426d-adc4-24dc4d7a48b5 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:02:36 +0000 (0:00:00.024) 0:00:31.714 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:02:36 +0000 (0:00:00.022) 0:00:31.736 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:110 Wednesday 14 February 2024 17:02:36 +0000 (0:00:00.264) 0:00:32.001 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:02:36 +0000 (0:00:00.047) 0:00:32.049 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:02:36 +0000 (0:00:00.030) 0:00:32.079 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930150.7306895, "block_size": 4096, "blocks": 0, "ctime": 1707930150.7306895, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26894, "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": 1707930150.7306895, "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_rewrite83usesr3/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:02:37 +0000 (0:00:00.259) 0:00:32.338 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:112 Wednesday 14 February 2024 17:02:37 +0000 (0:00:00.021) 0:00:32.360 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:02:37 +0000 (0:00:00.046) 0:00:32.406 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/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_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:02:37 +0000 (0:00:00.031) 0:00:32.438 **** 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_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:02:37 +0000 (0:00:00.019) 0:00:32.457 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:02:37 +0000 (0:00:00.283) 0:00:32.741 **** 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_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:02:37 +0000 (0:00:00.019) 0:00:32.760 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022733", "end": "2024-02-14 17:02:37.685812", "rc": 0, "start": "2024-02-14 17:02:37.663079" } 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_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:02:37 +0000 (0:00:00.277) 0:00:33.038 **** 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_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:02:37 +0000 (0:00:00.023) 0:00:33.061 **** 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_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:02:37 +0000 (0:00:00.019) 0:00:33.081 **** 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_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:02:37 +0000 (0:00:00.020) 0:00:33.102 **** 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_rewrite83usesr3/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:02:37 +0000 (0:00:00.021) 0:00:33.123 **** 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_rewrite83usesr3/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:02:37 +0000 (0:00:00.020) 0:00:33.144 **** 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_rewrite83usesr3/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:02:37 +0000 (0:00:00.022) 0:00:33.166 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:02:37 +0000 (0:00:00.022) 0:00:33.189 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:116 Wednesday 14 February 2024 17:02:37 +0000 (0:00:00.020) 0:00:33.209 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004107", "end": "2024-02-14 17:02:38.116829", "rc": 0, "start": "2024-02-14 17:02:38.112722" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.107 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.107 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_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:120 Wednesday 14 February 2024 17:02:38 +0000 (0:00:00.258) 0:00:33.468 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:126 Wednesday 14 February 2024 17:02:38 +0000 (0:00:00.021) 0:00:33.489 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004161", "end": "2024-02-14 17:02:38.397499", "rc": 0, "start": "2024-02-14 17:02:38.393338" } 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_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:130 Wednesday 14 February 2024 17:02:38 +0000 (0:00:00.258) 0:00:33.747 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:137 Wednesday 14 February 2024 17:02:38 +0000 (0:00:00.021) 0:00:33.768 **** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 14 February 2024 17:02:38 +0000 (0:00:00.020) 0:00:33.789 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/.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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:02:38 +0000 (0:00:00.065) 0:00:33.854 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 14 February 2024 17:02:38 +0000 (0:00:00.032) 0:00:33.887 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 14 February 2024 17:02:38 +0000 (0:00:00.022) 0:00:33.909 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 14 February 2024 17:02:38 +0000 (0:00:00.025) 0:00:33.935 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 14 February 2024 17:02:40 +0000 (0:00:02.368) 0:00:36.303 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 14 February 2024 17:02:41 +0000 (0:00:00.820) 0:00:37.124 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 14 February 2024 17:02:41 +0000 (0:00:00.023) 0:00:37.147 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 14 February 2024 17:02:41 +0000 (0:00:00.023) 0:00:37.170 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 14 February 2024 17:02:41 +0000 (0:00:00.022) 0:00:37.192 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 14 February 2024 17:02:41 +0000 (0:00:00.051) 0:00:37.244 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 14 February 2024 17:02:41 +0000 (0:00:00.022) 0:00:37.267 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 14 February 2024 17:02:41 +0000 (0:00:00.021) 0:00:37.289 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 14 February 2024 17:02:42 +0000 (0:00:00.034) 0:00:37.323 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 14 February 2024 17:02:42 +0000 (0:00:00.498) 0:00:37.822 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 14 February 2024 17:02:42 +0000 (0:00:00.034) 0:00:37.857 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 14 February 2024 17:02:42 +0000 (0:00:00.019) 0:00:37.876 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 14 February 2024 17:02:42 +0000 (0:00:00.019) 0:00:37.896 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 14 February 2024 17:02:43 +0000 (0:00:00.498) 0:00:38.394 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 14 February 2024 17:02:43 +0000 (0:00:00.025) 0:00:38.419 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 14 February 2024 17:02:43 +0000 (0:00:00.023) 0:00:38.443 **** 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_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 14 February 2024 17:02:43 +0000 (0:00:00.024) 0:00:38.467 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 14 February 2024 17:02:43 +0000 (0:00:00.025) 0:00:38.493 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:149 Wednesday 14 February 2024 17:02:43 +0000 (0:00:00.266) 0:00:38.759 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 14 February 2024 17:02:43 +0000 (0:00:00.057) 0:00:38.817 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 14 February 2024 17:02:43 +0000 (0:00:00.021) 0:00:38.838 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 14 February 2024 17:02:43 +0000 (0:00:00.018) 0:00:38.857 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:02:43 +0000 (0:00:00.062) 0:00:38.919 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:02:43 +0000 (0:00:00.030) 0:00:38.950 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003717", "end": "2024-02-14 17:02:43.849219", "rc": 0, "start": "2024-02-14 17:02:43.845502" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:02:43 +0000 (0:00:00.248) 0:00:39.198 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:02:43 +0000 (0:00:00.020) 0:00:39.219 **** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 14 February 2024 17:02:43 +0000 (0:00:00.020) 0:00:39.239 **** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:27 Wednesday 14 February 2024 17:02:45 +0000 (0:00:02.035) 0:00:41.275 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:35 Wednesday 14 February 2024 17:02:45 +0000 (0:00:00.025) 0:00:41.301 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:43 Wednesday 14 February 2024 17:02:46 +0000 (0:00:00.019) 0:00:41.320 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.009863", "end": "2024-02-14 17:02:46.235904", "rc": 0, "start": "2024-02-14 17:02:46.226041" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:49 Wednesday 14 February 2024 17:02:46 +0000 (0:00:00.275) 0:00:41.596 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 14 February 2024 17:02:46 +0000 (0:00:00.018) 0:00:41.615 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:60 Wednesday 14 February 2024 17:02:46 +0000 (0:00:00.019) 0:00:41.634 **** 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_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:65 Wednesday 14 February 2024 17:02:46 +0000 (0:00:00.019) 0:00:41.654 **** 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_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:153 Wednesday 14 February 2024 17:02:46 +0000 (0:00:00.018) 0:00:41.672 **** included: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 17:02:46 +0000 (0:00:00.048) 0:00:41.720 **** 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.009678", "end": "2024-02-14 17:02:46.638764", "rc": 0, "start": "2024-02-14 17:02:46.629086" } 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 0a:7b:6d:76:67:4f brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.15.107/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2937sec preferred_lft 2937sec inet6 fe80::c6eb:892d:dcc2:765e/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.107 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.107 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_rewrite83usesr3/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 17:02:46 +0000 (0:00:00.304) 0:00:42.025 **** 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 17:02:46 +0000 (0:00:00.061) 0:00:42.087 **** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.47s /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.46s /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.37s /WORKDIR/git-bond_options_rewrite83usesr3/.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.33s /WORKDIR/git-bond_options_rewrite83usesr3/.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.26s /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.22s /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.06s /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.04s /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.00s /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Gathering Facts --------------------------------------------------------- 1.00s /WORKDIR/git-bond_options_rewrite83usesr3/tests/tests_auto_gateway_nm.yml:6 --- fedora.linux_system_roles.network : Check which packages are installed --- 0.93s /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 0.90s /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Check which packages are installed --- 0.89s /WORKDIR/git-bond_options_rewrite83usesr3/.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.82s /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 0.82s /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:27 Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tests_auto_gateway.yml:3 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.64s /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.55s /WORKDIR/git-bond_options_rewrite83usesr3/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Set up veth as managed by NetworkManager -------------------------------- 0.54s /WORKDIR/git-bond_options_rewrite83usesr3/tests/playbooks/tasks/manage_test_interface.yml:35 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---