# 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_rewritens_ox7wj/.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_rewritens_ox7wj/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_rewritens_ox7wj/tests/tests_auto_gateway_nm.yml:6 Monday 12 February 2024 22:58:09 +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_rewritens_ox7wj/tests/tests_auto_gateway_nm.yml:9 Monday 12 February 2024 22:58:10 +0000 (0:00:00.858) 0:00:00.869 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/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_rewritens_ox7wj/tests/tasks/el_repo_setup.yml:3 Monday 12 February 2024 22:58:10 +0000 (0:00:00.011) 0:00:00.881 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/tasks/el_repo_setup.yml:17 Monday 12 February 2024 22:58:11 +0000 (0:00:00.370) 0:00:01.252 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/tasks/el_repo_setup.yml:22 Monday 12 February 2024 22:58:11 +0000 (0:00:00.251) 0:00:01.504 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/tasks/el_repo_setup.yml:26 Monday 12 February 2024 22:58:11 +0000 (0:00:00.013) 0:00:01.517 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/tasks/el_repo_setup.yml:51 Monday 12 February 2024 22:58:11 +0000 (0:00:00.008) 0:00:01.525 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/tasks/enable_epel.yml:8 Monday 12 February 2024 22:58:11 +0000 (0:00:00.021) 0:00:01.547 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/tasks/enable_epel.yml:24 Monday 12 February 2024 22:58:11 +0000 (0:00:00.007) 0:00:01.555 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/tasks/enable_epel.yml:30 Monday 12 February 2024 22:58:11 +0000 (0:00:00.007) 0:00:01.562 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/tasks/enable_epel.yml:35 Monday 12 February 2024 22:58:11 +0000 (0:00:00.007) 0:00:01.569 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/tasks/enable_epel.yml:40 Monday 12 February 2024 22:58:11 +0000 (0:00:00.006) 0:00:01.576 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/tests_auto_gateway_nm.yml:11 Monday 12 February 2024 22:58:11 +0000 (0:00:00.007) 0:00:01.584 ******* 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_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:3 Monday 12 February 2024 22:58:11 +0000 (0:00:00.015) 0:00:01.599 ******* ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:9 Monday 12 February 2024 22:58:12 +0000 (0:00:00.633) 0:00:02.233 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 22:58:12 +0000 (0:00:00.022) 0:00:02.256 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 22:58:12 +0000 (0:00:00.010) 0:00:02.266 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003451", "end": "2024-02-12 22:58:12.424819", "rc": 0, "start": "2024-02-12 22:58:12.421368" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 22:58:12 +0000 (0:00:00.251) 0:00:02.517 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 22:58:12 +0000 (0:00:00.011) 0:00:02.528 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:11 Monday 12 February 2024 22:58:12 +0000 (0:00:00.009) 0:00:02.538 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 12 February 2024 22:58:12 +0000 (0:00:00.024) 0:00:02.562 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 12 February 2024 22:58:12 +0000 (0:00:00.007) 0:00:02.569 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 12 February 2024 22:58:12 +0000 (0:00:00.007) 0:00:02.577 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 22:58:12 +0000 (0:00:00.010) 0:00:02.588 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 22:58:12 +0000 (0:00:00.010) 0:00:02.598 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003565", "end": "2024-02-12 22:58:12.700587", "rc": 0, "start": "2024-02-12 22:58:12.697022" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 22:58:12 +0000 (0:00:00.196) 0:00:02.794 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 22:58:12 +0000 (0:00:00.011) 0:00:02.806 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 12 February 2024 22:58:12 +0000 (0:00:00.011) 0:00:02.817 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:27 Monday 12 February 2024 22:58:14 +0000 (0:00:02.049) 0:00:04.866 ******* 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.017077", "end": "2024-02-12 22:58:14.989191", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-12 22:58:14.972114" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003955", "end": "2024-02-12 22:58:15.215766", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-12 22:58:15.211811" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003816", "end": "2024-02-12 22:58:15.404032", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-12 22:58:15.400216" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:35 Monday 12 February 2024 22:58:15 +0000 (0:00:00.632) 0:00:05.499 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.067417", "end": "2024-02-12 22:58:15.666402", "rc": 0, "start": "2024-02-12 22:58:15.598985" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:43 Monday 12 February 2024 22:58:15 +0000 (0:00:00.261) 0:00:05.760 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 12 February 2024 22:58:15 +0000 (0:00:00.010) 0:00:05.771 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 12 February 2024 22:58:15 +0000 (0:00:00.009) 0:00:05.780 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 12 February 2024 22:58:15 +0000 (0:00:00.008) 0:00:05.789 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 12 February 2024 22:58:15 +0000 (0:00:00.015) 0:00:05.805 ******* 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_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:15 Monday 12 February 2024 22:58:15 +0000 (0:00:00.009) 0:00:05.814 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/assert_device_present.yml:3 Monday 12 February 2024 22:58:15 +0000 (0:00:00.024) 0:00:05.838 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 22:58:15 +0000 (0:00:00.011) 0:00:05.849 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707778694.9836814, "block_size": 4096, "blocks": 0, "ctime": 1707778694.9836814, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22913, "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": 1707778694.9836814, "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_rewritens_ox7wj/tests/playbooks/tasks/assert_device_present.yml:5 Monday 12 February 2024 22:58:15 +0000 (0:00:00.194) 0:00:06.043 ******* 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_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:17 Monday 12 February 2024 22:58:15 +0000 (0:00:00.011) 0:00:06.055 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 22:58:15 +0000 (0:00:00.009) 0:00:06.065 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/.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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 22:58:16 +0000 (0:00:00.016) 0:00:06.081 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 22:58:16 +0000 (0:00:00.018) 0:00:06.100 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 22:58:16 +0000 (0:00:00.012) 0:00:06.112 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 22:58:16 +0000 (0:00:00.010) 0:00:06.123 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 22:58:17 +0000 (0:00:01.607) 0:00:07.730 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 22:58:18 +0000 (0:00:01.174) 0:00:08.905 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 22:58:18 +0000 (0:00:00.022) 0:00:08.927 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 22:58:18 +0000 (0:00:00.022) 0:00:08.949 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 22:58:18 +0000 (0:00:00.023) 0:00:08.973 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 22:58:18 +0000 (0:00:00.059) 0:00:09.032 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 22:58:18 +0000 (0:00:00.032) 0:00:09.064 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 22:58:19 +0000 (0:00:00.023) 0:00:09.088 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 22:58:19 +0000 (0:00:00.062) 0:00:09.151 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 22:58:19 +0000 (0:00:00.582) 0:00:09.733 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 22:58:19 +0000 (0:00:00.033) 0:00:09.767 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 22:58:19 +0000 (0:00:00.018) 0:00:09.785 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 22:58:19 +0000 (0:00:00.017) 0:00:09.803 ******* 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, 845c8bf9-b9fd-4d06-ae9f-e128726c7955 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 845c8bf9-b9fd-4d06-ae9f-e128726c7955 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 22:58:20 +0000 (0:00:00.761) 0:00:10.564 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 22:58:20 +0000 (0:00:00.023) 0:00:10.587 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 845c8bf9-b9fd-4d06-ae9f-e128726c7955", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 845c8bf9-b9fd-4d06-ae9f-e128726c7955 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 22:58:20 +0000 (0:00:00.021) 0:00:10.609 ******* 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, 845c8bf9-b9fd-4d06-ae9f-e128726c7955\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 845c8bf9-b9fd-4d06-ae9f-e128726c7955 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 845c8bf9-b9fd-4d06-ae9f-e128726c7955", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 845c8bf9-b9fd-4d06-ae9f-e128726c7955 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 22:58:20 +0000 (0:00:00.025) 0:00:10.634 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 22:58:20 +0000 (0:00:00.021) 0:00:10.655 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:42 Monday 12 February 2024 22:58:20 +0000 (0:00:00.304) 0:00:10.959 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/assert_device_present.yml:3 Monday 12 February 2024 22:58:20 +0000 (0:00:00.041) 0:00:11.001 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 22:58:20 +0000 (0:00:00.026) 0:00:11.028 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707778694.9836814, "block_size": 4096, "blocks": 0, "ctime": 1707778694.9836814, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22913, "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": 1707778694.9836814, "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_rewritens_ox7wj/tests/playbooks/tasks/assert_device_present.yml:5 Monday 12 February 2024 22:58:21 +0000 (0:00:00.201) 0:00:11.229 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:44 Monday 12 February 2024 22:58:21 +0000 (0:00:00.020) 0:00:11.249 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 12 February 2024 22:58:21 +0000 (0:00:00.065) 0:00:11.315 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/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_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 12 February 2024 22:58:21 +0000 (0:00:00.031) 0:00:11.346 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 12 February 2024 22:58:21 +0000 (0:00:00.019) 0:00:11.365 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 12 February 2024 22:58:21 +0000 (0:00:00.213) 0:00:11.579 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 12 February 2024 22:58:21 +0000 (0:00:00.023) 0:00:11.602 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.062648", "end": "2024-02-12 22:58:21.793036", "rc": 0, "start": "2024-02-12 22:58:21.730388" } 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_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 12 February 2024 22:58:21 +0000 (0:00:00.294) 0:00:11.897 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 12 February 2024 22:58:21 +0000 (0:00:00.021) 0:00:11.918 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 12 February 2024 22:58:21 +0000 (0:00:00.018) 0:00:11.937 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 12 February 2024 22:58:21 +0000 (0:00:00.022) 0:00:11.959 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 12 February 2024 22:58:21 +0000 (0:00:00.018) 0:00:11.978 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 12 February 2024 22:58:21 +0000 (0:00:00.021) 0:00:11.999 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 12 February 2024 22:58:21 +0000 (0:00:00.026) 0:00:12.026 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 12 February 2024 22:58:21 +0000 (0:00:00.022) 0:00:12.049 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:48 Monday 12 February 2024 22:58:21 +0000 (0:00:00.022) 0:00:12.071 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003797", "end": "2024-02-12 22:58:22.178318", "rc": 0, "start": "2024-02-12 22:58:22.174521" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.119 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.119 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_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:52 Monday 12 February 2024 22:58:22 +0000 (0:00:00.209) 0:00:12.280 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:58 Monday 12 February 2024 22:58:22 +0000 (0:00:00.021) 0:00:12.301 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003669", "end": "2024-02-12 22:58:22.405838", "rc": 0, "start": "2024-02-12 22:58:22.402169" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:62 Monday 12 February 2024 22:58:22 +0000 (0:00:00.206) 0:00:12.508 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:69 Monday 12 February 2024 22:58:22 +0000 (0:00:00.046) 0:00:12.554 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 22:58:22 +0000 (0:00:00.020) 0:00:12.575 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/.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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 22:58:22 +0000 (0:00:00.034) 0:00:12.610 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 22:58:22 +0000 (0:00:00.034) 0:00:12.645 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 22:58:22 +0000 (0:00:00.023) 0:00:12.668 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 22:58:22 +0000 (0:00:00.027) 0:00:12.696 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 22:58:24 +0000 (0:00:01.536) 0:00:14.233 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 22:58:25 +0000 (0:00:00.988) 0:00:15.221 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 22:58:25 +0000 (0:00:00.022) 0:00:15.243 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 22:58:25 +0000 (0:00:00.022) 0:00:15.266 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 22:58:25 +0000 (0:00:00.030) 0:00:15.296 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 22:58:25 +0000 (0:00:00.060) 0:00:15.356 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 22:58:25 +0000 (0:00:00.026) 0:00:15.382 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 22:58:25 +0000 (0:00:00.029) 0:00:15.412 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 22:58:25 +0000 (0:00:00.075) 0:00:15.488 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 22:58:25 +0000 (0:00:00.494) 0:00:15.983 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 22:58:25 +0000 (0:00:00.061) 0:00:16.044 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 22:58:26 +0000 (0:00:00.035) 0:00:16.080 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 22:58:26 +0000 (0:00:00.026) 0:00:16.106 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 22:58:26 +0000 (0:00:00.448) 0:00:16.555 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 22:58:26 +0000 (0:00:00.022) 0:00:16.577 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 22:58:26 +0000 (0:00:00.022) 0:00:16.600 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 22:58:26 +0000 (0:00:00.021) 0:00:16.622 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 22:58:26 +0000 (0:00:00.022) 0:00:16.644 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:81 Monday 12 February 2024 22:58:26 +0000 (0:00:00.219) 0:00:16.864 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 12 February 2024 22:58:26 +0000 (0:00:00.050) 0:00:16.914 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 12 February 2024 22:58:26 +0000 (0:00:00.019) 0:00:16.933 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 12 February 2024 22:58:26 +0000 (0:00:00.020) 0:00:16.954 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 22:58:26 +0000 (0:00:00.038) 0:00:16.992 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 22:58:27 +0000 (0:00:00.087) 0:00:17.080 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003588", "end": "2024-02-12 22:58:27.186420", "rc": 0, "start": "2024-02-12 22:58:27.182832" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 22:58:27 +0000 (0:00:00.208) 0:00:17.288 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 22:58:27 +0000 (0:00:00.020) 0:00:17.309 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 12 February 2024 22:58:27 +0000 (0:00:00.020) 0:00:17.329 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:27 Monday 12 February 2024 22:58:28 +0000 (0:00:00.908) 0:00:18.237 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:35 Monday 12 February 2024 22:58:28 +0000 (0:00:00.026) 0:00:18.264 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:43 Monday 12 February 2024 22:58:28 +0000 (0:00:00.018) 0:00:18.282 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.017741", "end": "2024-02-12 22:58:28.402393", "rc": 0, "start": "2024-02-12 22:58:28.384652" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 12 February 2024 22:58:28 +0000 (0:00:00.227) 0:00:18.509 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 12 February 2024 22:58:28 +0000 (0:00:00.018) 0:00:18.528 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 12 February 2024 22:58:28 +0000 (0:00:00.018) 0:00:18.546 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 12 February 2024 22:58:28 +0000 (0:00:00.018) 0:00:18.565 ******* 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_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:85 Monday 12 February 2024 22:58:28 +0000 (0:00:00.018) 0:00:18.584 ******* ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:89 Monday 12 February 2024 22:58:28 +0000 (0:00:00.020) 0:00:18.604 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 12 February 2024 22:58:28 +0000 (0:00:00.047) 0:00:18.652 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 12 February 2024 22:58:28 +0000 (0:00:00.021) 0:00:18.673 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 12 February 2024 22:58:28 +0000 (0:00:00.018) 0:00:18.691 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 22:58:28 +0000 (0:00:00.030) 0:00:18.722 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 22:58:28 +0000 (0:00:00.062) 0:00:18.785 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003425", "end": "2024-02-12 22:58:28.897905", "rc": 0, "start": "2024-02-12 22:58:28.894480" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 22:58:28 +0000 (0:00:00.223) 0:00:19.008 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 22:58:28 +0000 (0:00:00.027) 0:00:19.036 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 12 February 2024 22:58:28 +0000 (0:00:00.021) 0:00:19.058 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:27 Monday 12 February 2024 22:58:29 +0000 (0:00:00.918) 0:00:19.977 ******* 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.013194", "end": "2024-02-12 22:58:30.094608", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-12 22:58:30.081414" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003580", "end": "2024-02-12 22:58:30.310707", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-12 22:58:30.307127" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.003683", "end": "2024-02-12 22:58:30.499055", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-12 22:58:30.495372" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:35 Monday 12 February 2024 22:58:30 +0000 (0:00:00.625) 0:00:20.603 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.021182", "end": "2024-02-12 22:58:30.725656", "rc": 0, "start": "2024-02-12 22:58:30.704474" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:43 Monday 12 February 2024 22:58:30 +0000 (0:00:00.228) 0:00:20.831 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 12 February 2024 22:58:30 +0000 (0:00:00.021) 0:00:20.853 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 12 February 2024 22:58:30 +0000 (0:00:00.020) 0:00:20.873 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 12 February 2024 22:58:30 +0000 (0:00:00.024) 0:00:20.897 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 12 February 2024 22:58:30 +0000 (0:00:00.031) 0:00:20.928 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 22:58:30 +0000 (0:00:00.021) 0:00:20.950 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/.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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 22:58:30 +0000 (0:00:00.053) 0:00:21.003 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 22:58:30 +0000 (0:00:00.034) 0:00:21.038 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 22:58:30 +0000 (0:00:00.022) 0:00:21.060 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 22:58:31 +0000 (0:00:00.024) 0:00:21.085 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 22:58:32 +0000 (0:00:01.531) 0:00:22.617 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 22:58:33 +0000 (0:00:00.997) 0:00:23.614 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 22:58:33 +0000 (0:00:00.022) 0:00:23.637 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 22:58:33 +0000 (0:00:00.024) 0:00:23.661 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 22:58:33 +0000 (0:00:00.022) 0:00:23.684 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 22:58:33 +0000 (0:00:00.050) 0:00:23.734 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 22:58:33 +0000 (0:00:00.023) 0:00:23.757 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 22:58:33 +0000 (0:00:00.022) 0:00:23.779 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 22:58:33 +0000 (0:00:00.032) 0:00:23.812 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 22:58:34 +0000 (0:00:00.402) 0:00:24.215 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 22:58:34 +0000 (0:00:00.035) 0:00:24.250 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 22:58:34 +0000 (0:00:00.019) 0:00:24.270 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 22:58:34 +0000 (0:00:00.019) 0:00:24.289 ******* 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, 230aa056-310a-4927-b62e-75091eeef360 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 230aa056-310a-4927-b62e-75091eeef360 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 22:58:34 +0000 (0:00:00.410) 0:00:24.700 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 22:58:34 +0000 (0:00:00.022) 0:00:24.722 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 230aa056-310a-4927-b62e-75091eeef360", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 230aa056-310a-4927-b62e-75091eeef360 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 22:58:34 +0000 (0:00:00.021) 0:00:24.743 ******* 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, 230aa056-310a-4927-b62e-75091eeef360\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 230aa056-310a-4927-b62e-75091eeef360 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 230aa056-310a-4927-b62e-75091eeef360", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 230aa056-310a-4927-b62e-75091eeef360 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 22:58:34 +0000 (0:00:00.051) 0:00:24.795 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 22:58:34 +0000 (0:00:00.024) 0:00:24.820 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:110 Monday 12 February 2024 22:58:34 +0000 (0:00:00.212) 0:00:25.033 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/assert_device_present.yml:3 Monday 12 February 2024 22:58:35 +0000 (0:00:00.046) 0:00:25.080 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 22:58:35 +0000 (0:00:00.031) 0:00:25.111 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707778710.0852692, "block_size": 4096, "blocks": 0, "ctime": 1707778710.0852692, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23499, "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": 1707778710.0852692, "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_rewritens_ox7wj/tests/playbooks/tasks/assert_device_present.yml:5 Monday 12 February 2024 22:58:35 +0000 (0:00:00.217) 0:00:25.329 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:112 Monday 12 February 2024 22:58:35 +0000 (0:00:00.021) 0:00:25.351 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 12 February 2024 22:58:35 +0000 (0:00:00.047) 0:00:25.398 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/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_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 12 February 2024 22:58:35 +0000 (0:00:00.030) 0:00:25.429 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 12 February 2024 22:58:35 +0000 (0:00:00.022) 0:00:25.452 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 12 February 2024 22:58:35 +0000 (0:00:00.221) 0:00:25.673 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 12 February 2024 22:58:35 +0000 (0:00:00.022) 0:00:25.695 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022593", "end": "2024-02-12 22:58:35.820386", "rc": 0, "start": "2024-02-12 22:58:35.797793" } 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_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 12 February 2024 22:58:35 +0000 (0:00:00.230) 0:00:25.926 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 12 February 2024 22:58:35 +0000 (0:00:00.056) 0:00:25.982 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 12 February 2024 22:58:35 +0000 (0:00:00.025) 0:00:26.008 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 12 February 2024 22:58:35 +0000 (0:00:00.021) 0:00:26.030 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 12 February 2024 22:58:35 +0000 (0:00:00.019) 0:00:26.050 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 12 February 2024 22:58:35 +0000 (0:00:00.019) 0:00:26.069 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 12 February 2024 22:58:36 +0000 (0:00:00.024) 0:00:26.094 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 12 February 2024 22:58:36 +0000 (0:00:00.023) 0:00:26.118 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:116 Monday 12 February 2024 22:58:36 +0000 (0:00:00.022) 0:00:26.140 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003608", "end": "2024-02-12 22:58:36.253562", "rc": 0, "start": "2024-02-12 22:58:36.249954" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.119 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.119 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_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:120 Monday 12 February 2024 22:58:36 +0000 (0:00:00.218) 0:00:26.359 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:126 Monday 12 February 2024 22:58:36 +0000 (0:00:00.023) 0:00:26.382 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004186", "end": "2024-02-12 22:58:36.498063", "rc": 0, "start": "2024-02-12 22:58:36.493877" } STDOUT: ::1 dev lo proto kernel metric 256 pref medium 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:130 Monday 12 February 2024 22:58:36 +0000 (0:00:00.219) 0:00:26.601 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:137 Monday 12 February 2024 22:58:36 +0000 (0:00:00.023) 0:00:26.624 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 22:58:36 +0000 (0:00:00.021) 0:00:26.646 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/.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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 22:58:36 +0000 (0:00:00.037) 0:00:26.684 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 22:58:36 +0000 (0:00:00.034) 0:00:26.718 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 22:58:36 +0000 (0:00:00.022) 0:00:26.741 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 22:58:36 +0000 (0:00:00.027) 0:00:26.768 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 22:58:38 +0000 (0:00:01.535) 0:00:28.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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 22:58:39 +0000 (0:00:00.989) 0:00:29.293 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 22:58:39 +0000 (0:00:00.022) 0:00:29.315 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 22:58:39 +0000 (0:00:00.024) 0:00:29.340 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 22:58:39 +0000 (0:00:00.023) 0:00:29.363 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 22:58:39 +0000 (0:00:00.058) 0:00:29.421 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 22:58:39 +0000 (0:00:00.040) 0:00:29.462 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 22:58:39 +0000 (0:00:00.027) 0:00:29.489 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 22:58:39 +0000 (0:00:00.035) 0:00:29.524 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 22:58:39 +0000 (0:00:00.394) 0:00:29.919 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 22:58:39 +0000 (0:00:00.035) 0:00:29.955 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 22:58:39 +0000 (0:00:00.020) 0:00:29.975 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 22:58:39 +0000 (0:00:00.019) 0:00:29.994 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 22:58:40 +0000 (0:00:00.444) 0:00:30.439 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 22:58:40 +0000 (0:00:00.025) 0:00:30.464 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 22:58:40 +0000 (0:00:00.023) 0:00:30.488 ******* 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_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 22:58:40 +0000 (0:00:00.060) 0:00:30.549 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 22:58:40 +0000 (0:00:00.023) 0:00:30.572 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:149 Monday 12 February 2024 22:58:40 +0000 (0:00:00.218) 0:00:30.791 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 12 February 2024 22:58:40 +0000 (0:00:00.051) 0:00:30.843 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 12 February 2024 22:58:40 +0000 (0:00:00.020) 0:00:30.863 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 12 February 2024 22:58:40 +0000 (0:00:00.018) 0:00:30.882 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/show_interfaces.yml:3 Monday 12 February 2024 22:58:40 +0000 (0:00:00.029) 0:00:30.911 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 February 2024 22:58:40 +0000 (0:00:00.028) 0:00:30.940 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003435", "end": "2024-02-12 22:58:41.045056", "rc": 0, "start": "2024-02-12 22:58:41.041621" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 February 2024 22:58:41 +0000 (0:00:00.208) 0:00:31.148 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/show_interfaces.yml:5 Monday 12 February 2024 22:58:41 +0000 (0:00:00.022) 0:00:31.170 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 12 February 2024 22:58:41 +0000 (0:00:00.022) 0:00:31.192 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:27 Monday 12 February 2024 22:58:42 +0000 (0:00:00.915) 0:00:32.107 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:35 Monday 12 February 2024 22:58:42 +0000 (0:00:00.031) 0:00:32.139 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:43 Monday 12 February 2024 22:58:42 +0000 (0:00:00.020) 0:00:32.160 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012872", "end": "2024-02-12 22:58:42.300008", "rc": 0, "start": "2024-02-12 22:58:42.287136" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:49 Monday 12 February 2024 22:58:42 +0000 (0:00:00.249) 0:00:32.410 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 12 February 2024 22:58:42 +0000 (0:00:00.048) 0:00:32.459 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:60 Monday 12 February 2024 22:58:42 +0000 (0:00:00.020) 0:00:32.479 ******* 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_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:65 Monday 12 February 2024 22:58:42 +0000 (0:00:00.018) 0:00:32.497 ******* 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_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:153 Monday 12 February 2024 22:58:42 +0000 (0:00:00.018) 0:00:32.516 ******* included: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/check_network_dns.yml:6 Monday 12 February 2024 22:58:42 +0000 (0:00:00.047) 0:00:32.563 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip 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\ntype -p resolvectl && resolvectl\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.390469", "end": "2024-02-12 22:58:43.058307", "rc": 0, "start": "2024-02-12 22:58:42.667838" } 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 valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:f5:be:33:22:e7 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.42.119/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3105sec preferred_lft 3105sec inet6 fe80::cf5:beff:fe33:22e7/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.119 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.119 metric 100 RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2584 0 --:--:-- --:--:-- --:--:-- 2584 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1197 0 --:--:-- --:--:-- --:--:-- 1197 PLAY RECAP ********************************************************************* sut : ok=127 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Monday 12 February 2024 22:58:43 +0000 (0:00:00.627) 0:00:33.190 ******* =============================================================================== Install iproute --------------------------------------------------------- 2.05s /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.17s /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-bond_options_rewritens_ox7wj/.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.99s /WORKDIR/git-bond_options_rewritens_ox7wj/.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.99s /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 0.92s /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.92s /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 0.91s /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-bond_options_rewritens_ox7wj/tests/tests_auto_gateway_nm.yml:6 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.76s /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Gathering Facts --------------------------------------------------------- 0.63s /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.63s /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:27 Verify DNS and ping still work ------------------------------------------ 0.63s /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/check_network_dns.yml:6 Create veth interface veth0 --------------------------------------------- 0.63s /WORKDIR/git-bond_options_rewritens_ox7wj/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.58s /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.49s /WORKDIR/git-bond_options_rewritens_ox7wj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---