# 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-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/tests_network_state_nm.yml:5 Thursday 21 December 2023 17:36:38 +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-ci_fixsuv0wk7i/tests/tests_network_state_nm.yml:9 Thursday 21 December 2023 17:36:38 +0000 (0:00:00.683) 0:00:00.695 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 17:36:38 +0000 (0:00:00.017) 0:00:00.713 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 17:36:39 +0000 (0:00:00.331) 0:00:01.045 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 17:36:39 +0000 (0:00:00.244) 0:00:01.289 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 17:36:39 +0000 (0:00:00.021) 0:00:01.311 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 17:36:39 +0000 (0:00:00.018) 0:00:01.329 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 17:36:39 +0000 (0:00:00.030) 0:00:01.359 ***** 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-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 17:36:39 +0000 (0:00:00.230) 0:00:01.589 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 17:36:39 +0000 (0:00:00.010) 0:00:01.600 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 17:36:39 +0000 (0:00:00.009) 0:00:01.609 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.243184", "end": "2023-12-21 17:36:41.277981", "rc": 0, "start": "2023-12-21 17:36:40.034797" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 17:36:41 +0000 (0:00:01.425) 0:00:03.034 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/tests_network_state_nm.yml:11 Thursday 21 December 2023 17:36:41 +0000 (0:00:00.009) 0:00:03.044 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:3 Thursday 21 December 2023 17:36:41 +0000 (0:00:00.011) 0:00:03.055 ***** ok: [sut] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:12 Thursday 21 December 2023 17:36:41 +0000 (0:00:00.549) 0:00:03.604 ***** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:16 Thursday 21 December 2023 17:36:41 +0000 (0:00:00.011) 0:00:03.616 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:36:41 +0000 (0:00:00.021) 0:00:03.637 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:36:41 +0000 (0:00:00.013) 0:00:03.650 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003038", "end": "2023-12-21 17:36:42.078786", "rc": 0, "start": "2023-12-21 17:36:42.075748" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:36:42 +0000 (0:00:00.183) 0:00:03.834 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:36:42 +0000 (0:00:00.012) 0:00:03.846 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:18 Thursday 21 December 2023 17:36:42 +0000 (0:00:00.010) 0:00:03.856 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 17:36:42 +0000 (0:00:00.026) 0:00:03.882 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 17:36:42 +0000 (0:00:00.010) 0:00:03.893 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 17:36:42 +0000 (0:00:00.010) 0:00:03.903 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:36:42 +0000 (0:00:00.015) 0:00:03.919 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:36:42 +0000 (0:00:00.013) 0:00:03.933 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003067", "end": "2023-12-21 17:36:42.363338", "rc": 0, "start": "2023-12-21 17:36:42.360271" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:36:42 +0000 (0:00:00.185) 0:00:04.118 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:36:42 +0000 (0:00:00.011) 0:00:04.130 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 17:36:42 +0000 (0:00:00.011) 0:00:04.142 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 21 December 2023 17:36:45 +0000 (0:00:03.189) 0:00:07.332 ***** 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.013434", "end": "2023-12-21 17:36:45.799190", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2023-12-21 17:36:45.785756" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003557", "end": "2023-12-21 17:36:46.016623", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2023-12-21 17:36:46.013066" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004344", "end": "2023-12-21 17:36:46.197079", "item": "ip link set ethtest0 up", "rc": 0, "start": "2023-12-21 17:36:46.192735" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 21 December 2023 17:36:46 +0000 (0:00:00.620) 0:00:07.953 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.023063", "end": "2023-12-21 17:36:46.404100", "rc": 0, "start": "2023-12-21 17:36:46.381037" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 21 December 2023 17:36:46 +0000 (0:00:00.208) 0:00:08.161 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 21 December 2023 17:36:46 +0000 (0:00:00.012) 0:00:08.174 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 21 December 2023 17:36:46 +0000 (0:00:00.011) 0:00:08.185 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 17:36:46 +0000 (0:00:00.012) 0:00:08.197 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 21 December 2023 17:36:46 +0000 (0:00:00.011) 0:00:08.209 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:22 Thursday 21 December 2023 17:36:46 +0000 (0:00:00.012) 0:00:08.221 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 17:36:46 +0000 (0:00:00.023) 0:00:08.245 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:36:46 +0000 (0:00:00.014) 0:00:08.260 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180205.7891045, "block_size": 4096, "blocks": 0, "ctime": 1703180205.7891045, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35897, "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": 1703180205.7891045, "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-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 17:36:46 +0000 (0:00:00.183) 0:00:08.444 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:24 Thursday 21 December 2023 17:36:46 +0000 (0:00:00.015) 0:00:08.459 ***** ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:28 Thursday 21 December 2023 17:36:46 +0000 (0:00:00.012) 0:00:08.472 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:36:46 +0000 (0:00:00.024) 0:00:08.496 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:36:46 +0000 (0:00:00.014) 0:00:08.511 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003083", "end": "2023-12-21 17:36:46.941517", "rc": 0, "start": "2023-12-21 17:36:46.938434" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:36:46 +0000 (0:00:00.187) 0:00:08.699 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:36:46 +0000 (0:00:00.023) 0:00:08.723 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:30 Thursday 21 December 2023 17:36:47 +0000 (0:00:00.025) 0:00:08.748 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 17:36:47 +0000 (0:00:00.047) 0:00:08.795 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 17:36:47 +0000 (0:00:00.012) 0:00:08.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 17:36:47 +0000 (0:00:00.038) 0:00:08.846 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 17:36:47 +0000 (0:00:00.042) 0:00:08.888 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 17:36:47 +0000 (0:00:00.018) 0:00:08.907 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003061", "end": "2023-12-21 17:36:47.336800", "rc": 0, "start": "2023-12-21 17:36:47.333739" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 17:36:47 +0000 (0:00:00.186) 0:00:09.093 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 17:36:47 +0000 (0:00:00.014) 0:00:09.108 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 17:36:47 +0000 (0:00:00.013) 0:00:09.121 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:24 Thursday 21 December 2023 17:36:50 +0000 (0:00:02.989) 0:00:12.111 ***** 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.011463", "end": "2023-12-21 17:36:50.556903", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2023-12-21 17:36:50.545440" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.003530", "end": "2023-12-21 17:36:50.772166", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2023-12-21 17:36:50.768636" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.003950", "end": "2023-12-21 17:36:50.953595", "item": "ip link set ethtest1 up", "rc": 0, "start": "2023-12-21 17:36:50.949645" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:33 Thursday 21 December 2023 17:36:50 +0000 (0:00:00.598) 0:00:12.709 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.022327", "end": "2023-12-21 17:36:51.160694", "rc": 0, "start": "2023-12-21 17:36:51.138367" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:41 Thursday 21 December 2023 17:36:51 +0000 (0:00:00.208) 0:00:12.917 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:48 Thursday 21 December 2023 17:36:51 +0000 (0:00:00.011) 0:00:12.929 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:54 Thursday 21 December 2023 17:36:51 +0000 (0:00:00.012) 0:00:12.942 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 17:36:51 +0000 (0:00:00.017) 0:00:12.959 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:67 Thursday 21 December 2023 17:36:51 +0000 (0:00:00.011) 0:00:12.970 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:34 Thursday 21 December 2023 17:36:51 +0000 (0:00:00.011) 0:00:12.982 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 17:36:51 +0000 (0:00:00.028) 0:00:13.010 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:36:51 +0000 (0:00:00.029) 0:00:13.040 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703180210.54887, "block_size": 4096, "blocks": 0, "ctime": 1703180210.54887, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36483, "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": 1703180210.54887, "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-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 17:36:51 +0000 (0:00:00.185) 0:00:13.226 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:36:51 +0000 (0:00:00.014) 0:00:13.240 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:36:51 +0000 (0:00:00.072) 0:00:13.313 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:36:51 +0000 (0:00:00.021) 0:00:13.334 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:36:51 +0000 (0:00:00.019) 0:00:13.353 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:36:51 +0000 (0:00:00.019) 0:00:13.372 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:36:53 +0000 (0:00:01.607) 0:00:14.980 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:36:54 +0000 (0:00:01.466) 0:00:16.447 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:36:54 +0000 (0:00:00.029) 0:00:16.477 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:36:54 +0000 (0:00:00.030) 0:00:16.507 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:36:54 +0000 (0:00:00.029) 0:00:16.536 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:36:54 +0000 (0:00:00.049) 0:00:16.586 ***** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-libnmstate-1.4.5-2.el8.noarch", "Installed: python3-nispor-1.2.10-1.el8.noarch", "Installed: python3-varlink-29.0.0-1.el8.noarch", "Installed: nispor-1.2.10-1.el8.x86_64", "Installed: NetworkManager-config-server-1:1.40.16-11.el8.noarch", "Installed: nmstate-1.4.5-2.el8.x86_64" ] } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:37:00 +0000 (0:00:05.442) 0:00:22.029 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:37:00 +0000 (0:00:00.055) 0:00:22.084 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:37:00 +0000 (0:00:00.040) 0:00:22.125 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:37:00 +0000 (0:00:00.553) 0:00:22.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:37:00 +0000 (0:00:00.040) 0:00:22.718 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:37:01 +0000 (0:00:00.036) 0:00:22.755 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:37:01 +0000 (0:00:00.076) 0:00:22.831 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:37:01 +0000 (0:00:00.489) 0:00:23.321 ***** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "02:60:e7:23:3f:31", "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::60:e7ff:fe23:3f31", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:60:E7:23:3F:31", "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::8c8a:7aff:feca:ec79", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "8E:8A:7A:CA:EC:79", "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::7dd4:a720:45c2:4ccf", "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": "9A:62:89:33:F4:72", "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::ac4f:6dff:feff:8f25", "prefix-length": 64 } ], "enabled": true }, "mac-address": "AE:4F:6D:FF:8F:25", "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::583a:85ff:fe1b:c1dd", "prefix-length": 64 } ], "enabled": true }, "mac-address": "5A:3A:85:1B:C1:DD", "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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:37:03 +0000 (0:00:01.755) 0:00:25.077 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:37:03 +0000 (0:00:00.030) 0:00:25.108 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:37:03 +0000 (0:00:00.031) 0:00:25.139 ***** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "02:60:e7:23:3f:31", "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::60:e7ff:fe23:3f31", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:60:E7:23:3F:31", "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::8c8a:7aff:feca:ec79", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "8E:8A:7A:CA:EC:79", "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::7dd4:a720:45c2:4ccf", "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": "9A:62:89:33:F4:72", "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::ac4f:6dff:feff:8f25", "prefix-length": 64 } ], "enabled": true }, "mac-address": "AE:4F:6D:FF:8F:25", "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::583a:85ff:fe1b:c1dd", "prefix-length": 64 } ], "enabled": true }, "mac-address": "5A:3A:85:1B:C1:DD", "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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:37:03 +0000 (0:00:00.037) 0:00:25.176 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:75 Thursday 21 December 2023 17:37:03 +0000 (0:00:00.288) 0:00:25.465 ***** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.472342", "end": "2023-12-21 17:37:04.364271", "rc": 0, "start": "2023-12-21 17:37:03.891929" } 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::8c8a:7aff:feca:ec79 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 8E:8A:7A:CA:EC:79 mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2023-12-21 17:37:04,303 root DEBUG NetworkManager version 1.40.16 2023-12-21 17:37:04,305 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-12-21 17:37:04,305 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-12-21 17:37:04,305 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-12-21 17:37:04,307 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-12-21 17:37:04,307 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-12-21 17:37:04,308 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-12-21 17:37:04,310 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-12-21 17:37:04,310 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-12-21 17:37:04,311 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:81 Thursday 21 December 2023 17:37:04 +0000 (0:00:00.709) 0:00:26.174 ***** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.471479", "end": "2023-12-21 17:37:05.132562", "rc": 0, "start": "2023-12-21 17:37:04.661083" } 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::7dd4:a720:45c2:4ccf 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: 9A:62:89:33:F4:72 mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2023-12-21 17:37:05,072 root DEBUG NetworkManager version 1.40.16 2023-12-21 17:37:05,073 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-12-21 17:37:05,074 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-12-21 17:37:05,074 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-12-21 17:37:05,075 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-12-21 17:37:05,076 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-12-21 17:37:05,077 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-12-21 17:37:05,079 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-12-21 17:37:05,079 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-12-21 17:37:05,080 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-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:87 Thursday 21 December 2023 17:37:05 +0000 (0:00:00.727) 0:00:26.902 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:96 Thursday 21 December 2023 17:37:05 +0000 (0:00:00.026) 0:00:26.928 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:37:05 +0000 (0:00:00.024) 0:00:26.953 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:37:05 +0000 (0:00:00.043) 0:00:26.997 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:37:05 +0000 (0:00:00.036) 0:00:27.034 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:37:05 +0000 (0:00:00.031) 0:00:27.066 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:37:05 +0000 (0:00:00.038) 0:00:27.104 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:37:06 +0000 (0:00:01.572) 0:00:28.677 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:37:08 +0000 (0:00:01.306) 0:00:29.984 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:37:08 +0000 (0:00:00.031) 0:00:30.015 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:37:08 +0000 (0:00:00.030) 0:00:30.045 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:37:08 +0000 (0:00:00.028) 0:00:30.074 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:37:08 +0000 (0:00:00.048) 0:00:30.123 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:37:11 +0000 (0:00:02.941) 0:00:33.065 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:37:11 +0000 (0:00:00.029) 0:00:33.094 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:37:11 +0000 (0:00:00.029) 0:00:33.124 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:37:11 +0000 (0:00:00.343) 0:00:33.467 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:37:11 +0000 (0:00:00.031) 0:00:33.499 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:37:11 +0000 (0:00:00.027) 0:00:33.526 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:37:11 +0000 (0:00:00.048) 0:00:33.575 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:37:12 +0000 (0:00:00.334) 0:00:33.909 ***** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "02:60:e7:23:3f:31", "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::60:e7ff:fe23:3f31", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:60:E7:23:3F:31", "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::8c8a:7aff:feca:ec79", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "8E:8A:7A:CA:EC:79", "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::7dd4:a720:45c2:4ccf", "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": "9A:62:89:33:F4:72", "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::ac4f:6dff:feff:8f25", "prefix-length": 64 } ], "enabled": true }, "mac-address": "AE:4F:6D:FF:8F:25", "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::583a:85ff:fe1b:c1dd", "prefix-length": 64 } ], "enabled": true }, "mac-address": "5A:3A:85:1B:C1:DD", "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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:37:12 +0000 (0:00:00.631) 0:00:34.541 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:37:12 +0000 (0:00:00.029) 0:00:34.570 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:37:12 +0000 (0:00:00.029) 0:00:34.600 ***** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "02:60:e7:23:3f:31", "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::60:e7ff:fe23:3f31", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:60:E7:23:3F:31", "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::8c8a:7aff:feca:ec79", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "8E:8A:7A:CA:EC:79", "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::7dd4:a720:45c2:4ccf", "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": "9A:62:89:33:F4:72", "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::ac4f:6dff:feff:8f25", "prefix-length": 64 } ], "enabled": true }, "mac-address": "AE:4F:6D:FF:8F:25", "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::583a:85ff:fe1b:c1dd", "prefix-length": 64 } ], "enabled": true }, "mac-address": "5A:3A:85:1B:C1:DD", "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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:37:12 +0000 (0:00:00.033) 0:00:34.633 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:117 Thursday 21 December 2023 17:37:13 +0000 (0:00:00.194) 0:00:34.828 ***** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.477385", "end": "2023-12-21 17:37:13.739057", "rc": 0, "start": "2023-12-21 17:37:13.261672" } 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.44.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.44.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.44.177 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::60:e7ff:fe23:3f31 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 02:60:E7:23:3F:31 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::8c8a:7aff:feca:ec79 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 8E:8A:7A:CA:EC:79 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::7dd4:a720:45c2:4ccf 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: 9A:62:89:33:F4:72 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::ac4f:6dff:feff:8f25 prefix-length: 64 mac-address: AE:4F:6D:FF:8F:25 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::583a:85ff:fe1b:c1dd prefix-length: 64 mac-address: 5A:3A:85:1B:C1:DD mtu: 1500 veth: peer: ethtest1 STDERR: 2023-12-21 17:37:13,667 root DEBUG NetworkManager version 1.40.16 2023-12-21 17:37:13,668 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-12-21 17:37:13,669 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-12-21 17:37:13,669 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-12-21 17:37:13,670 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-12-21 17:37:13,671 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-12-21 17:37:13,672 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-12-21 17:37:13,674 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-12-21 17:37:13,674 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-12-21 17:37:13,675 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the route configuration contains the specified route] ******** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:123 Thursday 21 December 2023 17:37:13 +0000 (0:00:00.679) 0:00:35.507 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 17:37:13 +0000 (0:00:00.029) 0:00:35.537 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 17:37:13 +0000 (0:00:00.081) 0:00:35.619 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 17:37:13 +0000 (0:00:00.046) 0:00:35.666 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 17:37:13 +0000 (0:00:00.032) 0:00:35.698 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 17:37:13 +0000 (0:00:00.031) 0:00:35.730 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 17:37:15 +0000 (0:00:01.564) 0:00:37.294 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 17:37:16 +0000 (0:00:01.368) 0:00:38.663 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 17:37:16 +0000 (0:00:00.046) 0:00:38.710 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 17:37:17 +0000 (0:00:00.035) 0:00:38.745 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 17:37:17 +0000 (0:00:00.030) 0:00:38.776 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 17:37:17 +0000 (0:00:00.049) 0:00:38.825 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 17:37:20 +0000 (0:00:02.965) 0:00:41.791 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 17:37:20 +0000 (0:00:00.030) 0:00:41.821 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 17:37:20 +0000 (0:00:00.029) 0:00:41.851 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 17:37:20 +0000 (0:00:00.352) 0:00:42.204 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 17:37:20 +0000 (0:00:00.037) 0:00:42.242 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 17:37:20 +0000 (0:00:00.038) 0:00:42.280 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 17:37:20 +0000 (0:00:00.028) 0:00:42.308 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 17:37:20 +0000 (0:00:00.347) 0:00:42.656 ***** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "02:60:e7:23:3f:31", "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::60:e7ff:fe23:3f31", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:60:E7:23:3F:31", "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::8c8a:7aff:feca:ec79", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "8E:8A:7A:CA:EC:79", "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::7dd4:a720:45c2:4ccf", "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": "9A:62:89:33:F4:72", "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::ac4f:6dff:feff:8f25", "prefix-length": 64 } ], "enabled": true }, "mac-address": "AE:4F:6D:FF:8F:25", "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::583a:85ff:fe1b:c1dd", "prefix-length": 64 } ], "enabled": true }, "mac-address": "5A:3A:85:1B:C1:DD", "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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 17:37:21 +0000 (0:00:00.626) 0:00:43.282 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 17:37:21 +0000 (0:00:00.039) 0:00:43.322 ***** 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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 17:37:21 +0000 (0:00:00.030) 0:00:43.353 ***** 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": "02:60:e7:23:3f:31", "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::60:e7ff:fe23:3f31", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:60:E7:23:3F:31", "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::8c8a:7aff:feca:ec79", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "8E:8A:7A:CA:EC:79", "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::7dd4:a720:45c2:4ccf", "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": "9A:62:89:33:F4:72", "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::ac4f:6dff:feff:8f25", "prefix-length": 64 } ], "enabled": true }, "mac-address": "AE:4F:6D:FF:8F:25", "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::583a:85ff:fe1b:c1dd", "prefix-length": 64 } ], "enabled": true }, "mac-address": "5A:3A:85:1B:C1:DD", "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-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 17:37:21 +0000 (0:00:00.032) 0:00:43.385 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:146 Thursday 21 December 2023 17:37:21 +0000 (0:00:00.198) 0:00:43.584 ***** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.483933", "end": "2023-12-21 17:37:22.494922", "rc": 0, "start": "2023-12-21 17:37:22.010989" } 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.44.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.44.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.44.177 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::60:e7ff:fe23:3f31 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 02:60:E7:23:3F:31 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::8c8a:7aff:feca:ec79 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 8E:8A:7A:CA:EC:79 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::7dd4:a720:45c2:4ccf 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: 9A:62:89:33:F4:72 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::ac4f:6dff:feff:8f25 prefix-length: 64 mac-address: AE:4F:6D:FF:8F:25 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::583a:85ff:fe1b:c1dd prefix-length: 64 mac-address: 5A:3A:85:1B:C1:DD mtu: 1500 veth: peer: ethtest1 STDERR: 2023-12-21 17:37:22,421 root DEBUG NetworkManager version 1.40.16 2023-12-21 17:37:22,423 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-12-21 17:37:22,423 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-12-21 17:37:22,423 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-12-21 17:37:22,425 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-12-21 17:37:22,426 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-12-21 17:37:22,426 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-12-21 17:37:22,428 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-12-21 17:37:22,429 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-12-21 17:37:22,429 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-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:152 Thursday 21 December 2023 17:37:22 +0000 (0:00:00.680) 0:00:44.265 ***** ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:01.004244", "end": "2023-12-21 17:37:23.697599", "rc": 0, "start": "2023-12-21 17:37:22.693355" } 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-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:158 Thursday 21 December 2023 17:37:23 +0000 (0:00:01.200) 0:00:45.465 ***** 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-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:166 Thursday 21 December 2023 17:37:23 +0000 (0:00:00.027) 0:00:45.492 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:176 Thursday 21 December 2023 17:37:23 +0000 (0:00:00.026) 0:00:45.519 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 17:37:23 +0000 (0:00:00.049) 0:00:45.568 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.013944", "end": "2023-12-21 17:37:24.010350", "rc": 0, "start": "2023-12-21 17:37:23.996406" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:178 Thursday 21 December 2023 17:37:24 +0000 (0:00:00.217) 0:00:45.786 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 17:37:24 +0000 (0:00:00.081) 0:00:45.867 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:37:24 +0000 (0:00:00.037) 0:00:45.905 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 17:37:24 +0000 (0:00:00.195) 0:00:46.101 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:180 Thursday 21 December 2023 17:37:24 +0000 (0:00:00.026) 0:00:46.128 ***** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:184 Thursday 21 December 2023 17:37:24 +0000 (0:00:00.025) 0:00:46.154 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 17:37:24 +0000 (0:00:00.052) 0:00:46.206 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.011860", "end": "2023-12-21 17:37:24.646483", "rc": 0, "start": "2023-12-21 17:37:24.634623" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:186 Thursday 21 December 2023 17:37:24 +0000 (0:00:00.213) 0:00:46.419 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 17:37:24 +0000 (0:00:00.052) 0:00:46.471 ***** included: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 17:37:24 +0000 (0:00:00.071) 0:00:46.543 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 17:37:25 +0000 (0:00:00.201) 0:00:46.745 ***** 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 Thursday 21 December 2023 17:37:25 +0000 (0:00:00.013) 0:00:46.758 ***** =============================================================================== linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 5.44s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 Install iproute --------------------------------------------------------- 3.19s /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 2.99s /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.97s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.94s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:40 linux-system-roles.network : Configure networking state ----------------- 1.76s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/main.yml:134 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.47s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Enable EPEL 8 ----------------------------------------------------------- 1.43s /WORKDIR/git-ci_fixsuv0wk7i/tests/tasks/enable_epel.yml:35 -------------------- linux-system-roles.network : Check which packages are installed --------- 1.37s /WORKDIR/git-ci_fixsuv0wk7i/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-ci_fixsuv0wk7i/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-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:152 ------- Get the ethtest1 state configuration ------------------------------------ 0.73s /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:81 -------- Get the ethtest0 state configuration ------------------------------------ 0.71s /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:75 -------- Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-ci_fixsuv0wk7i/tests/tests_network_state_nm.yml:5 ---------------- Get the DNS configuration from nmstatectl ------------------------------- 0.68s /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:146 ------- Get the route configuration --------------------------------------------- 0.68s /WORKDIR/git-ci_fixsuv0wk7i/tests/playbooks/tests_network_state.yml:117 ------- linux-system-roles.network : Configure networking state ----------------- 0.63s /WORKDIR/git-ci_fixsuv0wk7i/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. ---^---^---^---^---^---