# 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_rewrite2y5gg2jj/.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_rewrite2y5gg2jj/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_rewrite2y5gg2jj/tests/tests_auto_gateway_nm.yml:6 Tuesday 06 February 2024 21:57:18 +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_rewrite2y5gg2jj/tests/tests_auto_gateway_nm.yml:9 Tuesday 06 February 2024 21:57:19 +0000 (0:00:00.879) 0:00:00.891 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/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_rewrite2y5gg2jj/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 21:57:19 +0000 (0:00:00.011) 0:00:00.903 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/tasks/el_repo_setup.yml:17 Tuesday 06 February 2024 21:57:19 +0000 (0:00:00.360) 0:00:01.263 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/tasks/el_repo_setup.yml:22 Tuesday 06 February 2024 21:57:19 +0000 (0:00:00.258) 0:00:01.521 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/tasks/el_repo_setup.yml:26 Tuesday 06 February 2024 21:57:19 +0000 (0:00:00.013) 0:00:01.535 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/tasks/el_repo_setup.yml:51 Tuesday 06 February 2024 21:57:19 +0000 (0:00:00.007) 0:00:01.542 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 21:57:19 +0000 (0:00:00.020) 0:00:01.563 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 21:57:20 +0000 (0:00:00.007) 0:00:01.570 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 21:57:20 +0000 (0:00:00.007) 0:00:01.578 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 21:57:20 +0000 (0:00:00.006) 0:00:01.585 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 21:57:20 +0000 (0:00:00.007) 0:00:01.592 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/tests_auto_gateway_nm.yml:11 Tuesday 06 February 2024 21:57:20 +0000 (0:00:00.006) 0:00:01.599 ****** 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_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:3 Tuesday 06 February 2024 21:57:20 +0000 (0:00:00.015) 0:00:01.614 ****** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:9 Tuesday 06 February 2024 21:57:20 +0000 (0:00:00.724) 0:00:02.339 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:57:20 +0000 (0:00:00.024) 0:00:02.363 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:57:20 +0000 (0:00:00.012) 0:00:02.375 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003693", "end": "2024-02-06 21:57:21.050028", "rc": 0, "start": "2024-02-06 21:57:21.046335" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:57:21 +0000 (0:00:00.263) 0:00:02.639 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:57:21 +0000 (0:00:00.010) 0:00:02.649 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:11 Tuesday 06 February 2024 21:57:21 +0000 (0:00:00.010) 0:00:02.660 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 21:57:21 +0000 (0:00:00.025) 0:00:02.686 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 21:57:21 +0000 (0:00:00.008) 0:00:02.695 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 21:57:21 +0000 (0:00:00.007) 0:00:02.702 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:57:21 +0000 (0:00:00.011) 0:00:02.714 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:57:21 +0000 (0:00:00.010) 0:00:02.724 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003941", "end": "2024-02-06 21:57:21.342446", "rc": 0, "start": "2024-02-06 21:57:21.338505" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:57:21 +0000 (0:00:00.209) 0:00:02.933 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:57:21 +0000 (0:00:00.010) 0:00:02.944 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 21:57:21 +0000 (0:00:00.011) 0:00:02.956 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 21:57:23 +0000 (0:00:02.352) 0:00:05.308 ****** 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.057205", "end": "2024-02-06 21:57:23.981812", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-06 21:57:23.924607" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004208", "end": "2024-02-06 21:57:24.239624", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-06 21:57:24.235416" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004190", "end": "2024-02-06 21:57:24.438809", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-06 21:57:24.434619" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 21:57:24 +0000 (0:00:00.720) 0:00:06.028 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.201092", "end": "2024-02-06 21:57:24.849765", "rc": 0, "start": "2024-02-06 21:57:24.648673" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 21:57:24 +0000 (0:00:00.413) 0:00:06.442 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 21:57:24 +0000 (0:00:00.009) 0:00:06.451 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 21:57:24 +0000 (0:00:00.009) 0:00:06.460 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 21:57:24 +0000 (0:00:00.009) 0:00:06.470 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 21:57:24 +0000 (0:00:00.009) 0:00:06.479 ****** 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_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:15 Tuesday 06 February 2024 21:57:24 +0000 (0:00:00.008) 0:00:06.487 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:57:24 +0000 (0:00:00.024) 0:00:06.512 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:57:24 +0000 (0:00:00.011) 0:00:06.523 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707256643.9803178, "block_size": 4096, "blocks": 0, "ctime": 1707256643.9803178, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26388, "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": 1707256643.9803178, "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_rewrite2y5gg2jj/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:57:25 +0000 (0:00:00.202) 0:00:06.726 ****** 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_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:17 Tuesday 06 February 2024 21:57:25 +0000 (0:00:00.011) 0:00:06.737 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 21:57:25 +0000 (0:00:00.010) 0:00:06.747 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:57:25 +0000 (0:00:00.021) 0:00:06.769 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 21:57:25 +0000 (0:00:00.023) 0:00:06.792 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 21:57:25 +0000 (0:00:00.021) 0:00:06.814 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 21:57:25 +0000 (0:00:00.015) 0:00:06.829 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 21:57:27 +0000 (0:00:02.342) 0:00:09.172 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 21:57:28 +0000 (0:00:00.956) 0:00:10.128 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 21:57:28 +0000 (0:00:00.024) 0:00:10.153 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 21:57:28 +0000 (0:00:00.024) 0:00:10.177 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 21:57:28 +0000 (0:00:00.022) 0:00:10.199 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 21:57:28 +0000 (0:00:00.065) 0:00:10.265 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 21:57:28 +0000 (0:00:00.072) 0:00:10.337 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 21:57:28 +0000 (0:00:00.032) 0:00:10.370 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 21:57:28 +0000 (0:00:00.051) 0:00:10.421 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 21:57:29 +0000 (0:00:00.890) 0:00:11.312 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 21:57:29 +0000 (0:00:00.036) 0:00:11.348 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 21:57:29 +0000 (0:00:00.022) 0:00:11.370 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 21:57:29 +0000 (0:00:00.020) 0:00:11.390 ****** 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, c87d0335-c116-4bdb-9e2a-20ea875e01a8 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c87d0335-c116-4bdb-9e2a-20ea875e01a8 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 21:57:30 +0000 (0:00:00.918) 0:00:12.309 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 21:57:30 +0000 (0:00:00.022) 0:00:12.332 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c87d0335-c116-4bdb-9e2a-20ea875e01a8", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c87d0335-c116-4bdb-9e2a-20ea875e01a8 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 21:57:30 +0000 (0:00:00.022) 0:00:12.354 ****** 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, c87d0335-c116-4bdb-9e2a-20ea875e01a8\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c87d0335-c116-4bdb-9e2a-20ea875e01a8 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c87d0335-c116-4bdb-9e2a-20ea875e01a8", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c87d0335-c116-4bdb-9e2a-20ea875e01a8 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 21:57:30 +0000 (0:00:00.022) 0:00:12.376 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 21:57:30 +0000 (0:00:00.023) 0:00:12.400 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:42 Tuesday 06 February 2024 21:57:31 +0000 (0:00:00.379) 0:00:12.779 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:57:31 +0000 (0:00:00.070) 0:00:12.850 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:57:31 +0000 (0:00:00.060) 0:00:12.910 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707256643.9803178, "block_size": 4096, "blocks": 0, "ctime": 1707256643.9803178, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26388, "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": 1707256643.9803178, "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_rewrite2y5gg2jj/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:57:31 +0000 (0:00:00.212) 0:00:13.123 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:44 Tuesday 06 February 2024 21:57:31 +0000 (0:00:00.020) 0:00:13.143 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 21:57:31 +0000 (0:00:00.043) 0:00:13.187 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/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_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:57:31 +0000 (0:00:00.031) 0:00:13.218 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:57:31 +0000 (0:00:00.019) 0:00:13.238 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:57:31 +0000 (0:00:00.211) 0:00:13.450 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:57:31 +0000 (0:00:00.018) 0:00:13.469 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.110997", "end": "2024-02-06 21:57:32.194189", "rc": 0, "start": "2024-02-06 21:57:32.083192" } 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_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:57:32 +0000 (0:00:00.326) 0:00:13.796 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:57:32 +0000 (0:00:00.023) 0:00:13.819 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:57:32 +0000 (0:00:00.019) 0:00:13.838 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:57:32 +0000 (0:00:00.020) 0:00:13.858 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:57:32 +0000 (0:00:00.028) 0:00:13.887 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 21:57:32 +0000 (0:00:00.019) 0:00:13.906 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 21:57:32 +0000 (0:00:00.055) 0:00:13.962 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 21:57:32 +0000 (0:00:00.024) 0:00:13.986 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:48 Tuesday 06 February 2024 21:57:32 +0000 (0:00:00.023) 0:00:14.010 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003904", "end": "2024-02-06 21:57:32.634557", "rc": 0, "start": "2024-02-06 21:57:32.630653" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.5 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.5 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_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:52 Tuesday 06 February 2024 21:57:32 +0000 (0:00:00.224) 0:00:14.234 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:58 Tuesday 06 February 2024 21:57:32 +0000 (0:00:00.021) 0:00:14.256 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003940", "end": "2024-02-06 21:57:32.873323", "rc": 0, "start": "2024-02-06 21:57:32.869383" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:62 Tuesday 06 February 2024 21:57:32 +0000 (0:00:00.215) 0:00:14.471 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:69 Tuesday 06 February 2024 21:57:32 +0000 (0:00:00.021) 0:00:14.492 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 21:57:32 +0000 (0:00:00.020) 0:00:14.512 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:57:32 +0000 (0:00:00.033) 0:00:14.546 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 21:57:33 +0000 (0:00:00.032) 0:00:14.578 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 21:57:33 +0000 (0:00:00.021) 0:00:14.600 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 21:57:33 +0000 (0:00:00.021) 0:00:14.621 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 21:57:35 +0000 (0:00:02.180) 0:00:16.801 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 21:57:36 +0000 (0:00:00.818) 0:00:17.620 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 21:57:36 +0000 (0:00:00.023) 0:00:17.643 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 21:57:36 +0000 (0:00:00.023) 0:00:17.667 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 21:57:36 +0000 (0:00:00.024) 0:00:17.691 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 21:57:36 +0000 (0:00:00.053) 0:00:17.745 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 21:57:36 +0000 (0:00:00.023) 0:00:17.768 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 21:57:36 +0000 (0:00:00.023) 0:00:17.792 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 21:57:36 +0000 (0:00:00.038) 0:00:17.831 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 21:57:36 +0000 (0:00:00.418) 0:00:18.249 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 21:57:36 +0000 (0:00:00.033) 0:00:18.283 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 21:57:36 +0000 (0:00:00.019) 0:00:18.303 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 21:57:36 +0000 (0:00:00.019) 0:00:18.322 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 21:57:37 +0000 (0:00:00.467) 0:00:18.790 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 21:57:37 +0000 (0:00:00.028) 0:00:18.819 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 21:57:37 +0000 (0:00:00.025) 0:00:18.844 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 21:57:37 +0000 (0:00:00.033) 0:00:18.878 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 21:57:37 +0000 (0:00:00.060) 0:00:18.939 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:81 Tuesday 06 February 2024 21:57:37 +0000 (0:00:00.226) 0:00:19.166 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 21:57:37 +0000 (0:00:00.047) 0:00:19.214 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 21:57:37 +0000 (0:00:00.019) 0:00:19.233 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 21:57:37 +0000 (0:00:00.019) 0:00:19.253 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:57:37 +0000 (0:00:00.030) 0:00:19.283 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:57:37 +0000 (0:00:00.029) 0:00:19.313 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003727", "end": "2024-02-06 21:57:37.930238", "rc": 0, "start": "2024-02-06 21:57:37.926511" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:57:37 +0000 (0:00:00.214) 0:00:19.528 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:57:37 +0000 (0:00:00.020) 0:00:19.549 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 21:57:38 +0000 (0:00:00.020) 0:00:19.569 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 21:57:40 +0000 (0:00:02.223) 0:00:21.792 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 21:57:40 +0000 (0:00:00.031) 0:00:21.824 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 21:57:40 +0000 (0:00:00.055) 0:00:21.880 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.020860", "end": "2024-02-06 21:57:40.523488", "rc": 0, "start": "2024-02-06 21:57:40.502628" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 21:57:40 +0000 (0:00:00.246) 0:00:22.126 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 21:57:40 +0000 (0:00:00.022) 0:00:22.148 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 21:57:40 +0000 (0:00:00.020) 0:00:22.169 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 21:57:40 +0000 (0:00:00.020) 0:00:22.189 ****** 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_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:85 Tuesday 06 February 2024 21:57:40 +0000 (0:00:00.021) 0:00:22.210 ****** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:89 Tuesday 06 February 2024 21:57:40 +0000 (0:00:00.022) 0:00:22.232 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 21:57:40 +0000 (0:00:00.048) 0:00:22.281 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 21:57:40 +0000 (0:00:00.020) 0:00:22.301 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 21:57:40 +0000 (0:00:00.022) 0:00:22.324 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:57:40 +0000 (0:00:00.030) 0:00:22.355 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:57:40 +0000 (0:00:00.031) 0:00:22.386 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003800", "end": "2024-02-06 21:57:41.003856", "rc": 0, "start": "2024-02-06 21:57:41.000056" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:57:41 +0000 (0:00:00.217) 0:00:22.603 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:57:41 +0000 (0:00:00.060) 0:00:22.663 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 21:57:41 +0000 (0:00:00.022) 0:00:22.686 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 21:57:43 +0000 (0:00:02.223) 0:00:24.910 ****** 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.010264", "end": "2024-02-06 21:57:43.538079", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2024-02-06 21:57:43.527815" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003863", "end": "2024-02-06 21:57:43.789198", "item": "ip link set peerveth0 up", "rc": 0, "start": "2024-02-06 21:57:43.785335" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004164", "end": "2024-02-06 21:57:43.987478", "item": "ip link set veth0 up", "rc": 0, "start": "2024-02-06 21:57:43.983314" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.677) 0:00:25.587 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023323", "end": "2024-02-06 21:57:44.224661", "rc": 0, "start": "2024-02-06 21:57:44.201338" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.237) 0:00:25.825 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.020) 0:00:25.845 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.019) 0:00:25.865 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.019) 0:00:25.885 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.019) 0:00:25.905 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.019) 0:00:25.925 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.035) 0:00:25.961 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.033) 0:00:25.994 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.022) 0:00:26.017 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 21:57:44 +0000 (0:00:00.023) 0:00:26.041 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 21:57:46 +0000 (0:00:02.182) 0:00:28.224 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 21:57:47 +0000 (0:00:00.818) 0:00:29.043 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 21:57:47 +0000 (0:00:00.022) 0:00:29.066 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 21:57:47 +0000 (0:00:00.022) 0:00:29.088 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 21:57:47 +0000 (0:00:00.021) 0:00:29.110 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 21:57:47 +0000 (0:00:00.053) 0:00:29.163 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 21:57:47 +0000 (0:00:00.023) 0:00:29.187 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 21:57:47 +0000 (0:00:00.022) 0:00:29.209 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 21:57:47 +0000 (0:00:00.034) 0:00:29.243 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.406) 0:00:29.649 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.033) 0:00:29.683 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.019) 0:00:29.703 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.019) 0:00:29.722 ****** 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, e8d311e7-7d00-4428-a6ef-5b481b60146b [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e8d311e7-7d00-4428-a6ef-5b481b60146b (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.437) 0:00:30.159 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.022) 0:00:30.182 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e8d311e7-7d00-4428-a6ef-5b481b60146b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e8d311e7-7d00-4428-a6ef-5b481b60146b (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.058) 0:00:30.240 ****** 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, e8d311e7-7d00-4428-a6ef-5b481b60146b\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e8d311e7-7d00-4428-a6ef-5b481b60146b (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, e8d311e7-7d00-4428-a6ef-5b481b60146b", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, e8d311e7-7d00-4428-a6ef-5b481b60146b (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.027) 0:00:30.268 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.024) 0:00:30.292 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:110 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.221) 0:00:30.513 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:57:48 +0000 (0:00:00.049) 0:00:30.563 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.032) 0:00:30.595 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707256663.53181, "block_size": 4096, "blocks": 0, "ctime": 1707256663.53181, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26974, "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": 1707256663.53181, "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_rewrite2y5gg2jj/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.214) 0:00:30.810 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:112 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.021) 0:00:30.831 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.047) 0:00:30.879 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/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_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.031) 0:00:30.911 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.020) 0:00:30.931 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.248) 0:00:31.179 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.021) 0:00:31.201 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.022154", "end": "2024-02-06 21:57:49.838715", "rc": 0, "start": "2024-02-06 21:57:49.816561" } 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_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.237) 0:00:31.438 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.022) 0:00:31.461 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.019) 0:00:31.481 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.019) 0:00:31.501 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.019) 0:00:31.521 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.019) 0:00:31.540 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 21:57:49 +0000 (0:00:00.022) 0:00:31.563 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.031) 0:00:31.594 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:116 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.032) 0:00:31.627 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.003826", "end": "2024-02-06 21:57:50.245968", "rc": 0, "start": "2024-02-06 21:57:50.242142" } STDOUT: default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.5 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.5 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_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:120 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.217) 0:00:31.845 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:126 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.021) 0:00:31.866 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003904", "end": "2024-02-06 21:57:50.483707", "rc": 0, "start": "2024-02-06 21:57:50.479803" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:130 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.215) 0:00:32.082 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:137 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.022) 0:00:32.105 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.021) 0:00:32.126 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.065) 0:00:32.192 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.033) 0:00:32.226 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.022) 0:00:32.248 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 06 February 2024 21:57:50 +0000 (0:00:00.022) 0:00:32.271 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 06 February 2024 21:57:52 +0000 (0:00:02.185) 0:00:34.456 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.750) 0:00:35.206 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.022) 0:00:35.229 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.022) 0:00:35.252 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.022) 0:00:35.274 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.052) 0:00:35.327 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.022) 0:00:35.350 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.023) 0:00:35.373 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Tuesday 06 February 2024 21:57:53 +0000 (0:00:00.035) 0:00:35.409 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Tuesday 06 February 2024 21:57:54 +0000 (0:00:00.453) 0:00:35.863 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Tuesday 06 February 2024 21:57:54 +0000 (0:00:00.035) 0:00:35.898 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Tuesday 06 February 2024 21:57:54 +0000 (0:00:00.020) 0:00:35.918 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Tuesday 06 February 2024 21:57:54 +0000 (0:00:00.021) 0:00:35.940 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Tuesday 06 February 2024 21:57:54 +0000 (0:00:00.472) 0:00:36.412 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Tuesday 06 February 2024 21:57:54 +0000 (0:00:00.023) 0:00:36.435 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Tuesday 06 February 2024 21:57:54 +0000 (0:00:00.023) 0:00:36.458 ****** 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_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Tuesday 06 February 2024 21:57:54 +0000 (0:00:00.025) 0:00:36.483 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Tuesday 06 February 2024 21:57:54 +0000 (0:00:00.034) 0:00:36.518 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:149 Tuesday 06 February 2024 21:57:55 +0000 (0:00:00.225) 0:00:36.744 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 06 February 2024 21:57:55 +0000 (0:00:00.052) 0:00:36.796 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 06 February 2024 21:57:55 +0000 (0:00:00.024) 0:00:36.821 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 06 February 2024 21:57:55 +0000 (0:00:00.021) 0:00:36.843 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:57:55 +0000 (0:00:00.032) 0:00:36.875 ****** included: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:57:55 +0000 (0:00:00.068) 0:00:36.943 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003680", "end": "2024-02-06 21:57:55.562310", "rc": 0, "start": "2024-02-06 21:57:55.558630" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:57:55 +0000 (0:00:00.218) 0:00:37.162 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:57:55 +0000 (0:00:00.021) 0:00:37.183 ****** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 06 February 2024 21:57:55 +0000 (0:00:00.021) 0:00:37.205 ****** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:27 Tuesday 06 February 2024 21:57:57 +0000 (0:00:02.239) 0:00:39.444 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:35 Tuesday 06 February 2024 21:57:57 +0000 (0:00:00.030) 0:00:39.474 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:43 Tuesday 06 February 2024 21:57:57 +0000 (0:00:00.022) 0:00:39.497 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.015312", "end": "2024-02-06 21:57:58.129314", "rc": 0, "start": "2024-02-06 21:57:58.114002" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:49 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.238) 0:00:39.735 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:54 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.020) 0:00:39.756 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:60 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.021) 0:00:39.777 ****** 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_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:65 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.019) 0:00:39.797 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Tuesday 06 February 2024 21:57:58 +0000 (0:00:00.049) 0:00:39.846 ****** =============================================================================== Install iproute --------------------------------------------------------- 2.35s /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.34s /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.24s /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.22s /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.22s /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.19s /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.18s /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.18s /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.92s /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.89s /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Gathering Facts --------------------------------------------------------- 0.88s /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/tests_auto_gateway_nm.yml:6 --- fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /WORKDIR/git-bond_options_rewrite2y5gg2jj/.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.75s /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.72s /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface veth0 --------------------------------------------- 0.68s /WORKDIR/git-bond_options_rewrite2y5gg2jj/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.47s /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.47s /WORKDIR/git-bond_options_rewrite2y5gg2jj/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---