# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_network_state_nm.yml ******************************************* 2 plays in /WORKDIR/git-ansible-lint-test-2.16t_odk5db/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.16t_odk5db/tests/tests_network_state_nm.yml:5 Tuesday 19 December 2023 15:52:55 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tests_network_state_nm.yml:9 Tuesday 19 December 2023 15:53:01 +0000 (0:00:05.863) 0:00:05.875 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/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.16t_odk5db/tests/tasks/el_repo_setup.yml:3 Tuesday 19 December 2023 15:53:01 +0000 (0:00:00.011) 0:00:05.886 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml:17 Tuesday 19 December 2023 15:53:06 +0000 (0:00:05.374) 0:00:11.261 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml:22 Tuesday 19 December 2023 15:53:06 +0000 (0:00:00.244) 0:00:11.506 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml:26 Tuesday 19 December 2023 15:53:06 +0000 (0:00:00.015) 0:00:11.521 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml:51 Tuesday 19 December 2023 15:53:06 +0000 (0:00:00.008) 0:00:11.530 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:8 Tuesday 19 December 2023 15:53:06 +0000 (0:00:00.020) 0:00:11.550 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:24 Tuesday 19 December 2023 15:53:07 +0000 (0:00:00.246) 0:00:11.797 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:30 Tuesday 19 December 2023 15:53:07 +0000 (0:00:00.008) 0:00:11.805 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:35 Tuesday 19 December 2023 15:53:07 +0000 (0:00:00.008) 0:00:11.813 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.245839", "end": "2023-12-19 15:53:07.532053", "rc": 0, "start": "2023-12-19 15:53:07.286214" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:40 Tuesday 19 December 2023 15:53:07 +0000 (0:00:00.433) 0:00:12.247 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tests_network_state_nm.yml:11 Tuesday 19 December 2023 15:53:07 +0000 (0:00:00.008) 0:00:12.256 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for configuring network using network state variable] *************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:3 Tuesday 19 December 2023 15:53:07 +0000 (0:00:00.014) 0:00:12.271 ****** ok: [sut] TASK [Set type=veth and interface=ethtest0] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:12 Tuesday 19 December 2023 15:53:13 +0000 (0:00:05.780) 0:00:18.051 ****** 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.16t_odk5db/tests/playbooks/tests_network_state.yml:16 Tuesday 19 December 2023 15:53:13 +0000 (0:00:00.020) 0:00:18.072 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 15:53:13 +0000 (0:00:00.029) 0:00:18.101 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 15:53:13 +0000 (0:00:00.020) 0:00:18.122 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003299", "end": "2023-12-19 15:53:13.607656", "rc": 0, "start": "2023-12-19 15:53:13.604357" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 15:53:13 +0000 (0:00:00.201) 0:00:18.323 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 15:53:13 +0000 (0:00:00.018) 0:00:18.342 ****** 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.16t_odk5db/tests/playbooks/tests_network_state.yml:18 Tuesday 19 December 2023 15:53:13 +0000 (0:00:00.018) 0:00:18.360 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 15:53:13 +0000 (0:00:00.030) 0:00:18.390 ****** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 15:53:13 +0000 (0:00:00.016) 0:00:18.406 ****** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 15:53:13 +0000 (0:00:00.015) 0:00:18.422 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 15:53:13 +0000 (0:00:00.018) 0:00:18.441 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 15:53:13 +0000 (0:00:00.018) 0:00:18.460 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003368", "end": "2023-12-19 15:53:13.942978", "rc": 0, "start": "2023-12-19 15:53:13.939610" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 15:53:13 +0000 (0:00:00.197) 0:00:18.658 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 15:53:13 +0000 (0:00:00.018) 0:00:18.676 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 15:53:13 +0000 (0:00:00.017) 0:00:18.694 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 19 December 2023 15:53:17 +0000 (0:00:03.229) 0:00:21.923 ****** 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.014121", "end": "2023-12-19 15:53:17.421125", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2023-12-19 15:53:17.407004" } ok: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003682", "end": "2023-12-19 15:53:17.645500", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2023-12-19 15:53:17.641818" } ok: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.004429", "end": "2023-12-19 15:53:17.830538", "item": "ip link set ethtest0 up", "rc": 0, "start": "2023-12-19 15:53:17.826109" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 19 December 2023 15:53:17 +0000 (0:00:00.622) 0:00:22.545 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.024791", "end": "2023-12-19 15:53:18.052002", "rc": 0, "start": "2023-12-19 15:53:18.027211" } TASK [Delete veth interface ethtest0] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.222) 0:00:22.768 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.017) 0:00:22.785 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.017) 0:00:22.803 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.017) 0:00:22.821 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.017) 0:00:22.839 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:22 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.019) 0:00:22.858 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/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.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.029) 0:00:22.888 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.019) 0:00:22.907 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703001197.4106348, "block_size": 4096, "blocks": 0, "ctime": 1703001197.4106348, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34828, "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": 1703001197.4106348, "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.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.194) 0:00:23.102 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set type=veth and interface=ethtest1] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:24 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.019) 0:00:23.121 ****** 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.16t_odk5db/tests/playbooks/tests_network_state.yml:28 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.018) 0:00:23.139 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.029) 0:00:23.168 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.018) 0:00:23.187 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003270", "end": "2023-12-19 15:53:18.670369", "rc": 0, "start": "2023-12-19 15:53:18.667099" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.197) 0:00:23.384 ****** 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.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.019) 0:00:23.404 ****** 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.16t_odk5db/tests/playbooks/tests_network_state.yml:30 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.018) 0:00:23.422 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:3 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.031) 0:00:23.454 ****** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:8 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.017) 0:00:23.471 ****** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:13 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.016) 0:00:23.488 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.020) 0:00:23.508 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 15:53:18 +0000 (0:00:00.019) 0:00:23.527 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003353", "end": "2023-12-19 15:53:19.011475", "rc": 0, "start": "2023-12-19 15:53:19.008122" } STDOUT: bonding_masters eth0 ethtest0 lo peerethtest0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 15:53:19 +0000 (0:00:00.198) 0:00:23.725 ****** 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.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 15:53:19 +0000 (0:00:00.019) 0:00:23.745 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'ethtest0', 'lo', 'peerethtest0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:16 Tuesday 19 December 2023 15:53:19 +0000 (0:00:00.018) 0:00:23.763 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:23 Tuesday 19 December 2023 15:53:22 +0000 (0:00:02.970) 0:00:26.734 ****** 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.011482", "end": "2023-12-19 15:53:22.229973", "item": "ip link add ethtest1 type veth peer name peerethtest1", "rc": 0, "start": "2023-12-19 15:53:22.218491" } ok: [sut] => (item=ip link set peerethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerethtest1", "up" ], "delta": "0:00:00.003946", "end": "2023-12-19 15:53:22.454555", "item": "ip link set peerethtest1 up", "rc": 0, "start": "2023-12-19 15:53:22.450609" } ok: [sut] => (item=ip link set ethtest1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "ethtest1", "up" ], "delta": "0:00:00.004276", "end": "2023-12-19 15:53:22.639854", "item": "ip link set ethtest1 up", "rc": 0, "start": "2023-12-19 15:53:22.635578" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:31 Tuesday 19 December 2023 15:53:22 +0000 (0:00:00.619) 0:00:27.354 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "ethtest1", "managed", "true" ], "delta": "0:00:00.025869", "end": "2023-12-19 15:53:22.861093", "rc": 0, "start": "2023-12-19 15:53:22.835224" } TASK [Delete veth interface ethtest1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:39 Tuesday 19 December 2023 15:53:22 +0000 (0:00:00.223) 0:00:27.577 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:45 Tuesday 19 December 2023 15:53:22 +0000 (0:00:00.017) 0:00:27.595 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:50 Tuesday 19 December 2023 15:53:22 +0000 (0:00:00.017) 0:00:27.613 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest1] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:56 Tuesday 19 December 2023 15:53:22 +0000 (0:00:00.017) 0:00:27.631 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest1] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:61 Tuesday 19 December 2023 15:53:22 +0000 (0:00:00.017) 0:00:27.648 ****** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:34 Tuesday 19 December 2023 15:53:22 +0000 (0:00:00.017) 0:00:27.666 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/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.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 15:53:23 +0000 (0:00:00.030) 0:00:27.697 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:53:23 +0000 (0:00:00.020) 0:00:27.717 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703001202.2220576, "block_size": 4096, "blocks": 0, "ctime": 1703001202.2220576, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35414, "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": 1703001202.2220576, "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.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 15:53:23 +0000 (0:00:00.199) 0:00:27.916 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:53:23 +0000 (0:00:00.020) 0:00:27.936 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:53:23 +0000 (0:00:00.026) 0:00:27.963 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:53:23 +0000 (0:00:00.022) 0:00:27.986 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:53:23 +0000 (0:00:00.023) 0:00:28.009 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:53:23 +0000 (0:00:00.022) 0:00:28.032 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:53:25 +0000 (0:00:01.683) 0:00:29.716 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:53:26 +0000 (0:00:01.511) 0:00:31.227 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:53:26 +0000 (0:00:00.031) 0:00:31.258 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:53:26 +0000 (0:00:00.031) 0:00:31.290 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:53:26 +0000 (0:00:00.031) 0:00:31.321 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:53:26 +0000 (0:00:00.091) 0:00:31.412 ****** 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 [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:53:32 +0000 (0:00:05.894) 0:00:37.306 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' and ansible_distribution_major_version | int > 34 or ansible_distribution != 'Fedora' and ansible_distribution_major_version | int > 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:53:32 +0000 (0:00:00.034) 0:00:37.341 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:53:32 +0000 (0:00:00.034) 0:00:37.375 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:53:33 +0000 (0:00:00.536) 0:00:37.911 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:53:33 +0000 (0:00:00.033) 0:00:37.945 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:53:33 +0000 (0:00:00.029) 0:00:37.975 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:53:33 +0000 (0:00:00.030) 0:00:38.005 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:53:33 +0000 (0:00:00.464) 0:00:38.470 ****** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "02:49:cc:f8:3c:23", "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::49:ccff:fef8:3c23", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:49:CC:F8:3C:23", "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::509a:8dff:feb9:15b5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:9A:8D:B9:15:B5", "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::6f6a:1eb5:902f:2671", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "9A:95:CD:F2:F4:DF", "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::dc16:acff:fea4:20e9", "prefix-length": 64 } ], "enabled": true }, "mac-address": "DE:16:AC:A4:20:E9", "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::2895:29ff:fe0a:6c12", "prefix-length": 64 } ], "enabled": true }, "mac-address": "2A:95:29:0A:6C:12", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [] } } } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:53:34 +0000 (0:00:00.849) 0:00:39.319 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:53:34 +0000 (0:00:00.031) 0:00:39.351 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:53:34 +0000 (0:00:00.030) 0:00:39.382 ****** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "02:49:cc:f8:3c:23", "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::49:ccff:fef8:3c23", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:49:CC:F8:3C:23", "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::509a:8dff:feb9:15b5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:9A:8D:B9:15:B5", "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::6f6a:1eb5:902f:2671", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "9A:95:CD:F2:F4:DF", "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::dc16:acff:fea4:20e9", "prefix-length": 64 } ], "enabled": true }, "mac-address": "DE:16:AC:A4:20:E9", "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::2895:29ff:fe0a:6c12", "prefix-length": 64 } ], "enabled": true }, "mac-address": "2A:95:29:0A:6C:12", "mtu": 1500, "name": "peerethtest1", "state": "up", "type": "veth", "veth": { "peer": "ethtest1" } } ], "route-rules": { "config": [] }, "routes": { "config": [] } } } } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:53:34 +0000 (0:00:00.038) 0:00:39.420 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the ethtest0 state configuration] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:75 Tuesday 19 December 2023 15:53:35 +0000 (0:00:00.301) 0:00:39.722 ****** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest0" ], "delta": "0:00:01.476380", "end": "2023-12-19 15:53:36.679353", "rc": 0, "start": "2023-12-19 15:53:35.202973" } 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: 103 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: 103 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::509a:8dff:feb9:15b5 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 52:9A:8D:B9:15:B5 mtu: 1500 veth: peer: peerethtest0 wait-ip: any STDERR: 2023-12-19 15:53:35,616 root DEBUG NetworkManager version 1.40.16 2023-12-19 15:53:35,617 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-12-19 15:53:35,618 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-12-19 15:53:35,618 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-12-19 15:53:35,620 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-12-19 15:53:35,620 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-12-19 15:53:35,621 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-12-19 15:53:35,623 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-12-19 15:53:35,623 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-12-19 15:53:35,624 root DEBUG Interface ethernet.ethtest1 found. Merging the interface information. TASK [Get the ethtest1 state configuration] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:81 Tuesday 19 December 2023 15:53:36 +0000 (0:00:01.683) 0:00:41.405 ****** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show", "ethtest1" ], "delta": "0:00:01.469814", "end": "2023-12-19 15:53:38.355339", "rc": 0, "start": "2023-12-19 15:53:36.885525" } 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::6f6a:1eb5:902f:2671 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: 9A:95:CD:F2:F4:DF mtu: 1500 veth: peer: peerethtest1 wait-ip: any STDERR: 2023-12-19 15:53:37,293 root DEBUG NetworkManager version 1.40.16 2023-12-19 15:53:37,295 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-12-19 15:53:37,295 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-12-19 15:53:37,295 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-12-19 15:53:37,297 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-12-19 15:53:37,298 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-12-19 15:53:37,298 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-12-19 15:53:37,300 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-12-19 15:53:37,301 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-12-19 15:53:37,301 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.16t_odk5db/tests/playbooks/tests_network_state.yml:87 Tuesday 19 December 2023 15:53:38 +0000 (0:00:01.675) 0:00:43.081 ****** 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.16t_odk5db/tests/playbooks/tests_network_state.yml:94 Tuesday 19 December 2023 15:53:38 +0000 (0:00:00.083) 0:00:43.165 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:53:38 +0000 (0:00:00.031) 0:00:43.196 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:53:38 +0000 (0:00:00.044) 0:00:43.241 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:53:38 +0000 (0:00:00.036) 0:00:43.277 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:53:38 +0000 (0:00:00.034) 0:00:43.311 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:53:38 +0000 (0:00:00.035) 0:00:43.347 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:53:40 +0000 (0:00:01.606) 0:00:44.954 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:53:41 +0000 (0:00:01.337) 0:00:46.292 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:53:41 +0000 (0:00:00.031) 0:00:46.324 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:53:41 +0000 (0:00:00.031) 0:00:46.355 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:53:41 +0000 (0:00:00.030) 0:00:46.386 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:53:41 +0000 (0:00:00.051) 0:00:46.438 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:53:44 +0000 (0:00:03.017) 0:00:49.456 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' and ansible_distribution_major_version | int > 34 or ansible_distribution != 'Fedora' and ansible_distribution_major_version | int > 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:53:44 +0000 (0:00:00.032) 0:00:49.489 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:53:44 +0000 (0:00:00.032) 0:00:49.521 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:53:45 +0000 (0:00:00.375) 0:00:49.897 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:53:45 +0000 (0:00:00.033) 0:00:49.931 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:53:45 +0000 (0:00:00.028) 0:00:49.960 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:53:45 +0000 (0:00:00.028) 0:00:49.988 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:53:45 +0000 (0:00:00.340) 0:00:50.329 ****** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "02:49:cc:f8:3c:23", "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::49:ccff:fef8:3c23", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:49:CC:F8:3C:23", "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::509a:8dff:feb9:15b5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:9A:8D:B9:15:B5", "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::6f6a:1eb5:902f:2671", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "9A:95:CD:F2:F4:DF", "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::dc16:acff:fea4:20e9", "prefix-length": 64 } ], "enabled": true }, "mac-address": "DE:16:AC:A4:20:E9", "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::2895:29ff:fe0a:6c12", "prefix-length": 64 } ], "enabled": true }, "mac-address": "2A:95:29:0A:6C:12", "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 [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:53:46 +0000 (0:00:00.630) 0:00:50.960 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:53:46 +0000 (0:00:00.032) 0:00:50.993 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:53:46 +0000 (0:00:00.031) 0:00:51.024 ****** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": {} }, "interfaces": [ { "_permanent_mac_address": "02:49:cc:f8:3c:23", "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::49:ccff:fef8:3c23", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:49:CC:F8:3C:23", "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::509a:8dff:feb9:15b5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:9A:8D:B9:15:B5", "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::6f6a:1eb5:902f:2671", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "9A:95:CD:F2:F4:DF", "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::dc16:acff:fea4:20e9", "prefix-length": 64 } ], "enabled": true }, "mac-address": "DE:16:AC:A4:20:E9", "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::2895:29ff:fe0a:6c12", "prefix-length": 64 } ], "enabled": true }, "mac-address": "2A:95:29:0A:6C:12", "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 [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:53:46 +0000 (0:00:00.037) 0:00:51.062 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the route configuration] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:113 Tuesday 19 December 2023 15:53:46 +0000 (0:00:00.213) 0:00:51.276 ****** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.481913", "end": "2023-12-19 15:53:47.238554", "rc": 0, "start": "2023-12-19 15:53:46.756641" } 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: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.44.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.44.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.44.25 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::49:ccff:fef8:3c23 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 02:49:CC:F8:3C:23 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::509a:8dff:feb9:15b5 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 52:9A:8D:B9:15:B5 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::6f6a:1eb5:902f:2671 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: 9A:95:CD:F2:F4:DF 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::dc16:acff:fea4:20e9 prefix-length: 64 mac-address: DE:16:AC:A4:20:E9 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::2895:29ff:fe0a:6c12 prefix-length: 64 mac-address: 2A:95:29:0A:6C:12 mtu: 1500 veth: peer: ethtest1 STDERR: 2023-12-19 15:53:47,166 root DEBUG NetworkManager version 1.40.16 2023-12-19 15:53:47,168 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-12-19 15:53:47,168 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-12-19 15:53:47,169 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-12-19 15:53:47,170 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-12-19 15:53:47,171 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-12-19 15:53:47,171 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-12-19 15:53:47,173 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-12-19 15:53:47,174 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-12-19 15:53:47,174 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.16t_odk5db/tests/playbooks/tests_network_state.yml:119 Tuesday 19 December 2023 15:53:47 +0000 (0:00:00.688) 0:00:51.965 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:53:47 +0000 (0:00:00.034) 0:00:51.999 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:53:47 +0000 (0:00:00.073) 0:00:52.073 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:53:47 +0000 (0:00:00.037) 0:00:52.111 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:53:47 +0000 (0:00:00.036) 0:00:52.147 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:53:47 +0000 (0:00:00.034) 0:00:52.181 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:53:49 +0000 (0:00:01.619) 0:00:53.801 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:53:50 +0000 (0:00:01.340) 0:00:55.142 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:53:50 +0000 (0:00:00.032) 0:00:55.174 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:53:50 +0000 (0:00:00.031) 0:00:55.205 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:53:50 +0000 (0:00:00.033) 0:00:55.239 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:53:50 +0000 (0:00:00.052) 0:00:55.291 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:53:53 +0000 (0:00:02.976) 0:00:58.268 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'Fedora' and ansible_distribution_major_version | int > 34 or ansible_distribution != 'Fedora' and ansible_distribution_major_version | int > 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:53:53 +0000 (0:00:00.034) 0:00:58.303 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:53:53 +0000 (0:00:00.032) 0:00:58.335 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:53:54 +0000 (0:00:00.375) 0:00:58.711 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:53:54 +0000 (0:00:00.061) 0:00:58.772 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:53:54 +0000 (0:00:00.030) 0:00:58.803 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:53:54 +0000 (0:00:00.030) 0:00:58.833 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:53:54 +0000 (0:00:00.344) 0:00:59.178 ****** changed: [sut] => { "changed": true, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "02:49:cc:f8:3c:23", "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::49:ccff:fef8:3c23", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:49:CC:F8:3C:23", "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::509a:8dff:feb9:15b5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:9A:8D:B9:15:B5", "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::6f6a:1eb5:902f:2671", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "9A:95:CD:F2:F4:DF", "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::dc16:acff:fea4:20e9", "prefix-length": 64 } ], "enabled": true }, "mac-address": "DE:16:AC:A4:20:E9", "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::2895:29ff:fe0a:6c12", "prefix-length": 64 } ], "enabled": true }, "mac-address": "2A:95:29:0A:6C:12", "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 [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:53:55 +0000 (0:00:00.634) 0:00:59.812 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:53:55 +0000 (0:00:00.033) 0:00:59.846 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:53:55 +0000 (0:00:00.034) 0:00:59.881 ****** ok: [sut] => { "__network_state_result": { "changed": true, "failed": false, "state": { "dns-resolver": { "config": { "search": [ "example.com", "example.org" ], "server": [ "2001:4860:4860::8888" ] } }, "interfaces": [ { "_permanent_mac_address": "02:49:cc:f8:3c:23", "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::49:ccff:fef8:3c23", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "02:49:CC:F8:3C:23", "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::509a:8dff:feb9:15b5", "prefix-length": 64 } ], "autoconf": false, "dhcp": false, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "52:9A:8D:B9:15:B5", "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::6f6a:1eb5:902f:2671", "prefix-length": 64 } ], "auto-dns": false, "auto-gateway": true, "auto-route-table-id": 0, "auto-routes": true, "autoconf": true, "dhcp": true, "enabled": true }, "lldp": { "enabled": false }, "mac-address": "9A:95:CD:F2:F4:DF", "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::dc16:acff:fea4:20e9", "prefix-length": 64 } ], "enabled": true }, "mac-address": "DE:16:AC:A4:20:E9", "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::2895:29ff:fe0a:6c12", "prefix-length": 64 } ], "enabled": true }, "mac-address": "2A:95:29:0A:6C:12", "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 [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:53:55 +0000 (0:00:00.040) 0:00:59.921 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the DNS configuration from nmstatectl] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:142 Tuesday 19 December 2023 15:53:55 +0000 (0:00:00.215) 0:01:00.137 ****** ok: [sut] => { "changed": false, "cmd": [ "nmstatectl", "show" ], "delta": "0:00:00.483978", "end": "2023-12-19 15:53:56.101723", "rc": 0, "start": "2023-12-19 15:53:55.617745" } 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: 103 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: eth0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest0 table-id: 254 - destination: fe80::/64 metric: 256 next-hop-address: '::' next-hop-interface: peerethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest1 table-id: 254 - destination: fe80::/64 metric: 1024 next-hop-address: '::' next-hop-interface: ethtest0 table-id: 254 - destination: 0.0.0.0/0 metric: 100 next-hop-address: 10.31.44.1 next-hop-interface: eth0 table-id: 254 - destination: 10.31.44.0/22 metric: 100 next-hop-address: 0.0.0.0 next-hop-interface: eth0 table-id: 254 - destination: 192.0.2.100/30 metric: 150 next-hop-address: 192.168.122.250 next-hop-interface: ethtest0 table-id: 254 - destination: 192.168.122.0/24 metric: 102 next-hop-address: 0.0.0.0 next-hop-interface: ethtest1 table-id: 254 - destination: 192.168.122.0/24 metric: 103 next-hop-address: 0.0.0.0 next-hop-interface: ethtest0 table-id: 254 interfaces: - name: eth0 type: ethernet state: up accept-all-mac-addresses: false ethtool: feature: rx-gro: true tx-generic-segmentation: true tx-tcp-segmentation: true ipv4: enabled: true address: - ip: 10.31.44.25 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::49:ccff:fef8:3c23 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 02:49:CC:F8:3C:23 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::509a:8dff:feb9:15b5 prefix-length: 64 autoconf: false dhcp: false lldp: enabled: false mac-address: 52:9A:8D:B9:15:B5 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::6f6a:1eb5:902f:2671 prefix-length: 64 auto-dns: false auto-gateway: true auto-route-table-id: 0 auto-routes: true autoconf: true dhcp: true lldp: enabled: false mac-address: 9A:95:CD:F2:F4:DF 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::dc16:acff:fea4:20e9 prefix-length: 64 mac-address: DE:16:AC:A4:20:E9 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::2895:29ff:fe0a:6c12 prefix-length: 64 mac-address: 2A:95:29:0A:6C:12 mtu: 1500 veth: peer: ethtest1 STDERR: 2023-12-19 15:53:56,029 root DEBUG NetworkManager version 1.40.16 2023-12-19 15:53:56,030 root DEBUG Async action: Retrieve applied config: ethernet eth0 started 2023-12-19 15:53:56,031 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 started 2023-12-19 15:53:56,031 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 started 2023-12-19 15:53:56,032 root DEBUG Async action: Retrieve applied config: ethernet eth0 finished 2023-12-19 15:53:56,033 root DEBUG Async action: Retrieve applied config: ethernet ethtest0 finished 2023-12-19 15:53:56,034 root DEBUG Async action: Retrieve applied config: ethernet ethtest1 finished 2023-12-19 15:53:56,036 root DEBUG Interface ethernet.eth0 found. Merging the interface information. 2023-12-19 15:53:56,036 root DEBUG Interface ethernet.ethtest0 found. Merging the interface information. 2023-12-19 15:53:56,036 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.16t_odk5db/tests/playbooks/tests_network_state.yml:148 Tuesday 19 December 2023 15:53:56 +0000 (0:00:00.691) 0:01:00.829 ****** ok: [sut] => { "changed": false, "cmd": [ "cat", "/run/NetworkManager/no-stub-resolv.conf" ], "delta": "0:00:00.003029", "end": "2023-12-19 15:53:56.313371", "rc": 0, "start": "2023-12-19 15:53:56.310342" } 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.16t_odk5db/tests/playbooks/tests_network_state.yml:153 Tuesday 19 December 2023 15:53:56 +0000 (0:00:00.208) 0:01:01.037 ****** 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.16t_odk5db/tests/playbooks/tests_network_state.yml:161 Tuesday 19 December 2023 15:53:56 +0000 (0:00:00.035) 0:01:01.073 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:169 Tuesday 19 December 2023 15:53:56 +0000 (0:00:00.033) 0:01:01.106 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 19 December 2023 15:53:56 +0000 (0:00:00.050) 0:01:01.157 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest1" ], "delta": "0:00:00.014320", "end": "2023-12-19 15:53:56.654894", "rc": 0, "start": "2023-12-19 15:53:56.640574" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:171 Tuesday 19 December 2023 15:53:56 +0000 (0:00:00.258) 0:01:01.416 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/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.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 15:53:56 +0000 (0:00:00.051) 0:01:01.468 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:53:56 +0000 (0:00:00.039) 0:01:01.507 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest1'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 15:53:57 +0000 (0:00:00.208) 0:01:01.715 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set interface=ethtest0] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:173 Tuesday 19 December 2023 15:53:57 +0000 (0:00:00.030) 0:01:01.746 ****** 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.16t_odk5db/tests/playbooks/tests_network_state.yml:177 Tuesday 19 December 2023 15:53:57 +0000 (0:00:00.029) 0:01:01.776 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 19 December 2023 15:53:57 +0000 (0:00:00.050) 0:01:01.826 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.015256", "end": "2023-12-19 15:53:57.325094", "rc": 0, "start": "2023-12-19 15:53:57.309838" } TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:179 Tuesday 19 December 2023 15:53:57 +0000 (0:00:00.229) 0:01:02.056 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/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.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 15:53:57 +0000 (0:00:00.051) 0:01:02.107 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:53:57 +0000 (0:00:00.039) 0:01:02.147 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'ethtest0'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 15:53:57 +0000 (0:00:00.203) 0:01:02.350 ****** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=107 changed=4 unreachable=0 failed=0 skipped=51 rescued=0 ignored=0 Tuesday 19 December 2023 15:53:57 +0000 (0:00:00.088) 0:01:02.439 ****** =============================================================================== fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 5.89s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Gathering Facts --------------------------------------------------------- 5.86s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tests_network_state_nm.yml:5 Gathering Facts --------------------------------------------------------- 5.78s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:3 Gather the minimum subset of ansible_facts required by the network role test --- 5.37s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml:3 --- Install iproute --------------------------------------------------------- 3.23s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 3.02s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable --- 2.98s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Install iproute --------------------------------------------------------- 2.97s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get the ethtest0 state configuration ------------------------------------ 1.68s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:75 Get the ethtest1 state configuration ------------------------------------ 1.68s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:81 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking state ---------- 0.85s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Get the DNS configuration from nmstatectl ------------------------------- 0.69s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:142 Get the route configuration --------------------------------------------- 0.69s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_network_state.yml:113 fedora.linux_system_roles.network : Configure networking state ---------- 0.63s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---