# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_network_state_nm.yml ******************************************* 2 plays in /WORKDIR/git-route_typefycom2fs/tests/tests_network_state_nm.yml PLAY [Run playbook 'playbooks/tests_network_state.yml' with nm as provider] **** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/tests_network_state_nm.yml:6 Monday 08 January 2024 14:26:47 +0000 (0:00:00.011) 0:00:00.011 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typefycom2fs/tests/tests_network_state_nm.yml:9 Monday 08 January 2024 14:26:47 +0000 (0:00:00.709) 0:00:00.721 ******** included: /WORKDIR/git-route_typefycom2fs/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-route_typefycom2fs/tests/tasks/el_repo_setup.yml:3 Monday 08 January 2024 14:26:47 +0000 (0:00:00.011) 0:00:00.732 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/el_repo_setup.yml:19 Monday 08 January 2024 14:26:48 +0000 (0:00:00.336) 0:00:01.069 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/el_repo_setup.yml:24 Monday 08 January 2024 14:26:48 +0000 (0:00:00.250) 0:00:01.320 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/el_repo_setup.yml:28 Monday 08 January 2024 14:26:48 +0000 (0:00:00.018) 0:00:01.339 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/el_repo_setup.yml:53 Monday 08 January 2024 14:26:48 +0000 (0:00:00.016) 0:00:01.355 ******** included: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:8 Monday 08 January 2024 14:26:48 +0000 (0:00:00.028) 0:00:01.384 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:24 Monday 08 January 2024 14:26:48 +0000 (0:00:00.233) 0:00:01.617 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:30 Monday 08 January 2024 14:26:48 +0000 (0:00:00.010) 0:00:01.628 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:35 Monday 08 January 2024 14:26:48 +0000 (0:00:00.010) 0:00:01.638 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.250994", "end": "2024-01-08 14:26:49.298047", "rc": 0, "start": "2024-01-08 14:26:49.047053" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tasks/enable_epel.yml:40 Monday 08 January 2024 14:26:49 +0000 (0:00:00.437) 0:00:02.075 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/tests_network_state_nm.yml:11 Monday 08 January 2024 14:26:49 +0000 (0:00:00.010) 0:00:02.086 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for configuring network using network state variable] *************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:3 Monday 08 January 2024 14:26:49 +0000 (0:00:00.011) 0:00:02.098 ******** ok: [sut] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:12 Monday 08 January 2024 14:26:49 +0000 (0:00:00.559) 0:00:02.657 ******** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:16 Monday 08 January 2024 14:26:49 +0000 (0:00:00.012) 0:00:02.670 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:26:49 +0000 (0:00:00.021) 0:00:02.691 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:26:49 +0000 (0:00:00.013) 0:00:02.704 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003536", "end": "2024-01-08 14:26:50.120300", "rc": 0, "start": "2024-01-08 14:26:50.116764" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:26:50 +0000 (0:00:00.191) 0:00:02.896 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:26:50 +0000 (0:00:00.014) 0:00:02.910 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:18 Monday 08 January 2024 14:26:50 +0000 (0:00:00.013) 0:00:02.924 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:26:50 +0000 (0:00:00.026) 0:00:02.951 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:26:50 +0000 (0:00:00.011) 0:00:02.962 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:26:50 +0000 (0:00:00.011) 0:00:02.974 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:26:50 +0000 (0:00:00.015) 0:00:02.989 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:26:50 +0000 (0:00:00.014) 0:00:03.003 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003257", "end": "2024-01-08 14:26:50.415213", "rc": 0, "start": "2024-01-08 14:26:50.411956" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:26:50 +0000 (0:00:00.188) 0:00:03.192 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:26:50 +0000 (0:00:00.015) 0:00:03.207 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:26:50 +0000 (0:00:00.012) 0:00:03.220 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 08 January 2024 14:26:53 +0000 (0:00:03.521) 0:00:06.742 ******** 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.013183", "end": "2024-01-08 14:26:54.174126", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2024-01-08 14:26:54.160943" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.004132", "end": "2024-01-08 14:26:54.404891", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2024-01-08 14:26:54.400759" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004795", "end": "2024-01-08 14:26:54.600529", "item": "ip link set ethtest0 up", "rc": 0, "start": "2024-01-08 14:26:54.595734" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 08 January 2024 14:26:54 +0000 (0:00:00.636) 0:00:07.379 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.023517", "end": "2024-01-08 14:26:54.814352", "rc": 0, "start": "2024-01-08 14:26:54.790835" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 08 January 2024 14:26:54 +0000 (0:00:00.240) 0:00:07.620 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 08 January 2024 14:26:54 +0000 (0:00:00.016) 0:00:07.636 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 08 January 2024 14:26:54 +0000 (0:00:00.013) 0:00:07.649 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:26:54 +0000 (0:00:00.016) 0:00:07.666 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 08 January 2024 14:26:54 +0000 (0:00:00.016) 0:00:07.682 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:22 Monday 08 January 2024 14:26:54 +0000 (0:00:00.011) 0:00:07.694 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:26:54 +0000 (0:00:00.025) 0:00:07.719 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:26:54 +0000 (0:00:00.034) 0:00:07.753 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704724014.1650217, "block_size": 4096, "blocks": 0, "ctime": 1704724014.1650217, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33138, "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": 1704724014.1650217, "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-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:26:55 +0000 (0:00:00.188) 0:00:07.942 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:24 Monday 08 January 2024 14:26:55 +0000 (0:00:00.014) 0:00:07.956 ******** ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:28 Monday 08 January 2024 14:26:55 +0000 (0:00:00.013) 0:00:07.970 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:26:55 +0000 (0:00:00.025) 0:00:07.995 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:26:55 +0000 (0:00:00.014) 0:00:08.010 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003706", "end": "2024-01-08 14:26:55.424704", "rc": 0, "start": "2024-01-08 14:26:55.420998" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:26:55 +0000 (0:00:00.191) 0:00:08.202 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:26:55 +0000 (0:00:00.015) 0:00:08.217 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:30 Monday 08 January 2024 14:26:55 +0000 (0:00:00.012) 0:00:08.229 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:3 Monday 08 January 2024 14:26:55 +0000 (0:00:00.027) 0:00:08.257 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:8 Monday 08 January 2024 14:26:55 +0000 (0:00:00.012) 0:00:08.269 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:13 Monday 08 January 2024 14:26:55 +0000 (0:00:00.011) 0:00:08.280 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:3 Monday 08 January 2024 14:26:55 +0000 (0:00:00.014) 0:00:08.295 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 08 January 2024 14:26:55 +0000 (0:00:00.015) 0:00:08.310 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003627", "end": "2024-01-08 14:26:55.723488", "rc": 0, "start": "2024-01-08 14:26:55.719861" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 08 January 2024 14:26:55 +0000 (0:00:00.191) 0:00:08.501 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/show_interfaces.yml:5 Monday 08 January 2024 14:26:55 +0000 (0:00:00.013) 0:00:08.515 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Monday 08 January 2024 14:26:55 +0000 (0:00:00.011) 0:00:08.527 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:24 Monday 08 January 2024 14:26:58 +0000 (0:00:03.058) 0:00:11.585 ******** 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.009558", "end": "2024-01-08 14:26:59.015185", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2024-01-08 14:26:59.005627" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.004024", "end": "2024-01-08 14:26:59.240866", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2024-01-08 14:26:59.236842" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004408", "end": "2024-01-08 14:26:59.428480", "item": "ip link set ethtest1 up", "rc": 0, "start": "2024-01-08 14:26:59.424072" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:33 Monday 08 January 2024 14:26:59 +0000 (0:00:00.620) 0:00:12.205 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.025429", "end": "2024-01-08 14:26:59.642831", "rc": 0, "start": "2024-01-08 14:26:59.617402" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:41 Monday 08 January 2024 14:26:59 +0000 (0:00:00.219) 0:00:12.425 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:48 Monday 08 January 2024 14:26:59 +0000 (0:00:00.019) 0:00:12.444 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:54 Monday 08 January 2024 14:26:59 +0000 (0:00:00.012) 0:00:12.457 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:61 Monday 08 January 2024 14:26:59 +0000 (0:00:00.011) 0:00:12.469 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:67 Monday 08 January 2024 14:26:59 +0000 (0:00:00.023) 0:00:12.493 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:34 Monday 08 January 2024 14:26:59 +0000 (0:00:00.013) 0:00:12.506 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:3 Monday 08 January 2024 14:26:59 +0000 (0:00:00.037) 0:00:12.543 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:26:59 +0000 (0:00:00.015) 0:00:12.559 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1704724019.0094857, "block_size": 4096, "blocks": 0, "ctime": 1704724019.0094857, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33724, "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": 1704724019.0094857, "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-route_typefycom2fs/tests/playbooks/tasks/assert_device_present.yml:5 Monday 08 January 2024 14:26:59 +0000 (0:00:00.188) 0:00:12.747 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:27:00 +0000 (0:00:00.014) 0:00:12.762 ******** included: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:27:00 +0000 (0:00:00.075) 0:00:12.837 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:27:00 +0000 (0:00:00.022) 0:00:12.860 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:27:00 +0000 (0:00:00.019) 0:00:12.879 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:27:00 +0000 (0:00:00.019) 0:00:12.899 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:27:01 +0000 (0:00:01.683) 0:00:14.582 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:27:03 +0000 (0:00:01.463) 0:00:16.045 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:27:03 +0000 (0:00:00.028) 0:00:16.074 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:27:03 +0000 (0:00:00.027) 0:00:16.102 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:27:03 +0000 (0:00:00.029) 0:00:16.131 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:27:03 +0000 (0:00:00.049) 0:00:16.180 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-nispor-1.2.10-1.el8.noarch", "Installed: nmstate-1.4.5-2.el8.x86_64", "Installed: python3-varlink-29.0.0-1.el8.noarch", "Installed: NetworkManager-config-server-1:1.40.16-14.el8.noarch", "Installed: nispor-1.2.10-1.el8.x86_64", "Installed: python3-libnmstate-1.4.5-2.el8.noarch" ] } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:27:09 +0000 (0:00:05.983) 0:00:22.164 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:27:09 +0000 (0:00:00.031) 0:00:22.195 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:27:09 +0000 (0:00:00.032) 0:00:22.228 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:27:10 +0000 (0:00:00.542) 0:00:22.771 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:27:10 +0000 (0:00:00.044) 0:00:22.815 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:27:10 +0000 (0:00:00.059) 0:00:22.874 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:27:10 +0000 (0:00:00.029) 0:00:22.904 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:27:10 +0000 (0:00:00.481) 0:00:23.385 ******** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:b0:41:6d:fd:2f", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::8b0:41ff:fe6d:fd2f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:B0:41:6D:FD:2F", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::946c:8aff:fefd:f0d0", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:6C:8A:FD:F0:D0", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::3455:f4da:8e2c:1", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "2E:C8:40:75:4F:74", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::c47:beff:fec9:59c6", "prefix-length": 64 } ], "enabled": true }, "mac-address": "0E:47:BE:C9:59:C6", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::140d:6dff:fe42:4cab", "prefix-length": 64 } ], "enabled": true }, "mac-address": "16:0D:6D:42:4C:AB", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [] } } } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:27:11 +0000 (0:00:00.810) 0:00:24.196 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:27:11 +0000 (0:00:00.033) 0:00:24.229 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:27:11 +0000 (0:00:00.053) 0:00:24.283 ******** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:b0:41:6d:fd:2f", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::8b0:41ff:fe6d:fd2f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:B0:41:6D:FD:2F", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::946c:8aff:fefd:f0d0", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:6C:8A:FD:F0:D0", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::3455:f4da:8e2c:1", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "2E:C8:40:75:4F:74", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::c47:beff:fec9:59c6", "prefix-length": 64 } ], "enabled": true }, "mac-address": "0E:47:BE:C9:59:C6", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::140d:6dff:fe42:4cab", "prefix-length": 64 } ], "enabled": true }, "mac-address": "16:0D:6D:42:4C:AB", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [] } } } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:27:11 +0000 (0:00:00.054) 0:00:24.337 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:75 Monday 08 January 2024 14:27:11 +0000 (0:00:00.283) 0:00:24.620 ******** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.477085", "end": "2024-01-08 14:27:12.506513", "rc": 0, "start": "2024-01-08 14:27:12.029428" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: [] running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::946c:8aff:fefd:f0d0 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 96:6C:8A:FD:F0:D0 mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2024-01-08 14:27:12,444 root DEBUG NetworkManager version 1.40.16 2024-01-08 14:27:12,446 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-08 14:27:12,446 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-08 14:27:12,446 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-08 14:27:12,448 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-08 14:27:12,449 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-08 14:27:12,449 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-08 14:27:12,451 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-08 14:27:12,452 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-08 14:27:12,452 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:81 Monday 08 January 2024 14:27:12 +0000 (0:00:00.708) 0:00:25.329 ******** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:01.477913", "end": "2024-01-08 14:27:14.218000", "rc": 0, "start": "2024-01-08 14:27:12.740087" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: [] running: - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: ethtest1 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.88 prefix-length: 24 dhcp: false ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::3455:f4da:8e2c:1 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: 2E:C8:40:75:4F:74 mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2024-01-08 14:27:13,155 root DEBUG NetworkManager version 1.40.16 2024-01-08 14:27:13,157 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-08 14:27:13,157 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-08 14:27:13,157 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-08 14:27:13,159 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-08 14:27:13,160 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-08 14:27:13,160 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-08 14:27:13,162 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-08 14:27:13,163 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-08 14:27:13,163 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the ethtest0 state configuration contains the specified settings] *** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:87 Monday 08 January 2024 14:27:14 +0000 (0:00:01.678) 0:00:27.007 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:96 Monday 08 January 2024 14:27:14 +0000 (0:00:00.025) 0:00:27.032 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:27:14 +0000 (0:00:00.024) 0:00:27.057 ******** included: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:27:14 +0000 (0:00:00.045) 0:00:27.102 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:27:14 +0000 (0:00:00.039) 0:00:27.142 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:27:14 +0000 (0:00:00.042) 0:00:27.184 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:27:14 +0000 (0:00:00.039) 0:00:27.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 [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:27:16 +0000 (0:00:01.572) 0:00:28.797 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:27:17 +0000 (0:00:01.311) 0:00:30.108 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:27:17 +0000 (0:00:00.030) 0:00:30.138 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:27:17 +0000 (0:00:00.028) 0:00:30.167 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:27:17 +0000 (0:00:00.062) 0:00:30.230 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:27:17 +0000 (0:00:00.050) 0:00:30.280 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:27:20 +0000 (0:00:03.047) 0:00:33.328 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:27:20 +0000 (0:00:00.028) 0:00:33.357 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:27:20 +0000 (0:00:00.031) 0:00:33.388 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:27:20 +0000 (0:00:00.354) 0:00:33.743 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:27:21 +0000 (0:00:00.054) 0:00:33.797 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:27:21 +0000 (0:00:00.029) 0:00:33.826 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:27:21 +0000 (0:00:00.026) 0:00:33.853 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:27:21 +0000 (0:00:00.345) 0:00:34.198 ******** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:b0:41:6d:fd:2f", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::8b0:41ff:fe6d:fd2f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:B0:41:6D:FD:2F", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::946c:8aff:fefd:f0d0", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:6C:8A:FD:F0:D0", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::3455:f4da:8e2c:1", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "2E:C8:40:75:4F:74", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::c47:beff:fec9:59c6", "prefix-length": 64 } ], "enabled": true }, "mac-address": "0E:47:BE:C9:59:C6", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::140d:6dff:fe42:4cab", "prefix-length": 64 } ], "enabled": true }, "mac-address": "16:0D:6D:42:4C:AB", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:27:22 +0000 (0:00:00.638) 0:00:34.836 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:27:22 +0000 (0:00:00.031) 0:00:34.868 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:27:22 +0000 (0:00:00.029) 0:00:34.897 ******** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0a:b0:41:6d:fd:2f", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::8b0:41ff:fe6d:fd2f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:B0:41:6D:FD:2F", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::946c:8aff:fefd:f0d0", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:6C:8A:FD:F0:D0", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::3455:f4da:8e2c:1", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "2E:C8:40:75:4F:74", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::c47:beff:fec9:59c6", "prefix-length": 64 } ], "enabled": true }, "mac-address": "0E:47:BE:C9:59:C6", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::140d:6dff:fe42:4cab", "prefix-length": 64 } ], "enabled": true }, "mac-address": "16:0D:6D:42:4C:AB", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:27:22 +0000 (0:00:00.035) 0:00:34.933 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:117 Monday 08 January 2024 14:27:22 +0000 (0:00:00.201) 0:00:35.134 ******** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.493232", "end": "2024-01-08 14:27:23.037092", "rc": 0, "start": "2024-01-08 14:27:22.543860" } STDOUT: --- dns-resolver: config: {} running: search: - us-east-1.aws.redhat.com server: - 10.29.169.13 - 10.29.170.12 - 10.2.32.1 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.12.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.12.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.12.89 prefix-length: 22 auto-dns: true auto-gateway: true auto-route-table-id: 0 auto-routes: true dhcp: true ipv6: enabled: true address: - ip: fe80::8b0:41ff:fe6d:fd2f prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0A:B0:41:6D:FD:2F mtu: 9001 wait-ip: any - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::946c:8aff:fefd:f0d0 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 96:6C:8A:FD:F0:D0 mtu: 1500 veth: peer: peerethtest0 wait-ip: any - name: ethtest1 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.88 prefix-length: 24 dhcp: false ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::3455:f4da:8e2c:1 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: 2E:C8:40:75:4F:74 mtu: 1500 veth: peer: peerethtest1 wait-ip: any - name: lo type: unknown state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 127.0.0.1 prefix-length: 8 ipv6: enabled: true address: - ip: ::1 prefix-length: 128 mac-address: 00:00:00:00:00:00 mtu: 65536 - name: peerethtest0 type: veth state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: false address: [] ipv6: enabled: true address: - ip: fe80::c47:beff:fec9:59c6 prefix-length: 64 mac-address: 0E:47:BE:C9:59:C6 mtu: 1500 veth: peer: ethtest0 - name: peerethtest1 type: veth state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: false address: [] ipv6: enabled: true address: - ip: fe80::140d:6dff:fe42:4cab prefix-length: 64 mac-address: 16:0D:6D:42:4C:AB mtu: 1500 veth: peer: ethtest1 STDERR: 2024-01-08 14:27:22,962 root DEBUG NetworkManager version 1.40.16 2024-01-08 14:27:22,964 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-08 14:27:22,964 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-08 14:27:22,964 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-08 14:27:22,966 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-08 14:27:22,967 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-08 14:27:22,968 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-08 14:27:22,970 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-08 14:27:22,970 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-08 14:27:22,970 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the route configuration contains the specified route] ******** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:123 Monday 08 January 2024 14:27:23 +0000 (0:00:00.725) 0:00:35.859 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 08 January 2024 14:27:23 +0000 (0:00:00.030) 0:00:35.889 ******** included: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 08 January 2024 14:27:23 +0000 (0:00:00.045) 0:00:35.935 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 08 January 2024 14:27:23 +0000 (0:00:00.037) 0:00:35.972 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 08 January 2024 14:27:23 +0000 (0:00:00.034) 0:00:36.006 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 08 January 2024 14:27:23 +0000 (0:00:00.033) 0:00:36.040 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 08 January 2024 14:27:24 +0000 (0:00:01.574) 0:00:37.614 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 08 January 2024 14:27:26 +0000 (0:00:01.345) 0:00:38.960 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 08 January 2024 14:27:26 +0000 (0:00:00.028) 0:00:38.988 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 08 January 2024 14:27:26 +0000 (0:00:00.028) 0:00:39.017 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 08 January 2024 14:27:26 +0000 (0:00:00.028) 0:00:39.046 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 08 January 2024 14:27:26 +0000 (0:00:00.048) 0:00:39.094 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 08 January 2024 14:27:29 +0000 (0:00:03.020) 0:00:42.115 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 08 January 2024 14:27:29 +0000 (0:00:00.029) 0:00:42.145 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 08 January 2024 14:27:29 +0000 (0:00:00.029) 0:00:42.174 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 08 January 2024 14:27:29 +0000 (0:00:00.351) 0:00:42.526 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 08 January 2024 14:27:29 +0000 (0:00:00.030) 0:00:42.557 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 08 January 2024 14:27:29 +0000 (0:00:00.026) 0:00:42.583 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 08 January 2024 14:27:29 +0000 (0:00:00.026) 0:00:42.610 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 08 January 2024 14:27:30 +0000 (0:00:00.368) 0:00:42.979 ******** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0a:b0:41:6d:fd:2f", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::8b0:41ff:fe6d:fd2f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:B0:41:6D:FD:2F", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::946c:8aff:fefd:f0d0", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:6C:8A:FD:F0:D0", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::3455:f4da:8e2c:1", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "2E:C8:40:75:4F:74", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::c47:beff:fec9:59c6", "prefix-length": 64 } ], "enabled": true }, "mac-address": "0E:47:BE:C9:59:C6", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::140d:6dff:fe42:4cab", "prefix-length": 64 } ], "enabled": true }, "mac-address": "16:0D:6D:42:4C:AB", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 08 January 2024 14:27:30 +0000 (0:00:00.671) 0:00:43.650 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 08 January 2024 14:27:30 +0000 (0:00:00.031) 0:00:43.682 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 08 January 2024 14:27:30 +0000 (0:00:00.034) 0:00:43.716 ******** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0a:b0:41:6d:fd:2f", "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [], "auto-dns": true, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "dhcp": true, "enabled": true }, "ipv6": { "address": [ { "ip": "fe80::8b0:41ff:fe6d:fd2f", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0A:B0:41:6D:FD:2F", "mtu": 9001, "name": "eth0", "state": "up", "type": "ethernet", "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.250", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "address": [ { "ip": "2001:db8::1:1", "prefix-length": 64 }, { "ip": "fe80::946c:8aff:fefd:f0d0", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "96:6C:8A:FD:F0:D0", "mtu": 1500, "name": "ethtest0", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest0" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [ { "ip": "192.168.122.88", "prefix-length": 24 } ], "dhcp": false, "enabled": true }, "ipv6": { "addr-gen-mode": "stable-privacy", "address": [ { "ip": "fe80::3455:f4da:8e2c:1", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "2E:C8:40:75:4F:74", "mtu": 1500, "name": "ethtest1", "state": "up", "type": "ethernet", "veth": { "peer": "peerethtest1" }, "wait-ip": "any" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "rx-gro": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true } }, "ipv4": { "address": [ { "ip": "127.0.0.1", "prefix-length": 8 } ], "enabled": true }, "ipv6": { "address": [ { "ip": "::1", "prefix-length": 128 } ], "enabled": true }, "mac-address": "00:00:00:00:00:00", "mtu": 65536, "name": "lo", "state": "up", "type": "unknown" }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::c47:beff:fec9:59c6", "prefix-length": 64 } ], "enabled": true }, "mac-address": "0E:47:BE:C9:59:C6", "mtu": 1500, "name": "peerethtest0", "state": "up", "type": "veth", "veth": { "peer": "ethtest0" } }, { "accept-all-mac-addresses": false, "ethtool": { "feature": { "highdma": true, "rx-checksum": true, "rx-gro": false, "rx-vlan-hw-parse": true, "tx-generic-segmentation": true, "tx-tcp-segmentation": true, "tx-vlan-hw-insert": true } }, "ipv4": { "address": [], "enabled": false }, "ipv6": { "address": [ { "ip": "fe80::140d:6dff:fe42:4cab", "prefix-length": 64 } ], "enabled": true }, "mac-address": "16:0D:6D:42:4C:AB", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [ { "destination": "192.0.2.100/30", "metric": 150, "next-hop-address": "192.168.122.250", "next-hop-interface": "ethtest0", "table-id": 254 } ] } } } } TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 08 January 2024 14:27:31 +0000 (0:00:00.045) 0:00:43.762 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:146 Monday 08 January 2024 14:27:31 +0000 (0:00:00.202) 0:00:43.964 ******** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.495073", "end": "2024-01-08 14:27:31.872778", "rc": 0, "start": "2024-01-08 14:27:31.377705" } STDOUT: --- dns-resolver: config: search: - example.com - example.org server: - 2001:4860:4860::8888 running: search: - example.com - example.org server: - 2001:4860:4860::8888 route-rules: config: [] routes: config: - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 running: - destination: 2001:db8::/64 metric: 101 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.12.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.12.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 101 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.12.89 prefix-length: 22 auto-dns: true auto-gateway: true auto-route-table-id: 0 auto-routes: true dhcp: true ipv6: enabled: true address: - ip: fe80::8b0:41ff:fe6d:fd2f prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0A:B0:41:6D:FD:2F mtu: 9001 wait-ip: any - name: ethtest0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.250 prefix-length: 24 dhcp: false ipv6: enabled: true address: - ip: 2001:db8::1:1 prefix-length: 64 - ip: fe80::946c:8aff:fefd:f0d0 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 96:6C:8A:FD:F0:D0 mtu: 1500 veth: peer: peerethtest0 wait-ip: any - name: ethtest1 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: true address: - ip: 192.168.122.88 prefix-length: 24 dhcp: false ipv6: enabled: true addr-gen-mode: stable-privacy address: - ip: fe80::3455:f4da:8e2c:1 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: 2E:C8:40:75:4F:74 mtu: 1500 veth: peer: peerethtest1 wait-ip: any - name: lo type: unknown state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 127.0.0.1 prefix-length: 8 ipv6: enabled: true address: - ip: ::1 prefix-length: 128 mac-address: 00:00:00:00:00:00 mtu: 65536 - name: peerethtest0 type: veth state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: false address: [] ipv6: enabled: true address: - ip: fe80::c47:beff:fec9:59c6 prefix-length: 64 mac-address: 0E:47:BE:C9:59:C6 mtu: 1500 veth: peer: ethtest0 - name: peerethtest1 type: veth state: up accept-all-mac-addresses: false ethtool: feature: highdma: true rx-checksum: true rx-gro: false rx-vlan-hw-parse: true tx-generic-segmentation: true tx-tcp-segmentation: true tx-vlan-hw-insert: true ipv4: enabled: false address: [] ipv6: enabled: true address: - ip: fe80::140d:6dff:fe42:4cab prefix-length: 64 mac-address: 16:0D:6D:42:4C:AB mtu: 1500 veth: peer: ethtest1 STDERR: 2024-01-08 14:27:31,797 root DEBUG NetworkManager version 1.40.16 2024-01-08 14:27:31,799 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2024-01-08 14:27:31,799 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2024-01-08 14:27:31,799 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2024-01-08 14:27:31,801 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2024-01-08 14:27:31,802 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2024-01-08 14:27:31,802 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2024-01-08 14:27:31,804 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2024-01-08 14:27:31,805 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2024-01-08 14:27:31,805 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the DNS configuration from the file `/run/NetworkManager/no-stub-resolv.conf`] *** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:152 Monday 08 January 2024 14:27:31 +0000 (0:00:00.698) 0:00:44.662 ******** ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:01.003234", "end": "2024-01-08 14:27:33.076515", "rc": 0, "start": "2024-01-08 14:27:32.073281" } STDOUT: # Generated by NetworkManager search example.com example.org testing-farm nameserver 2001:4860:4860::8888 TASK [Assert that the nmstatectl contains the specified DNS configuration] ***** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:158 Monday 08 January 2024 14:27:33 +0000 (0:00:01.202) 0:00:45.865 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the file `/run/NetworkManager/no-stub-resolv.conf` contains the specified DNS configuration] *** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:166 Monday 08 January 2024 14:27:33 +0000 (0:00:00.056) 0:00:45.921 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:176 Monday 08 January 2024 14:27:33 +0000 (0:00:00.027) 0:00:45.949 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/delete_interface.yml:3 Monday 08 January 2024 14:27:33 +0000 (0:00:00.048) 0:00:45.997 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.014216", "end": "2024-01-08 14:27:33.418545", "rc": 0, "start": "2024-01-08 14:27:33.404329" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:178 Monday 08 January 2024 14:27:33 +0000 (0:00:00.216) 0:00:46.213 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:27:33 +0000 (0:00:00.047) 0:00:46.261 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:27:33 +0000 (0:00:00.035) 0:00:46.296 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:27:33 +0000 (0:00:00.195) 0:00:46.492 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:180 Monday 08 January 2024 14:27:33 +0000 (0:00:00.025) 0:00:46.518 ******** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:184 Monday 08 January 2024 14:27:33 +0000 (0:00:00.025) 0:00:46.543 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/delete_interface.yml:3 Monday 08 January 2024 14:27:33 +0000 (0:00:00.081) 0:00:46.625 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.012298", "end": "2024-01-08 14:27:34.048114", "rc": 0, "start": "2024-01-08 14:27:34.035816" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:186 Monday 08 January 2024 14:27:34 +0000 (0:00:00.217) 0:00:46.842 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 08 January 2024 14:27:34 +0000 (0:00:00.049) 0:00:46.892 ******** included: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 08 January 2024 14:27:34 +0000 (0:00:00.035) 0:00:46.927 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 08 January 2024 14:27:34 +0000 (0:00:00.196) 0:00:47.123 ******** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=107 changed=4 unreachable=0 failed=0 skipped=51 rescued=0 ignored=0 Monday 08 January 2024 14:27:34 +0000 (0:00:00.012) 0:00:47.136 ******** =============================================================================== linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 5.98s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 Install iproute --------------------------------------------------------- 3.52s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.06s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 3.05s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 3.02s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:40 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Get the ethtest1 state configuration ------------------------------------ 1.68s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:81 ---- linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.46s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.35s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Get the DNS configuration from the file `/run/NetworkManager/no-stub-resolv.conf` --- 1.20s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:152 --- linux-system-roles.network : Configure networking state ----------------- 0.81s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 Get the route configuration --------------------------------------------- 0.73s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:117 --- Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-route_typefycom2fs/tests/tests_network_state_nm.yml:6 ------------ Get the ethtest0 state configuration ------------------------------------ 0.71s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:75 ---- Get the DNS configuration from nmstatectl ------------------------------- 0.70s /WORKDIR/git-route_typefycom2fs/tests/playbooks/tests_network_state.yml:146 --- linux-system-roles.network : Configure networking state ----------------- 0.67s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 linux-system-roles.network : Configure networking state ----------------- 0.64s /WORKDIR/git-route_typefycom2fs/tests/roles/linux-system-roles.network/tasks/main.yml:134 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---