# 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-ansible-lint-test-2.169vf2areq/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-ansible-lint-test-2.169vf2areq/tests/tests_network_state_nm.yml:6 Wednesday 20 December 2023 15:13:24 +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-ansible-lint-test-2.169vf2areq/tests/tests_network_state_nm.yml:9 Wednesday 20 December 2023 15:13:25 +0000 (0:00:00.744) 0:00:00.755 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/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-ansible-lint-test-2.169vf2areq/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 15:13:25 +0000 (0:00:00.010) 0:00:00.766 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/tasks/el_repo_setup.yml:19 Wednesday 20 December 2023 15:13:26 +0000 (0:00:00.373) 0:00:01.139 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/tasks/el_repo_setup.yml:24 Wednesday 20 December 2023 15:13:26 +0000 (0:00:00.259) 0:00:01.399 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/tasks/el_repo_setup.yml:28 Wednesday 20 December 2023 15:13:26 +0000 (0:00:00.019) 0:00:01.419 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/tasks/el_repo_setup.yml:53 Wednesday 20 December 2023 15:13:26 +0000 (0:00:00.017) 0:00:01.436 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 15:13:26 +0000 (0:00:00.031) 0:00:01.467 **** 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-ansible-lint-test-2.169vf2areq/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 15:13:26 +0000 (0:00:00.257) 0:00:01.725 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 15:13:26 +0000 (0:00:00.010) 0:00:01.735 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 15:13:26 +0000 (0:00:00.010) 0:00:01.746 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.281042", "end": "2023-12-20 15:13:27.169249", "rc": 0, "start": "2023-12-20 15:13:26.888207" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 15:13:27 +0000 (0:00:00.491) 0:00:02.237 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/tests_network_state_nm.yml:11 Wednesday 20 December 2023 15:13:27 +0000 (0:00:00.009) 0:00:02.247 **** 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-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:3 Wednesday 20 December 2023 15:13:27 +0000 (0:00:00.010) 0:00:02.257 **** ok: [sut] META: ran handlers TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:12 Wednesday 20 December 2023 15:13:27 +0000 (0:00:00.610) 0:00:02.867 **** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:16 Wednesday 20 December 2023 15:13:27 +0000 (0:00:00.011) 0:00:02.879 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 15:13:27 +0000 (0:00:00.020) 0:00:02.899 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 15:13:27 +0000 (0:00:00.012) 0:00:02.912 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003674", "end": "2023-12-20 15:13:28.057866", "rc": 0, "start": "2023-12-20 15:13:28.054192" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 15:13:28 +0000 (0:00:00.212) 0:00:03.125 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 15:13:28 +0000 (0:00:00.013) 0:00:03.138 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:18 Wednesday 20 December 2023 15:13:28 +0000 (0:00:00.012) 0:00:03.150 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 15:13:28 +0000 (0:00:00.025) 0:00:03.175 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 15:13:28 +0000 (0:00:00.010) 0:00:03.186 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 15:13:28 +0000 (0:00:00.010) 0:00:03.197 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 15:13:28 +0000 (0:00:00.013) 0:00:03.210 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 15:13:28 +0000 (0:00:00.012) 0:00:03.223 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003951", "end": "2023-12-20 15:13:28.368191", "rc": 0, "start": "2023-12-20 15:13:28.364240" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 15:13:28 +0000 (0:00:00.211) 0:00:03.435 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 15:13:28 +0000 (0:00:00.011) 0:00:03.447 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 15:13:28 +0000 (0:00:00.011) 0:00:03.458 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 15:13:32 +0000 (0:00:03.623) 0:00:07.082 **** 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.015620", "end": "2023-12-20 15:13:32.244527", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2023-12-20 15:13:32.228907" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.004741", "end": "2023-12-20 15:13:32.490957", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2023-12-20 15:13:32.486216" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004884", "end": "2023-12-20 15:13:32.703170", "item": "ip link set ethtest0 up", "rc": 0, "start": "2023-12-20 15:13:32.698286" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 15:13:32 +0000 (0:00:00.690) 0:00:07.772 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.026752", "end": "2023-12-20 15:13:32.945174", "rc": 0, "start": "2023-12-20 15:13:32.918422" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 15:13:32 +0000 (0:00:00.241) 0:00:08.014 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 15:13:32 +0000 (0:00:00.012) 0:00:08.027 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 15:13:32 +0000 (0:00:00.011) 0:00:08.038 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.011) 0:00:08.050 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.011) 0:00:08.061 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:22 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.010) 0:00:08.072 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.040) 0:00:08.112 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.015) 0:00:08.128 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703085212.2329354, "block_size": 4096, "blocks": 0, "ctime": 1703085212.2329354, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34228, "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": 1703085212.2329354, "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-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.212) 0:00:08.340 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:24 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.013) 0:00:08.354 **** ok: [sut] => { "ansible_facts": { "interface": "ethtest1", "type": "veth" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:28 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.011) 0:00:08.366 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.023) 0:00:08.389 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.012) 0:00:08.402 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003735", "end": "2023-12-20 15:13:33.548273", "rc": 0, "start": "2023-12-20 15:13:33.544538" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.212) 0:00:08.615 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.012) 0:00:08.628 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:30 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.011) 0:00:08.640 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.026) 0:00:08.666 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.010) 0:00:08.676 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.010) 0:00:08.687 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.013) 0:00:08.701 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.013) 0:00:08.714 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003833", "end": "2023-12-20 15:13:33.860844", "rc": 0, "start": "2023-12-20 15:13:33.857011" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.215) 0:00:08.929 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "ethtest0", "lo", "peerethtest0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.013) 0:00:08.942 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:16 Wednesday 20 December 2023 15:13:33 +0000 (0:00:00.012) 0:00:08.955 **** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:24 Wednesday 20 December 2023 15:13:37 +0000 (0:00:03.255) 0:00:12.210 **** 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.012601", "end": "2023-12-20 15:13:37.369765", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2023-12-20 15:13:37.357164" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.004452", "end": "2023-12-20 15:13:37.635228", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2023-12-20 15:13:37.630776" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.005166", "end": "2023-12-20 15:13:37.844968", "item": "ip link set ethtest1 up", "rc": 0, "start": "2023-12-20 15:13:37.839802" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:33 Wednesday 20 December 2023 15:13:37 +0000 (0:00:00.702) 0:00:12.913 **** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.026595", "end": "2023-12-20 15:13:38.084722", "rc": 0, "start": "2023-12-20 15:13:38.058127" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:41 Wednesday 20 December 2023 15:13:38 +0000 (0:00:00.240) 0:00:13.153 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:48 Wednesday 20 December 2023 15:13:38 +0000 (0:00:00.013) 0:00:13.166 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:54 Wednesday 20 December 2023 15:13:38 +0000 (0:00:00.012) 0:00:13.179 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:61 Wednesday 20 December 2023 15:13:38 +0000 (0:00:00.015) 0:00:13.194 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:67 Wednesday 20 December 2023 15:13:38 +0000 (0:00:00.013) 0:00:13.207 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:34 Wednesday 20 December 2023 15:13:38 +0000 (0:00:00.010) 0:00:13.218 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 15:13:38 +0000 (0:00:00.025) 0:00:13.243 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 15:13:38 +0000 (0:00:00.013) 0:00:13.257 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703085217.3615756, "block_size": 4096, "blocks": 0, "ctime": 1703085217.3615756, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34814, "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": 1703085217.3615756, "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-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 15:13:38 +0000 (0:00:00.209) 0:00:13.467 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 15:13:38 +0000 (0:00:00.013) 0:00:13.480 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 15:13:38 +0000 (0:00:00.072) 0:00:13.553 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 15:13:38 +0000 (0:00:00.022) 0:00:13.575 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 15:13:38 +0000 (0:00:00.021) 0:00:13.597 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 15:13:38 +0000 (0:00:00.041) 0:00:13.638 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 15:13:40 +0000 (0:00:01.877) 0:00:15.516 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 15:13:42 +0000 (0:00:01.578) 0:00:17.094 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 15:13:42 +0000 (0:00:00.028) 0:00:17.122 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 15:13:42 +0000 (0:00:00.029) 0:00:17.152 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 15:13:42 +0000 (0:00:00.052) 0:00:17.205 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 15:13:42 +0000 (0:00:00.050) 0:00:17.256 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 15:13:48 +0000 (0:00:06.778) 0:00:24.034 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 15:13:49 +0000 (0:00:00.030) 0:00:24.064 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 15:13:49 +0000 (0:00:00.029) 0:00:24.094 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 15:13:49 +0000 (0:00:00.551) 0:00:24.646 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 15:13:49 +0000 (0:00:00.032) 0:00:24.678 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 15:13:49 +0000 (0:00:00.053) 0:00:24.731 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 15:13:49 +0000 (0:00:00.028) 0:00:24.760 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 15:13:50 +0000 (0:00:00.489) 0:00:25.249 **** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:2f:eb:78:ea:a7", "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::c2f:ebff:fe78:eaa7", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:2F:EB:78:EA:A7", "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::2010:aaff:fe9f:f4b1", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "22:10:AA:9F:F4:B1", "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::279f:ce5:2d75:bac6", "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": "42:08:8D:65:13:8B", "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::6049:55ff:fe51:1b40", "prefix-length": 64 } ], "enabled": true }, "mac-address": "62:49:55:51:1B:40", "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::ecfb:a3ff:fed8:3340", "prefix-length": 64 } ], "enabled": true }, "mac-address": "EE:FB:A3:D8:33:40", "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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 15:13:52 +0000 (0:00:01.820) 0:00:27.069 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 15:13:52 +0000 (0:00:00.030) 0:00:27.099 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 15:13:52 +0000 (0:00:00.028) 0:00:27.128 **** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:2f:eb:78:ea:a7", "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::c2f:ebff:fe78:eaa7", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:2F:EB:78:EA:A7", "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::2010:aaff:fe9f:f4b1", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "22:10:AA:9F:F4:B1", "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::279f:ce5:2d75:bac6", "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": "42:08:8D:65:13:8B", "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::6049:55ff:fe51:1b40", "prefix-length": 64 } ], "enabled": true }, "mac-address": "62:49:55:51:1B:40", "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::ecfb:a3ff:fed8:3340", "prefix-length": 64 } ], "enabled": true }, "mac-address": "EE:FB:A3:D8:33:40", "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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 15:13:52 +0000 (0:00:00.032) 0:00:27.161 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:75 Wednesday 20 December 2023 15:13:52 +0000 (0:00:00.308) 0:00:27.470 **** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:00.532842", "end": "2023-12-20 15:13:53.148935", "rc": 0, "start": "2023-12-20 15:13:52.616093" } 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::2010:aaff:fe9f:f4b1 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 22:10:AA:9F:F4:B1 mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2023-12-20 15:13:53,073 root DEBUG NetworkManager version 1.40.16 2023-12-20 15:13:53,075 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-12-20 15:13:53,075 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-12-20 15:13:53,076 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-12-20 15:13:53,078 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-12-20 15:13:53,079 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-12-20 15:13:53,079 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-12-20 15:13:53,081 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-12-20 15:13:53,082 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-12-20 15:13:53,082 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:81 Wednesday 20 December 2023 15:13:53 +0000 (0:00:00.759) 0:00:28.229 **** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:00.530617", "end": "2023-12-20 15:13:53.902931", "rc": 0, "start": "2023-12-20 15:13:53.372314" } 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::279f:ce5:2d75:bac6 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: 42:08:8D:65:13:8B mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2023-12-20 15:13:53,826 root DEBUG NetworkManager version 1.40.16 2023-12-20 15:13:53,827 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-12-20 15:13:53,828 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-12-20 15:13:53,828 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-12-20 15:13:53,830 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-12-20 15:13:53,831 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-12-20 15:13:53,831 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-12-20 15:13:53,833 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-12-20 15:13:53,834 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-12-20 15:13:53,834 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-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:87 Wednesday 20 December 2023 15:13:53 +0000 (0:00:00.752) 0:00:28.982 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ethtest1 state configuration contains the specified settings] *** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:96 Wednesday 20 December 2023 15:13:53 +0000 (0:00:00.026) 0:00:29.008 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 15:13:53 +0000 (0:00:00.024) 0:00:29.032 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 15:13:54 +0000 (0:00:00.043) 0:00:29.076 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 15:13:54 +0000 (0:00:00.035) 0:00:29.112 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 15:13:54 +0000 (0:00:00.031) 0:00:29.144 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 15:13:54 +0000 (0:00:00.030) 0:00:29.174 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 15:13:56 +0000 (0:00:01.880) 0:00:31.055 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 15:13:57 +0000 (0:00:01.465) 0:00:32.521 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 15:13:57 +0000 (0:00:00.029) 0:00:32.551 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 15:13:57 +0000 (0:00:00.028) 0:00:32.580 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 15:13:57 +0000 (0:00:00.028) 0:00:32.608 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 15:13:57 +0000 (0:00:00.102) 0:00:32.710 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 15:14:00 +0000 (0:00:03.218) 0:00:35.929 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 15:14:00 +0000 (0:00:00.029) 0:00:35.958 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 15:14:00 +0000 (0:00:00.029) 0:00:35.988 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 15:14:01 +0000 (0:00:00.404) 0:00:36.393 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 15:14:01 +0000 (0:00:00.040) 0:00:36.433 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 15:14:01 +0000 (0:00:00.042) 0:00:36.476 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 15:14:01 +0000 (0:00:00.052) 0:00:36.529 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 15:14:01 +0000 (0:00:00.391) 0:00:36.920 **** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:2f:eb:78:ea:a7", "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::c2f:ebff:fe78:eaa7", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:2F:EB:78:EA:A7", "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::2010:aaff:fe9f:f4b1", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "22:10:AA:9F:F4:B1", "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::279f:ce5:2d75:bac6", "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": "42:08:8D:65:13:8B", "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::6049:55ff:fe51:1b40", "prefix-length": 64 } ], "enabled": true }, "mac-address": "62:49:55:51:1B:40", "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::ecfb:a3ff:fed8:3340", "prefix-length": 64 } ], "enabled": true }, "mac-address": "EE:FB:A3:D8:33:40", "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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 15:14:02 +0000 (0:00:00.715) 0:00:37.636 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 15:14:02 +0000 (0:00:00.030) 0:00:37.666 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 15:14:02 +0000 (0:00:00.028) 0:00:37.695 **** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "0e:2f:eb:78:ea:a7", "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::c2f:ebff:fe78:eaa7", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:2F:EB:78:EA:A7", "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::2010:aaff:fe9f:f4b1", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "22:10:AA:9F:F4:B1", "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::279f:ce5:2d75:bac6", "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": "42:08:8D:65:13:8B", "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::6049:55ff:fe51:1b40", "prefix-length": 64 } ], "enabled": true }, "mac-address": "62:49:55:51:1B:40", "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::ecfb:a3ff:fed8:3340", "prefix-length": 64 } ], "enabled": true }, "mac-address": "EE:FB:A3:D8:33:40", "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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 15:14:02 +0000 (0:00:00.033) 0:00:37.729 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:117 Wednesday 20 December 2023 15:14:02 +0000 (0:00:00.224) 0:00:37.953 **** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.540114", "end": "2023-12-20 15:14:03.637503", "rc": 0, "start": "2023-12-20 15:14:03.097389" } 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.40.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.40.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.40.207 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::c2f:ebff:fe78:eaa7 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:2F:EB:78:EA:A7 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::2010:aaff:fe9f:f4b1 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 22:10:AA:9F:F4:B1 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::279f:ce5:2d75:bac6 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: 42:08:8D:65:13:8B 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::6049:55ff:fe51:1b40 prefix-length: 64 mac-address: 62:49:55:51:1B:40 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::ecfb:a3ff:fed8:3340 prefix-length: 64 mac-address: EE:FB:A3:D8:33:40 mtu: 1500 veth: peer: ethtest1 STDERR: 2023-12-20 15:14:03,548 root DEBUG NetworkManager version 1.40.16 2023-12-20 15:14:03,550 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-12-20 15:14:03,551 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-12-20 15:14:03,551 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-12-20 15:14:03,553 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-12-20 15:14:03,554 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-12-20 15:14:03,554 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-12-20 15:14:03,556 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-12-20 15:14:03,557 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-12-20 15:14:03,557 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Assert that the route configuration contains the specified route] ******** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:123 Wednesday 20 December 2023 15:14:03 +0000 (0:00:00.765) 0:00:38.718 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 15:14:03 +0000 (0:00:00.030) 0:00:38.749 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 15:14:03 +0000 (0:00:00.076) 0:00:38.825 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 15:14:03 +0000 (0:00:00.036) 0:00:38.861 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 15:14:03 +0000 (0:00:00.030) 0:00:38.892 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 15:14:03 +0000 (0:00:00.032) 0:00:38.925 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 15:14:05 +0000 (0:00:01.832) 0:00:40.757 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 15:14:07 +0000 (0:00:01.488) 0:00:42.246 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 15:14:07 +0000 (0:00:00.029) 0:00:42.276 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 15:14:07 +0000 (0:00:00.028) 0:00:42.304 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 15:14:07 +0000 (0:00:00.029) 0:00:42.334 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 15:14:07 +0000 (0:00:00.048) 0:00:42.383 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 15:14:10 +0000 (0:00:03.188) 0:00:45.571 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 15:14:10 +0000 (0:00:00.030) 0:00:45.602 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 15:14:10 +0000 (0:00:00.030) 0:00:45.632 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 15:14:10 +0000 (0:00:00.398) 0:00:46.030 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 15:14:11 +0000 (0:00:00.031) 0:00:46.062 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 15:14:11 +0000 (0:00:00.028) 0:00:46.090 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 15:14:11 +0000 (0:00:00.027) 0:00:46.117 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 15:14:11 +0000 (0:00:00.404) 0:00:46.522 **** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "0e:2f:eb:78:ea:a7", "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::c2f:ebff:fe78:eaa7", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:2F:EB:78:EA:A7", "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::2010:aaff:fe9f:f4b1", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "22:10:AA:9F:F4:B1", "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::279f:ce5:2d75:bac6", "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": "42:08:8D:65:13:8B", "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::6049:55ff:fe51:1b40", "prefix-length": 64 } ], "enabled": true }, "mac-address": "62:49:55:51:1B:40", "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::ecfb:a3ff:fed8:3340", "prefix-length": 64 } ], "enabled": true }, "mac-address": "EE:FB:A3:D8:33:40", "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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 15:14:12 +0000 (0:00:00.706) 0:00:47.228 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 15:14:12 +0000 (0:00:00.030) 0:00:47.258 **** 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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 15:14:12 +0000 (0:00:00.030) 0:00:47.289 **** 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": "0e:2f:eb:78:ea:a7", "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::c2f:ebff:fe78:eaa7", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "0E:2F:EB:78:EA:A7", "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::2010:aaff:fe9f:f4b1", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "22:10:AA:9F:F4:B1", "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::279f:ce5:2d75:bac6", "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": "42:08:8D:65:13:8B", "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::6049:55ff:fe51:1b40", "prefix-length": 64 } ], "enabled": true }, "mac-address": "62:49:55:51:1B:40", "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::ecfb:a3ff:fed8:3340", "prefix-length": 64 } ], "enabled": true }, "mac-address": "EE:FB:A3:D8:33:40", "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-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 15:14:12 +0000 (0:00:00.033) 0:00:47.323 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:146 Wednesday 20 December 2023 15:14:12 +0000 (0:00:00.219) 0:00:47.542 **** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.532095", "end": "2023-12-20 15:14:13.216530", "rc": 0, "start": "2023-12-20 15:14:12.684435" } 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.40.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.40.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.40.207 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::c2f:ebff:fe78:eaa7 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 0E:2F:EB:78:EA:A7 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::2010:aaff:fe9f:f4b1 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 22:10:AA:9F:F4:B1 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::279f:ce5:2d75:bac6 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: 42:08:8D:65:13:8B 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::6049:55ff:fe51:1b40 prefix-length: 64 mac-address: 62:49:55:51:1B:40 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::ecfb:a3ff:fed8:3340 prefix-length: 64 mac-address: EE:FB:A3:D8:33:40 mtu: 1500 veth: peer: ethtest1 STDERR: 2023-12-20 15:14:13,129 root DEBUG NetworkManager version 1.40.16 2023-12-20 15:14:13,131 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-12-20 15:14:13,131 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-12-20 15:14:13,131 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-12-20 15:14:13,133 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-12-20 15:14:13,134 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-12-20 15:14:13,134 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-12-20 15:14:13,137 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-12-20 15:14:13,137 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-12-20 15:14:13,137 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-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:152 Wednesday 20 December 2023 15:14:13 +0000 (0:00:00.754) 0:00:48.297 **** ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:00.003541", "end": "2023-12-20 15:14:13.443978", "rc": 0, "start": "2023-12-20 15:14:13.440437" } 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-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:158 Wednesday 20 December 2023 15:14:13 +0000 (0:00:00.255) 0:00:48.553 **** 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-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:166 Wednesday 20 December 2023 15:14:13 +0000 (0:00:00.026) 0:00:48.579 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:176 Wednesday 20 December 2023 15:14:13 +0000 (0:00:00.026) 0:00:48.606 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 20 December 2023 15:14:13 +0000 (0:00:00.048) 0:00:48.655 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.014728", "end": "2023-12-20 15:14:13.810918", "rc": 0, "start": "2023-12-20 15:14:13.796190" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:178 Wednesday 20 December 2023 15:14:13 +0000 (0:00:00.242) 0:00:48.897 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 15:14:13 +0000 (0:00:00.049) 0:00:48.947 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 15:14:13 +0000 (0:00:00.036) 0:00:48.984 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 15:14:14 +0000 (0:00:00.222) 0:00:49.206 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:180 Wednesday 20 December 2023 15:14:14 +0000 (0:00:00.025) 0:00:49.232 **** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:184 Wednesday 20 December 2023 15:14:14 +0000 (0:00:00.023) 0:00:49.255 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 20 December 2023 15:14:14 +0000 (0:00:00.077) 0:00:49.333 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.012741", "end": "2023-12-20 15:14:14.487919", "rc": 0, "start": "2023-12-20 15:14:14.475178" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:186 Wednesday 20 December 2023 15:14:14 +0000 (0:00:00.243) 0:00:49.576 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 15:14:14 +0000 (0:00:00.049) 0:00:49.626 **** included: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 15:14:14 +0000 (0:00:00.035) 0:00:49.662 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 15:14:14 +0000 (0:00:00.223) 0:00:49.885 **** 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 Wednesday 20 December 2023 15:14:14 +0000 (0:00:00.012) 0:00:49.898 **** =============================================================================== linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 6.78s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:40 Install iproute --------------------------------------------------------- 3.62s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.26s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 3.22s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:40 linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable --- 3.19s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:40 linux-system-roles.network : Check which services are running ----------- 1.88s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.88s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.83s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking state ----------------- 1.82s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:134 linux-system-roles.network : Check which packages are installed --------- 1.58s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.49s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.47s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Get the route configuration --------------------------------------------- 0.77s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:117 Get the ethtest0 state configuration ------------------------------------ 0.76s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:75 Get the DNS configuration from nmstatectl ------------------------------- 0.75s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:146 Get the ethtest1 state configuration ------------------------------------ 0.75s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tests_network_state.yml:81 Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/tests_network_state_nm.yml:6 linux-system-roles.network : Configure networking state ----------------- 0.72s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:134 linux-system-roles.network : Configure networking state ----------------- 0.71s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/roles/linux-system-roles.network/tasks/main.yml:134 Create veth interface ethtest1 ------------------------------------------ 0.70s /WORKDIR/git-ansible-lint-test-2.169vf2areq/tests/playbooks/tasks/manage_test_interface.yml:24 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---