# 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.166jtvyytx/.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_auto_gateway_nm.yml ******************************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/tests_auto_gateway_nm.yml PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/tests_auto_gateway_nm.yml:6 Thursday 21 December 2023 15:46:04 +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.166jtvyytx/tests/tests_auto_gateway_nm.yml:9 Thursday 21 December 2023 15:46:05 +0000 (0:00:00.959) 0:00:00.970 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/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.166jtvyytx/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 15:46:05 +0000 (0:00:00.011) 0:00:00.982 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/tasks/el_repo_setup.yml:17 Thursday 21 December 2023 15:46:06 +0000 (0:00:00.429) 0:00:01.411 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/tasks/el_repo_setup.yml:22 Thursday 21 December 2023 15:46:06 +0000 (0:00:00.293) 0:00:01.704 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/tasks/el_repo_setup.yml:26 Thursday 21 December 2023 15:46:06 +0000 (0:00:00.013) 0:00:01.718 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/tasks/el_repo_setup.yml:51 Thursday 21 December 2023 15:46:06 +0000 (0:00:00.007) 0:00:01.725 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 39] ********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 15:46:06 +0000 (0:00:00.019) 0:00:01.745 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 15:46:06 +0000 (0:00:00.007) 0:00:01.752 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 15:46:06 +0000 (0:00:00.007) 0:00:01.759 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 15:46:06 +0000 (0:00:00.007) 0:00:01.766 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 15:46:06 +0000 (0:00:00.007) 0:00:01.774 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/tests_auto_gateway_nm.yml:11 Thursday 21 December 2023 15:46:06 +0000 (0:00:00.006) 0:00:01.781 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing auto_gateway setting] *********************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:3 Thursday 21 December 2023 15:46:06 +0000 (0:00:00.015) 0:00:01.796 ***** ok: [sut] TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:9 Thursday 21 December 2023 15:46:07 +0000 (0:00:00.803) 0:00:02.599 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:46:07 +0000 (0:00:00.022) 0:00:02.621 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:46:07 +0000 (0:00:00.010) 0:00:02.631 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003977", "end": "2023-12-21 15:46:07.551160", "rc": 0, "start": "2023-12-21 15:46:07.547183" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:46:07 +0000 (0:00:00.295) 0:00:02.927 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:46:07 +0000 (0:00:00.010) 0:00:02.937 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:11 Thursday 21 December 2023 15:46:07 +0000 (0:00:00.009) 0:00:02.946 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 15:46:07 +0000 (0:00:00.023) 0:00:02.970 ***** 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.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 15:46:07 +0000 (0:00:00.007) 0:00:02.978 ***** 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.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 15:46:07 +0000 (0:00:00.007) 0:00:02.985 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:46:07 +0000 (0:00:00.010) 0:00:02.996 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:46:07 +0000 (0:00:00.009) 0:00:03.006 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004018", "end": "2023-12-21 15:46:07.872877", "rc": 0, "start": "2023-12-21 15:46:07.868859" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:46:07 +0000 (0:00:00.241) 0:00:03.248 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:46:07 +0000 (0:00:00.012) 0:00:03.261 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 15:46:07 +0000 (0:00:00.009) 0:00:03.270 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 15:46:09 +0000 (0:00:02.034) 0:00:05.305 ***** ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.097449", "end": "2023-12-21 15:46:10.269393", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-21 15:46:10.171944" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004516", "end": "2023-12-21 15:46:10.572483", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-21 15:46:10.567967" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004774", "end": "2023-12-21 15:46:10.811059", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-21 15:46:10.806285" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 15:46:10 +0000 (0:00:00.880) 0:00:06.186 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.245811", "end": "2023-12-21 15:46:11.298601", "rc": 0, "start": "2023-12-21 15:46:11.052790" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 15:46:11 +0000 (0:00:00.489) 0:00:06.676 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 15:46:11 +0000 (0:00:00.009) 0:00:06.685 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 15:46:11 +0000 (0:00:00.009) 0:00:06.694 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 15:46:11 +0000 (0:00:00.007) 0:00:06.702 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 15:46:11 +0000 (0:00:00.007) 0:00:06.709 ***** 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.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:15 Thursday 21 December 2023 15:46:11 +0000 (0:00:00.007) 0:00:06.717 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/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.166jtvyytx/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 15:46:11 +0000 (0:00:00.021) 0:00:06.738 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:46:11 +0000 (0:00:00.010) 0:00:06.748 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703173570.2678344, "block_size": 4096, "blocks": 0, "ctime": 1703173570.2678344, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703173570.2678344, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 15:46:11 +0000 (0:00:00.240) 0:00:06.989 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:17 Thursday 21 December 2023 15:46:11 +0000 (0:00:00.010) 0:00:07.000 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 15:46:11 +0000 (0:00:00.009) 0:00:07.010 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:46:11 +0000 (0:00:00.015) 0:00:07.025 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 15:46:11 +0000 (0:00:00.020) 0:00:07.046 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 15:46:11 +0000 (0:00:00.011) 0:00:07.057 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 15:46:11 +0000 (0:00:00.010) 0:00:07.068 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 15:46:14 +0000 (0:00:02.382) 0:00:09.450 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 15:46:15 +0000 (0:00:01.011) 0:00:10.462 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 15:46:15 +0000 (0:00:00.021) 0:00:10.483 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 15:46:15 +0000 (0:00:00.020) 0:00:10.503 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 15:46:15 +0000 (0:00:00.020) 0:00:10.524 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 15:46:15 +0000 (0:00:00.050) 0:00:10.574 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 15:46:15 +0000 (0:00:00.039) 0:00:10.614 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 15:46:15 +0000 (0:00:00.021) 0:00:10.636 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 15:46:15 +0000 (0:00:00.032) 0:00:10.669 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 15:46:15 +0000 (0:00:00.640) 0:00:11.310 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 15:46:15 +0000 (0:00:00.035) 0:00:11.345 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 15:46:16 +0000 (0:00:00.019) 0:00:11.365 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 15:46:16 +0000 (0:00:00.018) 0:00:11.384 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c20ed121-d0c3-47d1-be48-e756de77cb53 [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c20ed121-d0c3-47d1-be48-e756de77cb53 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 15:46:16 +0000 (0:00:00.807) 0:00:12.191 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 15:46:16 +0000 (0:00:00.023) 0:00:12.215 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c20ed121-d0c3-47d1-be48-e756de77cb53", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c20ed121-d0c3-47d1-be48-e756de77cb53 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 15:46:16 +0000 (0:00:00.023) 0:00:12.238 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": true, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1", "route_metric4": 65535 }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c20ed121-d0c3-47d1-be48-e756de77cb53\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c20ed121-d0c3-47d1-be48-e756de77cb53 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, c20ed121-d0c3-47d1-be48-e756de77cb53", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, c20ed121-d0c3-47d1-be48-e756de77cb53 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 15:46:16 +0000 (0:00:00.022) 0:00:12.260 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 15:46:16 +0000 (0:00:00.021) 0:00:12.282 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:42 Thursday 21 December 2023 15:46:17 +0000 (0:00:00.340) 0:00:12.623 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/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.166jtvyytx/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 15:46:17 +0000 (0:00:00.041) 0:00:12.664 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:46:17 +0000 (0:00:00.053) 0:00:12.718 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703173570.2678344, "block_size": 4096, "blocks": 0, "ctime": 1703173570.2678344, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26236, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703173570.2678344, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 15:46:17 +0000 (0:00:00.249) 0:00:12.968 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:44 Thursday 21 December 2023 15:46:17 +0000 (0:00:00.020) 0:00:12.988 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 15:46:17 +0000 (0:00:00.042) 0:00:13.030 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 15:46:17 +0000 (0:00:00.031) 0:00:13.062 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 15:46:17 +0000 (0:00:00.019) 0:00:13.082 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 15:46:17 +0000 (0:00:00.245) 0:00:13.327 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 15:46:17 +0000 (0:00:00.018) 0:00:13.346 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.107102", "end": "2023-12-21 15:46:18.317348", "rc": 0, "start": "2023-12-21 15:46:18.210246" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 15:46:18 +0000 (0:00:00.356) 0:00:13.702 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 15:46:18 +0000 (0:00:00.021) 0:00:13.724 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 15:46:18 +0000 (0:00:00.018) 0:00:13.743 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 15:46:18 +0000 (0:00:00.019) 0:00:13.762 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 15:46:18 +0000 (0:00:00.019) 0:00:13.782 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 15:46:18 +0000 (0:00:00.018) 0:00:13.800 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 15:46:18 +0000 (0:00:00.048) 0:00:13.848 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 15:46:18 +0000 (0:00:00.023) 0:00:13.872 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:48 Thursday 21 December 2023 15:46:18 +0000 (0:00:00.021) 0:00:13.893 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004114", "end": "2023-12-21 15:46:18.760974", "rc": 0, "start": "2023-12-21 15:46:18.756860" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.165 metric 100 default via 203.0.113.1 dev veth0 proto static metric 65535 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.165 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 65535 TASK [Assert default ipv4 route is present] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:52 Thursday 21 December 2023 15:46:18 +0000 (0:00:00.253) 0:00:14.147 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:58 Thursday 21 December 2023 15:46:18 +0000 (0:00:00.021) 0:00:14.169 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004173", "end": "2023-12-21 15:46:19.035771", "rc": 0, "start": "2023-12-21 15:46:19.031598" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Assert default ipv6 route is present] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:62 Thursday 21 December 2023 15:46:19 +0000 (0:00:00.252) 0:00:14.421 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:69 Thursday 21 December 2023 15:46:19 +0000 (0:00:00.022) 0:00:14.443 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 15:46:19 +0000 (0:00:00.020) 0:00:14.463 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:46:19 +0000 (0:00:00.034) 0:00:14.498 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 15:46:19 +0000 (0:00:00.032) 0:00:14.530 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 15:46:19 +0000 (0:00:00.021) 0:00:14.552 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 15:46:19 +0000 (0:00:00.021) 0:00:14.573 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 15:46:21 +0000 (0:00:02.314) 0:00:16.888 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 15:46:22 +0000 (0:00:00.885) 0:00:17.773 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 15:46:22 +0000 (0:00:00.022) 0:00:17.796 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 15:46:22 +0000 (0:00:00.022) 0:00:17.819 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 15:46:22 +0000 (0:00:00.022) 0:00:17.841 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 15:46:22 +0000 (0:00:00.051) 0:00:17.893 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 15:46:22 +0000 (0:00:00.022) 0:00:17.916 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 15:46:22 +0000 (0:00:00.021) 0:00:17.937 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 15:46:22 +0000 (0:00:00.033) 0:00:17.970 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 15:46:23 +0000 (0:00:00.483) 0:00:18.454 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 15:46:23 +0000 (0:00:00.035) 0:00:18.489 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 15:46:23 +0000 (0:00:00.022) 0:00:18.512 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 15:46:23 +0000 (0:00:00.020) 0:00:18.533 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 15:46:23 +0000 (0:00:00.563) 0:00:19.097 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 15:46:23 +0000 (0:00:00.022) 0:00:19.119 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 15:46:23 +0000 (0:00:00.021) 0:00:19.141 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 15:46:23 +0000 (0:00:00.021) 0:00:19.163 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 15:46:23 +0000 (0:00:00.049) 0:00:19.213 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:81 Thursday 21 December 2023 15:46:24 +0000 (0:00:00.255) 0:00:19.468 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 15:46:24 +0000 (0:00:00.046) 0:00:19.515 ***** 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.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 15:46:24 +0000 (0:00:00.020) 0:00:19.535 ***** 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.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 15:46:24 +0000 (0:00:00.020) 0:00:19.556 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:46:24 +0000 (0:00:00.031) 0:00:19.588 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:46:24 +0000 (0:00:00.030) 0:00:19.618 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004050", "end": "2023-12-21 15:46:24.489686", "rc": 0, "start": "2023-12-21 15:46:24.485636" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:46:24 +0000 (0:00:00.255) 0:00:19.874 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:46:24 +0000 (0:00:00.021) 0:00:19.895 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 15:46:24 +0000 (0:00:00.020) 0:00:19.916 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 15:46:26 +0000 (0:00:01.942) 0:00:21.858 ***** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 15:46:26 +0000 (0:00:00.026) 0:00:21.884 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 15:46:26 +0000 (0:00:00.047) 0:00:21.932 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.022398", "end": "2023-12-21 15:46:26.820801", "rc": 0, "start": "2023-12-21 15:46:26.798403" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 15:46:26 +0000 (0:00:00.276) 0:00:22.208 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 15:46:26 +0000 (0:00:00.019) 0:00:22.228 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 15:46:26 +0000 (0:00:00.019) 0:00:22.247 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 15:46:26 +0000 (0:00:00.018) 0:00:22.266 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [TEST: I can configure an interface with auto_gateway disabled] *********** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:85 Thursday 21 December 2023 15:46:26 +0000 (0:00:00.018) 0:00:22.284 ***** ok: [sut] => {} MSG: ################################################## TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:89 Thursday 21 December 2023 15:46:26 +0000 (0:00:00.019) 0:00:22.303 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 15:46:26 +0000 (0:00:00.045) 0:00:22.349 ***** 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.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 15:46:27 +0000 (0:00:00.019) 0:00:22.369 ***** 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.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 15:46:27 +0000 (0:00:00.019) 0:00:22.388 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:46:27 +0000 (0:00:00.030) 0:00:22.419 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:46:27 +0000 (0:00:00.029) 0:00:22.448 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004090", "end": "2023-12-21 15:46:27.316328", "rc": 0, "start": "2023-12-21 15:46:27.312238" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:46:27 +0000 (0:00:00.252) 0:00:22.701 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:46:27 +0000 (0:00:00.053) 0:00:22.754 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 15:46:27 +0000 (0:00:00.021) 0:00:22.776 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 15:46:29 +0000 (0:00:01.965) 0:00:24.741 ***** ok: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.009303", "end": "2023-12-21 15:46:29.619023", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2023-12-21 15:46:29.609720" } ok: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.004440", "end": "2023-12-21 15:46:29.904121", "item": "ip link set peerveth0 up", "rc": 0, "start": "2023-12-21 15:46:29.899681" } ok: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004441", "end": "2023-12-21 15:46:30.137837", "item": "ip link set veth0 up", "rc": 0, "start": "2023-12-21 15:46:30.133396" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 15:46:30 +0000 (0:00:00.784) 0:00:25.525 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.023677", "end": "2023-12-21 15:46:30.415116", "rc": 0, "start": "2023-12-21 15:46:30.391439" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 15:46:30 +0000 (0:00:00.275) 0:00:25.800 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 15:46:30 +0000 (0:00:00.019) 0:00:25.820 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 15:46:30 +0000 (0:00:00.019) 0:00:25.839 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 15:46:30 +0000 (0:00:00.018) 0:00:25.858 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 15:46:30 +0000 (0:00:00.019) 0:00:25.877 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 15:46:30 +0000 (0:00:00.019) 0:00:25.897 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:46:30 +0000 (0:00:00.033) 0:00:25.930 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 15:46:30 +0000 (0:00:00.032) 0:00:25.962 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 15:46:30 +0000 (0:00:00.021) 0:00:25.984 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 15:46:30 +0000 (0:00:00.021) 0:00:26.006 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 15:46:32 +0000 (0:00:02.281) 0:00:28.288 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 15:46:33 +0000 (0:00:00.902) 0:00:29.191 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 15:46:33 +0000 (0:00:00.022) 0:00:29.214 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 15:46:33 +0000 (0:00:00.021) 0:00:29.236 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 15:46:33 +0000 (0:00:00.023) 0:00:29.259 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 15:46:33 +0000 (0:00:00.052) 0:00:29.312 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 15:46:33 +0000 (0:00:00.022) 0:00:29.334 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 15:46:34 +0000 (0:00:00.023) 0:00:29.358 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 15:46:34 +0000 (0:00:00.033) 0:00:29.391 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 15:46:34 +0000 (0:00:00.487) 0:00:29.879 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 15:46:34 +0000 (0:00:00.035) 0:00:29.915 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 15:46:34 +0000 (0:00:00.019) 0:00:29.935 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 15:46:34 +0000 (0:00:00.019) 0:00:29.954 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1fe521a0-c173-411b-9191-71f8103392ce [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1fe521a0-c173-411b-9191-71f8103392ce (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.513) 0:00:30.467 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.022) 0:00:30.490 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1fe521a0-c173-411b-9191-71f8103392ce", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1fe521a0-c173-411b-9191-71f8103392ce (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.022) 0:00:30.512 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "2001:db8::2/64", "203.0.113.2/24" ], "auto6": false, "auto_gateway": false, "dhcp4": false, "gateway4": "203.0.113.1", "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1fe521a0-c173-411b-9191-71f8103392ce\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1fe521a0-c173-411b-9191-71f8103392ce (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 1fe521a0-c173-411b-9191-71f8103392ce", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 1fe521a0-c173-411b-9191-71f8103392ce (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.050) 0:00:30.562 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.022) 0:00:30.585 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:110 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.255) 0:00:30.841 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/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.166jtvyytx/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.046) 0:00:30.888 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.029) 0:00:30.917 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703173589.6149952, "block_size": 4096, "blocks": 0, "ctime": 1703173589.6149952, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26822, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1703173589.6149952, "nlink": 1, "path": "/sys/class/net/veth0", "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 - 'veth0'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.250) 0:00:31.167 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:112 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.021) 0:00:31.188 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.046) 0:00:31.235 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.030) 0:00:31.266 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 15:46:35 +0000 (0:00:00.019) 0:00:31.285 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.276) 0:00:31.562 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.019) 0:00:31.581 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.024535", "end": "2023-12-21 15:46:36.472295", "rc": 0, "start": "2023-12-21 15:46:36.447760" } STDOUT: veth0 /etc/NetworkManager/system-connections/veth0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.280) 0:00:31.862 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-veth0] ************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.022) 0:00:31.884 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-veth0] *********************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.019) 0:00:31.903 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-veth0] ****************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.019) 0:00:31.922 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-veth0] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.019) 0:00:31.942 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'veth0'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.019) 0:00:31.961 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'veth0'] *********** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.021) 0:00:31.983 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in veth0] ***************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.022) 0:00:32.005 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Show ipv4 routes] ******************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:116 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.020) 0:00:32.025 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "route" ], "delta": "0:00:00.004121", "end": "2023-12-21 15:46:36.891770", "rc": 0, "start": "2023-12-21 15:46:36.887649" } STDOUT: default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.165 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.165 metric 100 203.0.113.0/24 dev veth0 proto kernel scope link src 203.0.113.2 metric 101 TASK [Assert default ipv4 route is absent] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:120 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.252) 0:00:32.278 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:126 Thursday 21 December 2023 15:46:36 +0000 (0:00:00.021) 0:00:32.299 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.004229", "end": "2023-12-21 15:46:37.166435", "rc": 0, "start": "2023-12-21 15:46:37.162206" } STDOUT: 2001:db8::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev peerveth0 proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 1024 pref medium fe80::/64 dev veth0 proto kernel metric 1024 pref medium TASK [Assert default ipv6 route is absent] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:130 Thursday 21 December 2023 15:46:37 +0000 (0:00:00.251) 0:00:32.551 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEARDOWN: remove profiles.] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:137 Thursday 21 December 2023 15:46:37 +0000 (0:00:00.021) 0:00:32.572 ***** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 15:46:37 +0000 (0:00:00.020) 0:00:32.592 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:46:37 +0000 (0:00:00.062) 0:00:32.655 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 15:46:37 +0000 (0:00:00.033) 0:00:32.688 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 15:46:37 +0000 (0:00:00.022) 0:00:32.710 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 15:46:37 +0000 (0:00:00.022) 0:00:32.733 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 15:46:39 +0000 (0:00:02.306) 0:00:35.039 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 15:46:40 +0000 (0:00:00.836) 0:00:35.875 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 15:46:40 +0000 (0:00:00.022) 0:00:35.898 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 15:46:40 +0000 (0:00:00.022) 0:00:35.920 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 15:46:40 +0000 (0:00:00.024) 0:00:35.944 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 15:46:40 +0000 (0:00:00.051) 0:00:35.996 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 15:46:40 +0000 (0:00:00.021) 0:00:36.018 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 15:46:40 +0000 (0:00:00.023) 0:00:36.041 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 15:46:40 +0000 (0:00:00.035) 0:00:36.077 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 15:46:41 +0000 (0:00:00.485) 0:00:36.562 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 15:46:41 +0000 (0:00:00.100) 0:00:36.663 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 15:46:41 +0000 (0:00:00.020) 0:00:36.683 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 15:46:41 +0000 (0:00:00.018) 0:00:36.702 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 15:46:41 +0000 (0:00:00.516) 0:00:37.219 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 15:46:41 +0000 (0:00:00.023) 0:00:37.242 ***** 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.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 15:46:41 +0000 (0:00:00.022) 0:00:37.265 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 15:46:41 +0000 (0:00:00.022) 0:00:37.287 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 15:46:41 +0000 (0:00:00.022) 0:00:37.310 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:149 Thursday 21 December 2023 15:46:42 +0000 (0:00:00.254) 0:00:37.564 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 15:46:42 +0000 (0:00:00.049) 0:00:37.614 ***** 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.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 15:46:42 +0000 (0:00:00.018) 0:00:37.633 ***** 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.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 15:46:42 +0000 (0:00:00.019) 0:00:37.652 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:46:42 +0000 (0:00:00.029) 0:00:37.682 ***** included: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:46:42 +0000 (0:00:00.059) 0:00:37.742 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003972", "end": "2023-12-21 15:46:42.611337", "rc": 0, "start": "2023-12-21 15:46:42.607365" } STDOUT: eth0 lo peerveth0 veth0 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:46:42 +0000 (0:00:00.254) 0:00:37.996 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peerveth0", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:46:42 +0000 (0:00:00.021) 0:00:38.018 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peerveth0', 'veth0'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 15:46:42 +0000 (0:00:00.021) 0:00:38.039 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 15:46:44 +0000 (0:00:01.957) 0:00:39.997 ***** skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 15:46:44 +0000 (0:00:00.028) 0:00:40.025 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 15:46:44 +0000 (0:00:00.020) 0:00:40.045 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.021579", "end": "2023-12-21 15:46:44.932172", "rc": 0, "start": "2023-12-21 15:46:44.910593" } TASK [Create dummy interface veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 15:46:44 +0000 (0:00:00.273) 0:00:40.319 ***** 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 veth0] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 15:46:44 +0000 (0:00:00.020) 0:00:40.339 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 15:46:45 +0000 (0:00:00.019) 0:00:40.358 ***** 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 veth0] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 15:46:45 +0000 (0:00:00.018) 0:00:40.377 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=125 changed=4 unreachable=0 failed=0 skipped=102 rescued=0 ignored=0 Thursday 21 December 2023 15:46:45 +0000 (0:00:00.049) 0:00:40.427 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.38s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.31s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.31s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.28s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.03s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.97s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.96s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 1.94s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.96s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/tests_auto_gateway_nm.yml:6 - fedora.linux_system_roles.network : Check which packages are installed --- 0.90s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.89s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface veth0 --------------------------------------------- 0.88s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.81s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Gathering Facts --------------------------------------------------------- 0.80s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tests_auto_gateway.yml:3 Create veth interface veth0 --------------------------------------------- 0.78s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/tests/playbooks/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.64s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.56s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.52s /WORKDIR/git-ansible-lint-test-2.166jtvyytx/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---