# 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-weekly-cihkq_0in0/.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_route_device_nm.yml ******************************************** 2 plays in /WORKDIR/git-weekly-cihkq_0in0/tests/tests_route_device_nm.yml PLAY [Run playbook 'playbooks/tests_route_device.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/tests_route_device_nm.yml:6 Saturday 17 February 2024 17:59:43 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cihkq_0in0/tests/tests_route_device_nm.yml:9 Saturday 17 February 2024 17:59:44 +0000 (0:00:00.999) 0:00:01.011 ***** included: /WORKDIR/git-weekly-cihkq_0in0/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-weekly-cihkq_0in0/tests/tasks/el_repo_setup.yml:3 Saturday 17 February 2024 17:59:44 +0000 (0:00:00.011) 0:00:01.023 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/tasks/el_repo_setup.yml:17 Saturday 17 February 2024 17:59:44 +0000 (0:00:00.403) 0:00:01.426 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/tasks/el_repo_setup.yml:22 Saturday 17 February 2024 17:59:44 +0000 (0:00:00.286) 0:00:01.713 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/tasks/el_repo_setup.yml:26 Saturday 17 February 2024 17:59:44 +0000 (0:00:00.013) 0:00:01.726 ***** 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-weekly-cihkq_0in0/tests/tasks/el_repo_setup.yml:51 Saturday 17 February 2024 17:59:44 +0000 (0:00:00.007) 0:00:01.734 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/tasks/enable_epel.yml:8 Saturday 17 February 2024 17:59:44 +0000 (0:00:00.021) 0:00:01.756 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/tasks/enable_epel.yml:24 Saturday 17 February 2024 17:59:44 +0000 (0:00:00.007) 0:00:01.763 ***** 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-weekly-cihkq_0in0/tests/tasks/enable_epel.yml:30 Saturday 17 February 2024 17:59:44 +0000 (0:00:00.007) 0:00:01.771 ***** 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-weekly-cihkq_0in0/tests/tasks/enable_epel.yml:35 Saturday 17 February 2024 17:59:44 +0000 (0:00:00.007) 0:00:01.778 ***** 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-weekly-cihkq_0in0/tests/tasks/enable_epel.yml:40 Saturday 17 February 2024 17:59:44 +0000 (0:00:00.007) 0:00:01.786 ***** 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-weekly-cihkq_0in0/tests/tests_route_device_nm.yml:11 Saturday 17 February 2024 17:59:44 +0000 (0:00:00.007) 0:00:01.793 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Test output device of routes] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:3 Saturday 17 February 2024 17:59:44 +0000 (0:00:00.015) 0:00:01.809 ***** ok: [sut] TASK [Set type and interface0] ************************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:11 Saturday 17 February 2024 17:59:45 +0000 (0:00:00.767) 0:00:02.576 ***** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Show interfaces] ********************************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:15 Saturday 17 February 2024 17:59:45 +0000 (0:00:00.009) 0:00:02.586 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 17:59:45 +0000 (0:00:00.010) 0:00:02.597 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 17:59:45 +0000 (0:00:00.010) 0:00:02.607 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003588", "end": "2024-02-17 17:59:45.877937", "rc": 0, "start": "2024-02-17 17:59:45.874349" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 17:59:45 +0000 (0:00:00.286) 0:00:02.894 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 17:59:45 +0000 (0:00:00.010) 0:00:02.904 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Manage test interface] *************************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:17 Saturday 17 February 2024 17:59:45 +0000 (0:00:00.011) 0:00:02.916 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 17 February 2024 17:59:45 +0000 (0:00:00.013) 0:00:02.930 ***** 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-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 17 February 2024 17:59:45 +0000 (0:00:00.008) 0:00:02.938 ***** 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-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 17 February 2024 17:59:45 +0000 (0:00:00.007) 0:00:02.946 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 17:59:45 +0000 (0:00:00.011) 0:00:02.957 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 17:59:45 +0000 (0:00:00.010) 0:00:02.967 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003589", "end": "2024-02-17 17:59:46.182544", "rc": 0, "start": "2024-02-17 17:59:46.178955" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 17:59:46 +0000 (0:00:00.231) 0:00:03.199 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 17:59:46 +0000 (0:00:00.010) 0:00:03.209 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 17 February 2024 17:59:46 +0000 (0:00:00.010) 0:00:03.219 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:27 Saturday 17 February 2024 18:01:48 +0000 (0:02:02.180) 0:02:05.399 ***** ok: [sut] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.007478", "end": "2024-02-17 18:01:48.620488", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-02-17 18:01:48.613010" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003918", "end": "2024-02-17 18:01:48.900018", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-02-17 18:01:48.896100" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.003912", "end": "2024-02-17 18:01:49.123515", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-02-17 18:01:49.119603" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:35 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.741) 0:02:06.141 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.022178", "end": "2024-02-17 18:01:49.374529", "rc": 0, "start": "2024-02-17 18:01:49.352351" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:43 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.251) 0:02:06.392 ***** 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 ethtest0] ***************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:49 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.009) 0:02:06.402 ***** 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 ethtest0] ***************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.009) 0:02:06.411 ***** 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 ethtest0] ******************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:60 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.008) 0:02:06.419 ***** 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 ethtest0] ******************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.009) 0:02:06.428 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Assert device is present] ************************************************ task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:21 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.007) 0:02:06.436 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.012) 0:02:06.449 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.010) 0:02:06.460 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708192908.6171837, "block_size": 4096, "blocks": 0, "ctime": 1708192908.6171837, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34573, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1708192908.6171837, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 - 'ethtest0'] *********************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.226) 0:02:06.686 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface1] ********************************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:23 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.010) 0:02:06.697 ***** ok: [sut] => { "ansible_facts": { "interface": "ethtest1" }, "changed": false } TASK [Show interfaces] ********************************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:26 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.009) 0:02:06.706 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.012) 0:02:06.719 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.010) 0:02:06.729 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003542", "end": "2024-02-17 18:01:49.942713", "rc": 0, "start": "2024-02-17 18:01:49.939171" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.229) 0:02:06.958 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.010) 0:02:06.969 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Manage test interface] *************************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:28 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.009) 0:02:06.978 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:3 Saturday 17 February 2024 18:01:49 +0000 (0:00:00.013) 0:02:06.992 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:8 Saturday 17 February 2024 18:01:50 +0000 (0:00:00.007) 0:02:07.000 ***** 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-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:13 Saturday 17 February 2024 18:01:50 +0000 (0:00:00.007) 0:02:07.007 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 18:01:50 +0000 (0:00:00.011) 0:02:07.018 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 18:01:50 +0000 (0:00:00.010) 0:02:07.029 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003596", "end": "2024-02-17 18:01:50.243865", "rc": 0, "start": "2024-02-17 18:01:50.240269" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 18:01:50 +0000 (0:00:00.231) 0:02:07.260 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 18:01:50 +0000 (0:00:00.013) 0:02:07.274 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:16 Saturday 17 February 2024 18:01:50 +0000 (0:00:00.010) 0:02:07.284 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: iproute TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:27 Saturday 17 February 2024 18:03:52 +0000 (0:02:01.942) 0:04:09.226 ***** ok: [sut] => (item=ip link add ethtest1 type veth peer name peerethtest1) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "ethtest1", "type", "veth", "peer", "name", "peerethtest1" ], "delta": "0:00:00.005565", "end": "2024-02-17 18:03:52.445602", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-02-17 18:03:52.440037" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.003841", "end": "2024-02-17 18:03:52.728436", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-02-17 18:03:52.724595" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004113", "end": "2024-02-17 18:03:52.952120", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-02-17 18:03:52.948007" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:35 Saturday 17 February 2024 18:03:52 +0000 (0:00:00.743) 0:04:09.969 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.023016", "end": "2024-02-17 18:03:53.203958", "rc": 0, "start": "2024-02-17 18:03:53.180942" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:43 Saturday 17 February 2024 18:03:53 +0000 (0:00:00.253) 0:04:10.223 ***** 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 ethtest1] ***************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:49 Saturday 17 February 2024 18:03:53 +0000 (0:00:00.009) 0:04:10.233 ***** 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 ethtest1] ***************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:54 Saturday 17 February 2024 18:03:53 +0000 (0:00:00.009) 0:04:10.242 ***** 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 ethtest1] ******************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:60 Saturday 17 February 2024 18:03:53 +0000 (0:00:00.009) 0:04:10.252 ***** 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 ethtest1] ******************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:65 Saturday 17 February 2024 18:03:53 +0000 (0:00:00.009) 0:04:10.261 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Assert device is present] ************************************************ task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:32 Saturday 17 February 2024 18:03:53 +0000 (0:00:00.009) 0:04:10.270 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 17 February 2024 18:03:53 +0000 (0:00:00.014) 0:04:10.284 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 18:03:53 +0000 (0:00:00.010) 0:04:10.295 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708193032.4439368, "block_size": 4096, "blocks": 0, "ctime": 1708193032.4439368, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest1", "lnk_target": "../../devices/virtual/net/ethtest1", "mode": "0777", "mtime": 1708193032.4439368, "nlink": 1, "path": "/sys/class/net/ethtest1", "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 - 'ethtest1'] *********************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 17 February 2024 18:03:53 +0000 (0:00:00.230) 0:04:10.525 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 February 2024 18:03:53 +0000 (0:00:00.011) 0:04:10.536 ***** included: /WORKDIR/git-weekly-cihkq_0in0/.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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 February 2024 18:03:53 +0000 (0:00:00.016) 0:04:10.552 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 February 2024 18:03:53 +0000 (0:00:00.018) 0:04:10.571 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 February 2024 18:03:53 +0000 (0:00:00.012) 0:04:10.583 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 February 2024 18:03:53 +0000 (0:00:00.011) 0:04:10.594 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 February 2024 18:03:55 +0000 (0:00:02.293) 0:04:12.888 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 February 2024 18:03:56 +0000 (0:00:00.990) 0:04:13.879 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 February 2024 18:03:56 +0000 (0:00:00.022) 0:04:13.901 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 February 2024 18:03:56 +0000 (0:00:00.021) 0:04:13.922 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 17 February 2024 18:03:56 +0000 (0:00:00.021) 0:04:13.944 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 17 February 2024 18:03:57 +0000 (0:00:00.073) 0:04:14.017 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 17 February 2024 18:03:57 +0000 (0:00:00.022) 0:04:14.040 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 17 February 2024 18:03:57 +0000 (0:00:00.022) 0:04:14.063 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 17 February 2024 18:03:57 +0000 (0:00:00.035) 0:04:14.098 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 17 February 2024 18:03:57 +0000 (0:00:00.621) 0:04:14.720 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 17 February 2024 18:03:57 +0000 (0:00:00.035) 0:04:14.755 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 17 February 2024 18:03:57 +0000 (0:00:00.020) 0:04:14.775 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 17 February 2024 18:03:57 +0000 (0:00:00.018) 0:04:14.794 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/24", "2001:db8::2/32" ], "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.10.64", "prefix": 26 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db6::4", "prefix": 128 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" }, { "autoconnect": false, "interface_name": "ethtest1", "ip": { "address": [ "198.51.100.6/24", "2001:db8::4/32" ], "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.12.128", "prefix": 26 } ] }, "name": "ethtest1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [005] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, df2aefd2-9260-4332-93d0-2b24ccfd8c96 [006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, a2a9ff4a-ee3a-417f-a749-dcae985b1034 [007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, df2aefd2-9260-4332-93d0-2b24ccfd8c96 (not-active) [008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, a2a9ff4a-ee3a-417f-a749-dcae985b1034 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 17 February 2024 18:03:58 +0000 (0:00:00.665) 0:04:15.459 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 17 February 2024 18:03:58 +0000 (0:00:00.022) 0:04:15.482 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, df2aefd2-9260-4332-93d0-2b24ccfd8c96", "[006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, a2a9ff4a-ee3a-417f-a749-dcae985b1034", "[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, df2aefd2-9260-4332-93d0-2b24ccfd8c96 (not-active)", "[008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, a2a9ff4a-ee3a-417f-a749-dcae985b1034 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 17 February 2024 18:03:58 +0000 (0:00:00.022) 0:04:15.505 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "interface_name": "ethtest0", "ip": { "address": [ "198.51.100.3/24", "2001:db8::2/32" ], "route": [ { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.10.64", "prefix": 26 }, { "gateway": "2001:db8::1", "metric": 2, "network": "2001:db6::4", "prefix": 128 } ] }, "name": "ethtest0", "state": "up", "type": "ethernet" }, { "autoconnect": false, "interface_name": "ethtest1", "ip": { "address": [ "198.51.100.6/24", "2001:db8::4/32" ], "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.12.128", "prefix": 26 } ] }, "name": "ethtest1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, df2aefd2-9260-4332-93d0-2b24ccfd8c96\n[006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, a2a9ff4a-ee3a-417f-a749-dcae985b1034\n[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, df2aefd2-9260-4332-93d0-2b24ccfd8c96 (not-active)\n[008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, a2a9ff4a-ee3a-417f-a749-dcae985b1034 (not-active)\n", "stderr_lines": [ "[005] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, df2aefd2-9260-4332-93d0-2b24ccfd8c96", "[006] #1, state:up persistent_state:present, 'ethtest1': add connection ethtest1, a2a9ff4a-ee3a-417f-a749-dcae985b1034", "[007] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, df2aefd2-9260-4332-93d0-2b24ccfd8c96 (not-active)", "[008] #1, state:up persistent_state:present, 'ethtest1': up connection ethtest1, a2a9ff4a-ee3a-417f-a749-dcae985b1034 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 17 February 2024 18:03:58 +0000 (0:00:00.023) 0:04:15.528 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 17 February 2024 18:03:58 +0000 (0:00:00.022) 0:04:15.550 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the IPv4 routes from the route table main] *************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:73 Saturday 17 February 2024 18:03:58 +0000 (0:00:00.330) 0:04:15.881 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-4", "route" ], "delta": "0:00:00.003929", "end": "2024-02-17 18:03:59.097345", "rc": 0, "start": "2024-02-17 18:03:59.093416" } STDOUT: default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.59 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.59 metric 100 198.51.10.64/26 via 198.51.100.6 dev ethtest0 proto static metric 4 198.51.12.128/26 via 198.51.100.1 dev ethtest1 proto static metric 2 198.51.100.0/24 dev ethtest0 proto kernel scope link src 198.51.100.3 metric 103 198.51.100.0/24 dev ethtest1 proto kernel scope link src 198.51.100.6 metric 104 TASK [Assert that the route table main contains the specified IPv4 routes] ***** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:78 Saturday 17 February 2024 18:03:59 +0000 (0:00:00.242) 0:04:16.124 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the IPv6 routes from the route table main] *************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:89 Saturday 17 February 2024 18:03:59 +0000 (0:00:00.024) 0:04:16.148 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003956", "end": "2024-02-17 18:03:59.363166", "rc": 0, "start": "2024-02-17 18:03:59.359210" } STDOUT: 2001:db6::4 via 2001:db8::1 dev ethtest0 proto static metric 2 pref medium 2001:db8::/32 dev ethtest0 proto kernel metric 103 pref medium 2001:db8::/32 dev ethtest1 proto kernel metric 104 pref medium fe80::/64 dev peerethtest0 proto kernel metric 256 pref medium fe80::/64 dev peerethtest1 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev ethtest0 proto kernel metric 1024 pref medium fe80::/64 dev ethtest1 proto kernel metric 1024 pref medium TASK [Assert that the route table main contains the specified IPv6 routes] ***** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:94 Saturday 17 February 2024 18:03:59 +0000 (0:00:00.266) 0:04:16.414 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the interface1 MAC address] ****************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:99 Saturday 17 February 2024 18:03:59 +0000 (0:00:00.024) 0:04:16.438 ***** ok: [sut] => { "changed": false, "cmd": [ "cat", "/sys/class/net/ethtest1/address" ], "delta": "0:00:00.003384", "end": "2024-02-17 18:03:59.653800", "rc": 0, "start": "2024-02-17 18:03:59.650416" } STDOUT: 5a:4c:87:aa:63:17 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 February 2024 18:03:59 +0000 (0:00:00.242) 0:04:16.681 ***** included: /WORKDIR/git-weekly-cihkq_0in0/.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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 February 2024 18:03:59 +0000 (0:00:00.035) 0:04:16.716 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 February 2024 18:03:59 +0000 (0:00:00.033) 0:04:16.749 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 February 2024 18:03:59 +0000 (0:00:00.022) 0:04:16.772 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 February 2024 18:03:59 +0000 (0:00:00.022) 0:04:16.795 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 February 2024 18:04:02 +0000 (0:00:02.228) 0:04:19.023 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 February 2024 18:04:02 +0000 (0:00:00.811) 0:04:19.835 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 February 2024 18:04:02 +0000 (0:00:00.023) 0:04:19.858 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 February 2024 18:04:02 +0000 (0:00:00.022) 0:04:19.880 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 17 February 2024 18:04:02 +0000 (0:00:00.022) 0:04:19.902 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 17 February 2024 18:04:02 +0000 (0:00:00.080) 0:04:19.983 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 17 February 2024 18:04:03 +0000 (0:00:00.022) 0:04:20.006 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 17 February 2024 18:04:03 +0000 (0:00:00.024) 0:04:20.031 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 17 February 2024 18:04:03 +0000 (0:00:00.034) 0:04:20.065 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 17 February 2024 18:04:03 +0000 (0:00:00.456) 0:04:20.522 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 17 February 2024 18:04:03 +0000 (0:00:00.035) 0:04:20.558 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 17 February 2024 18:04:03 +0000 (0:00:00.019) 0:04:20.578 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 17 February 2024 18:04:03 +0000 (0:00:00.019) 0:04:20.597 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "address": [ "198.51.100.4/24", "2001:db8::6/32" ], "route": [ { "gateway": "198.51.100.102", "metric": 4, "network": "198.58.10.64", "prefix": 26 } ] }, "mac": "5a:4c:87:aa:63:17", "name": "ethtest1", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'ethtest1': update connection ethtest1, a2a9ff4a-ee3a-417f-a749-dcae985b1034 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 17 February 2024 18:04:04 +0000 (0:00:00.446) 0:04:21.044 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 17 February 2024 18:04:04 +0000 (0:00:00.023) 0:04:21.067 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'ethtest1': update connection ethtest1, a2a9ff4a-ee3a-417f-a749-dcae985b1034" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 17 February 2024 18:04:04 +0000 (0:00:00.023) 0:04:21.090 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "address": [ "198.51.100.4/24", "2001:db8::6/32" ], "route": [ { "gateway": "198.51.100.102", "metric": 4, "network": "198.58.10.64", "prefix": 26 } ] }, "mac": "5a:4c:87:aa:63:17", "name": "ethtest1", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'ethtest1': update connection ethtest1, a2a9ff4a-ee3a-417f-a749-dcae985b1034\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'ethtest1': update connection ethtest1, a2a9ff4a-ee3a-417f-a749-dcae985b1034" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 17 February 2024 18:04:04 +0000 (0:00:00.022) 0:04:21.113 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 17 February 2024 18:04:04 +0000 (0:00:00.022) 0:04:21.136 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that the warning about specifying the route without the output device is logged for initscripts provider] *** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:122 Saturday 17 February 2024 18:04:04 +0000 (0:00:00.246) 0:04:21.382 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [Assert that no warning is logged for nm provider] ************************ task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:129 Saturday 17 February 2024 18:04:04 +0000 (0:00:00.019) 0:04:21.401 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Bring down test devices and profiles] ************************************ task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:140 Saturday 17 February 2024 18:04:04 +0000 (0:00:00.051) 0:04:21.452 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 17 February 2024 18:04:04 +0000 (0:00:00.040) 0:04:21.493 ***** included: /WORKDIR/git-weekly-cihkq_0in0/.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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 17 February 2024 18:04:04 +0000 (0:00:00.036) 0:04:21.529 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 17 February 2024 18:04:04 +0000 (0:00:00.032) 0:04:21.562 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 17 February 2024 18:04:04 +0000 (0:00:00.023) 0:04:21.585 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 17 February 2024 18:04:04 +0000 (0:00:00.022) 0:04:21.608 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 17 February 2024 18:04:06 +0000 (0:00:02.192) 0:04:23.800 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 17 February 2024 18:04:07 +0000 (0:00:00.813) 0:04:24.614 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 17 February 2024 18:04:07 +0000 (0:00:00.023) 0:04:24.637 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 17 February 2024 18:04:07 +0000 (0:00:00.022) 0:04:24.659 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 17 February 2024 18:04:07 +0000 (0:00:00.023) 0:04:24.682 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Saturday 17 February 2024 18:04:07 +0000 (0:00:00.053) 0:04:24.736 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Saturday 17 February 2024 18:04:07 +0000 (0:00:00.049) 0:04:24.785 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Saturday 17 February 2024 18:04:07 +0000 (0:00:00.023) 0:04:24.809 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Saturday 17 February 2024 18:04:07 +0000 (0:00:00.034) 0:04:24.843 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Saturday 17 February 2024 18:04:08 +0000 (0:00:00.457) 0:04:25.301 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Saturday 17 February 2024 18:04:08 +0000 (0:00:00.035) 0:04:25.336 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Saturday 17 February 2024 18:04:08 +0000 (0:00:00.019) 0:04:25.356 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Saturday 17 February 2024 18:04:08 +0000 (0:00:00.018) 0:04:25.375 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent", "state": "down" }, { "name": "ethtest1", "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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 17 February 2024 18:04:09 +0000 (0:00:00.625) 0:04:26.000 ***** 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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Saturday 17 February 2024 18:04:09 +0000 (0:00:00.023) 0:04:26.023 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Saturday 17 February 2024 18:04:09 +0000 (0:00:00.022) 0:04:26.046 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent", "state": "down" }, { "name": "ethtest1", "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-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 17 February 2024 18:04:09 +0000 (0:00:00.022) 0:04:26.068 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Saturday 17 February 2024 18:04:09 +0000 (0:00:00.022) 0:04:26.091 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Delete interface1] ******************************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:151 Saturday 17 February 2024 18:04:09 +0000 (0:00:00.246) 0:04:26.338 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/delete_interface.yml:3 Saturday 17 February 2024 18:04:09 +0000 (0:00:00.034) 0:04:26.373 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.022876", "end": "2024-02-17 18:04:09.610082", "rc": 0, "start": "2024-02-17 18:04:09.587206" } TASK [Assert interface1 is absent] ********************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:153 Saturday 17 February 2024 18:04:09 +0000 (0:00:00.294) 0:04:26.667 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 February 2024 18:04:09 +0000 (0:00:00.035) 0:04:26.702 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 18:04:09 +0000 (0:00:00.031) 0:04:26.733 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 February 2024 18:04:09 +0000 (0:00:00.242) 0:04:26.975 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface0] ********************************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:155 Saturday 17 February 2024 18:04:10 +0000 (0:00:00.021) 0:04:26.997 ***** ok: [sut] => { "ansible_facts": { "interface": "ethtest0" }, "changed": false } TASK [Delete interface0] ******************************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:158 Saturday 17 February 2024 18:04:10 +0000 (0:00:00.020) 0:04:27.018 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/delete_interface.yml:3 Saturday 17 February 2024 18:04:10 +0000 (0:00:00.033) 0:04:27.051 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.008511", "end": "2024-02-17 18:04:10.273880", "rc": 0, "start": "2024-02-17 18:04:10.265369" } TASK [Assert interface0 is absent] ********************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:160 Saturday 17 February 2024 18:04:10 +0000 (0:00:00.252) 0:04:27.304 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 February 2024 18:04:10 +0000 (0:00:00.034) 0:04:27.338 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 18:04:10 +0000 (0:00:00.031) 0:04:27.369 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 February 2024 18:04:10 +0000 (0:00:00.237) 0:04:27.607 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert interface0 profile and interface1 profile are absent] ************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:162 Saturday 17 February 2024 18:04:10 +0000 (0:00:00.053) 0:04:27.660 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=ethtest0) included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=ethtest1) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 February 2024 18:04:10 +0000 (0:00:00.040) 0:04:27.700 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 February 2024 18:04:10 +0000 (0:00:00.034) 0:04:27.734 ***** 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-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 February 2024 18:04:10 +0000 (0:00:00.022) 0:04:27.757 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 February 2024 18:04:11 +0000 (0:00:00.245) 0:04:28.003 ***** 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-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 February 2024 18:04:11 +0000 (0:00:00.019) 0:04:28.023 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.020633", "end": "2024-02-17 18:04:11.254866", "rc": 1, "start": "2024-02-17 18:04:11.234233" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 February 2024 18:04:11 +0000 (0:00:00.258) 0:04:28.282 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 February 2024 18:04:11 +0000 (0:00:00.020) 0:04:28.303 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 February 2024 18:04:11 +0000 (0:00:00.021) 0:04:28.324 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest0] *************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 February 2024 18:04:11 +0000 (0:00:00.020) 0:04:28.344 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest0] ************************ task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 February 2024 18:04:11 +0000 (0:00:00.020) 0:04:28.365 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest0'] ************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 February 2024 18:04:11 +0000 (0:00:00.021) 0:04:28.386 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 February 2024 18:04:11 +0000 (0:00:00.021) 0:04:28.408 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 February 2024 18:04:11 +0000 (0:00:00.067) 0:04:28.475 ***** 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-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 February 2024 18:04:11 +0000 (0:00:00.021) 0:04:28.497 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 February 2024 18:04:11 +0000 (0:00:00.238) 0:04:28.736 ***** 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-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 February 2024 18:04:11 +0000 (0:00:00.019) 0:04:28.755 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest1 | grep /etc", "delta": "0:00:00.019611", "end": "2024-02-17 18:04:11.987582", "rc": 1, "start": "2024-02-17 18:04:11.967971" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 February 2024 18:04:12 +0000 (0:00:00.257) 0:04:29.013 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest1] *********************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 February 2024 18:04:12 +0000 (0:00:00.020) 0:04:29.033 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest1] ******************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 February 2024 18:04:12 +0000 (0:00:00.020) 0:04:29.054 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-ethtest1] *************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 February 2024 18:04:12 +0000 (0:00:00.019) 0:04:29.073 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-ethtest1] ************************ task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 February 2024 18:04:12 +0000 (0:00:00.020) 0:04:29.094 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'ethtest1'] ************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 February 2024 18:04:12 +0000 (0:00:00.020) 0:04:29.114 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:169 Saturday 17 February 2024 18:04:12 +0000 (0:00:00.021) 0:04:29.135 ***** included: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/check_network_dns.yml:6 Saturday 17 February 2024 18:04:12 +0000 (0:00:00.036) 0:04:29.172 ***** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.009089", "end": "2024-02-17 18:04:12.395068", "rc": 0, "start": "2024-02-17 18:04:12.385979" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:51:af:62:91:cf brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.9.59/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2104sec preferred_lft 2104sec inet6 fe80::6d62:e157:647b:30ac/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.9.59 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.59 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/check_network_dns.yml:24 Saturday 17 February 2024 18:04:12 +0000 (0:00:00.249) 0:04:29.422 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=106 changed=3 unreachable=0 failed=0 skipped=76 rescued=0 ignored=2 Saturday 17 February 2024 18:04:12 +0000 (0:00:00.083) 0:04:29.506 ***** =============================================================================== Install iproute ------------------------------------------------------- 122.18s /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute ------------------------------------------------------- 121.94s /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 2.29s /WORKDIR/git-weekly-cihkq_0in0/.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.23s /WORKDIR/git-weekly-cihkq_0in0/.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.19s /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.00s /WORKDIR/git-weekly-cihkq_0in0/tests/tests_route_device_nm.yml:6 -------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /WORKDIR/git-weekly-cihkq_0in0/.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.81s /WORKDIR/git-weekly-cihkq_0in0/.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.81s /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tests_route_device.yml:3 ------- Create veth interface ethtest1 ------------------------------------------ 0.74s /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:27 Create veth interface ethtest0 ------------------------------------------ 0.74s /WORKDIR/git-weekly-cihkq_0in0/tests/playbooks/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.67s /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.63s /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.62s /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.46s /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.46s /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.45s /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Gather the minimum subset of ansible_facts required by the network role test --- 0.40s /WORKDIR/git-weekly-cihkq_0in0/tests/tasks/el_repo_setup.yml:3 ---------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.33s /WORKDIR/git-weekly-cihkq_0in0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---