# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_bridge_nm.yml ************************************************** 10 plays in /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tests_bridge_nm.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tests_bridge_nm.yml:5 Thursday 14 December 2023 17:28:32 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tests_bridge_nm.yml:9 Thursday 14 December 2023 17:28:32 +0000 (0:00:00.610) 0:00:00.623 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/tasks/el_repo_setup.yml:3 Thursday 14 December 2023 17:28:32 +0000 (0:00:00.011) 0:00:00.634 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/el_repo_setup.yml:19 Thursday 14 December 2023 17:28:33 +0000 (0:00:00.325) 0:00:00.960 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/el_repo_setup.yml:24 Thursday 14 December 2023 17:28:33 +0000 (0:00:00.286) 0:00:01.247 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/el_repo_setup.yml:28 Thursday 14 December 2023 17:28:33 +0000 (0:00:00.032) 0:00:01.279 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/el_repo_setup.yml:53 Thursday 14 December 2023 17:28:33 +0000 (0:00:00.031) 0:00:01.310 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml:8 Thursday 14 December 2023 17:28:33 +0000 (0:00:00.043) 0:00:01.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml:24 Thursday 14 December 2023 17:28:33 +0000 (0:00:00.011) 0:00:01.366 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml:30 Thursday 14 December 2023 17:28:33 +0000 (0:00:00.010) 0:00:01.377 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml:35 Thursday 14 December 2023 17:28:33 +0000 (0:00:00.015) 0:00:01.392 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tasks/enable_epel.yml:40 Thursday 14 December 2023 17:28:33 +0000 (0:00:00.020) 0:00:01.412 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tests_bridge_nm.yml:11 Thursday 14 December 2023 17:28:33 +0000 (0:00:00.010) 0:00:01.423 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_bridge.yml:3 Thursday 14 December 2023 17:28:33 +0000 (0:00:00.029) 0:00:01.452 ***** ok: [sut] META: ran handlers TASK [Set interface=LSR-TST-br31] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_bridge.yml:9 Thursday 14 December 2023 17:28:34 +0000 (0:00:00.486) 0:00:01.938 ***** ok: [sut] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_bridge.yml:12 Thursday 14 December 2023 17:28:34 +0000 (0:00:00.012) 0:00:01.950 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:28:34 +0000 (0:00:00.014) 0:00:01.965 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:28:34 +0000 (0:00:00.020) 0:00:01.985 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002876", "end": "2023-12-14 12:28:34.496635", "rc": 0, "start": "2023-12-14 12:28:34.493759" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:28:34 +0000 (0:00:00.227) 0:00:02.213 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:28:34 +0000 (0:00:00.012) 0:00:02.225 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_bridge.yml:14 Thursday 14 December 2023 17:28:34 +0000 (0:00:00.011) 0:00:02.237 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:28:34 +0000 (0:00:00.012) 0:00:02.249 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:28:34 +0000 (0:00:00.014) 0:00:02.264 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:28:34 +0000 (0:00:00.196) 0:00:02.460 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_bridge.yml:17 Thursday 14 December 2023 17:28:34 +0000 (0:00:00.058) 0:00:02.519 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:28:35 +0000 (0:00:00.494) 0:00:03.013 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:28:35 +0000 (0:00:00.133) 0:00:03.147 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:28:35 +0000 (0:00:00.021) 0:00:03.169 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:28:35 +0000 (0:00:00.022) 0:00:03.191 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:28:35 +0000 (0:00:00.020) 0:00:03.212 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:28:36 +0000 (0:00:01.428) 0:00:04.640 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:28:38 +0000 (0:00:01.073) 0:00:05.714 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:28:38 +0000 (0:00:00.022) 0:00:05.737 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:28:38 +0000 (0:00:00.031) 0:00:05.768 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:28:38 +0000 (0:00:00.037) 0:00:05.806 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:28:38 +0000 (0:00:00.044) 0:00:05.851 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:28:38 +0000 (0:00:00.022) 0:00:05.873 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:28:38 +0000 (0:00:00.024) 0:00:05.898 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:28:38 +0000 (0:00:00.052) 0:00:05.950 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:28:38 +0000 (0:00:00.528) 0:00:06.478 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:28:38 +0000 (0:00:00.031) 0:00:06.510 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:28:38 +0000 (0:00:00.022) 0:00:06.533 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:28:38 +0000 (0:00:00.021) 0:00:06.554 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, ab8ae07d-09be-4d39-88e1-2927260bea78 [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, ab8ae07d-09be-4d39-88e1-2927260bea78 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:28:39 +0000 (0:00:00.545) 0:00:07.100 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:28:39 +0000 (0:00:00.089) 0:00:07.189 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, ab8ae07d-09be-4d39-88e1-2927260bea78", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, ab8ae07d-09be-4d39-88e1-2927260bea78 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:28:39 +0000 (0:00:00.054) 0:00:07.244 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, ab8ae07d-09be-4d39-88e1-2927260bea78\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, ab8ae07d-09be-4d39-88e1-2927260bea78 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, ab8ae07d-09be-4d39-88e1-2927260bea78", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, ab8ae07d-09be-4d39-88e1-2927260bea78 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:28:39 +0000 (0:00:00.026) 0:00:07.270 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:28:39 +0000 (0:00:00.062) 0:00:07.333 ***** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/run_tasks.yml:3 Thursday 14 December 2023 17:28:39 +0000 (0:00:00.236) 0:00:07.569 ***** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_device_present.yml'] ********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/run_tasks.yml:6 Thursday 14 December 2023 17:28:40 +0000 (0:00:00.498) 0:00:08.068 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:28:40 +0000 (0:00:00.068) 0:00:08.137 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:28:40 +0000 (0:00:00.061) 0:00:08.198 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702574919.2785294, "block_size": 4096, "blocks": 0, "ctime": 1702574919.2785294, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LSR-TST-br31", "lnk_target": "../../devices/virtual/net/LSR-TST-br31", "mode": "0777", "mtime": 1702574919.2785294, "nlink": 1, "path": "/sys/class/net/LSR-TST-br31", "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 - 'LSR-TST-br31'] ******************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:28:40 +0000 (0:00:00.250) 0:00:08.449 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_present.yml] *********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/run_tasks.yml:3 Thursday 14 December 2023 17:28:40 +0000 (0:00:00.062) 0:00:08.511 ***** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_profile_present.yml'] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/run_tasks.yml:6 Thursday 14 December 2023 17:28:41 +0000 (0:00:00.492) 0:00:09.004 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 December 2023 17:28:41 +0000 (0:00:00.061) 0:00:09.065 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:28:41 +0000 (0:00:00.128) 0:00:09.194 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:28:41 +0000 (0:00:00.030) 0:00:09.224 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:28:41 +0000 (0:00:00.215) 0:00:09.439 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:28:41 +0000 (0:00:00.020) 0:00:09.460 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.019819", "end": "2023-12-14 12:28:41.940924", "rc": 0, "start": "2023-12-14 12:28:41.921105" } STDOUT: LSR-TST-br31 /etc/NetworkManager/system-connections/LSR-TST-br31.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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:28:41 +0000 (0:00:00.234) 0:00:09.694 ***** 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-LSR-TST-br31] ******************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:28:42 +0000 (0:00:00.024) 0:00:09.719 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:28:42 +0000 (0:00:00.022) 0:00:09.741 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:28:42 +0000 (0:00:00.042) 0:00:09.784 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:28:42 +0000 (0:00:00.023) 0:00:09.808 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'LSR-TST-br31'] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 December 2023 17:28:42 +0000 (0:00:00.044) 0:00:09.852 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'LSR-TST-br31'] **** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 December 2023 17:28:42 +0000 (0:00:00.033) 0:00:09.885 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in LSR-TST-br31] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 December 2023 17:28:42 +0000 (0:00:00.032) 0:00:09.918 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/down_profile.yml:3 Thursday 14 December 2023 17:28:42 +0000 (0:00:00.050) 0:00:09.968 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:28:42 +0000 (0:00:00.484) 0:00:10.453 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:28:42 +0000 (0:00:00.057) 0:00:10.510 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:28:42 +0000 (0:00:00.027) 0:00:10.538 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:28:42 +0000 (0:00:00.020) 0:00:10.558 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:28:42 +0000 (0:00:00.022) 0:00:10.581 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:28:44 +0000 (0:00:01.370) 0:00:11.952 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:28:45 +0000 (0:00:00.937) 0:00:12.889 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:28:45 +0000 (0:00:00.023) 0:00:12.912 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:28:45 +0000 (0:00:00.027) 0:00:12.940 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:28:45 +0000 (0:00:00.024) 0:00:12.965 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:28:45 +0000 (0:00:00.051) 0:00:13.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:28:45 +0000 (0:00:00.053) 0:00:13.069 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:28:45 +0000 (0:00:00.022) 0:00:13.092 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:28:45 +0000 (0:00:00.031) 0:00:13.124 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:28:45 +0000 (0:00:00.381) 0:00:13.505 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:28:45 +0000 (0:00:00.054) 0:00:13.560 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:28:45 +0000 (0:00:00.050) 0:00:13.610 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:28:45 +0000 (0:00:00.054) 0:00:13.665 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:28:46 +0000 (0:00:00.523) 0:00:14.188 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:28:46 +0000 (0:00:00.020) 0:00:14.209 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:28:46 +0000 (0:00:00.021) 0:00:14.230 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:28:46 +0000 (0:00:00.022) 0:00:14.252 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:28:46 +0000 (0:00:00.022) 0:00:14.275 ***** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/down_profile+delete_interface.yml:5 Thursday 14 December 2023 17:28:46 +0000 (0:00:00.286) 0:00:14.561 ***** ok: [sut] META: ran handlers TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/down_profile+delete_interface.yml:8 Thursday 14 December 2023 17:28:47 +0000 (0:00:00.520) 0:00:15.082 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/delete_interface.yml:3 Thursday 14 December 2023 17:28:47 +0000 (0:00:00.061) 0:00:15.144 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.006953", "end": "2023-12-14 12:28:47.617177", "rc": 1, "start": "2023-12-14 12:28:47.610224" } STDERR: Cannot find device "LSR-TST-br31" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/remove_profile.yml:3 Thursday 14 December 2023 17:28:47 +0000 (0:00:00.221) 0:00:15.366 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:28:48 +0000 (0:00:00.550) 0:00:15.917 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:28:48 +0000 (0:00:00.139) 0:00:16.056 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:28:48 +0000 (0:00:00.062) 0:00:16.118 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:28:48 +0000 (0:00:00.038) 0:00:16.156 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:28:48 +0000 (0:00:00.025) 0:00:16.182 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:28:49 +0000 (0:00:01.416) 0:00:17.598 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:28:50 +0000 (0:00:01.087) 0:00:18.686 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:28:51 +0000 (0:00:00.046) 0:00:18.732 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:28:51 +0000 (0:00:00.037) 0:00:18.770 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:28:51 +0000 (0:00:00.072) 0:00:18.842 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:28:51 +0000 (0:00:00.094) 0:00:18.937 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:28:51 +0000 (0:00:00.030) 0:00:18.968 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:28:51 +0000 (0:00:00.022) 0:00:18.991 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:28:51 +0000 (0:00:00.032) 0:00:19.023 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:28:51 +0000 (0:00:00.382) 0:00:19.405 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:28:51 +0000 (0:00:00.080) 0:00:19.486 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:28:51 +0000 (0:00:00.060) 0:00:19.547 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:28:51 +0000 (0:00:00.103) 0:00:19.650 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:28:52 +0000 (0:00:00.388) 0:00:20.039 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:28:52 +0000 (0:00:00.088) 0:00:20.127 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:28:52 +0000 (0:00:00.060) 0:00:20.188 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:28:52 +0000 (0:00:00.030) 0:00:20.219 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:28:52 +0000 (0:00:00.027) 0:00:20.246 ***** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/run_tasks.yml:3 Thursday 14 December 2023 17:28:52 +0000 (0:00:00.289) 0:00:20.536 ***** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_profile_absent.yml'] ********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/run_tasks.yml:6 Thursday 14 December 2023 17:28:53 +0000 (0:00:00.679) 0:00:21.215 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 December 2023 17:28:53 +0000 (0:00:00.044) 0:00:21.260 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:28:53 +0000 (0:00:00.051) 0:00:21.312 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:28:53 +0000 (0:00:00.036) 0:00:21.349 ***** 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.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:28:53 +0000 (0:00:00.238) 0:00:21.588 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:28:53 +0000 (0:00:00.061) 0:00:21.650 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.018564", "end": "2023-12-14 12:28:54.193052", "rc": 1, "start": "2023-12-14 12:28:54.174488" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:28:54 +0000 (0:00:00.287) 0:00:21.938 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:28:54 +0000 (0:00:00.050) 0:00:21.988 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:28:54 +0000 (0:00:00.068) 0:00:22.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:28:54 +0000 (0:00:00.043) 0:00:22.099 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:28:54 +0000 (0:00:00.055) 0:00:22.155 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'LSR-TST-br31'] ********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 December 2023 17:28:54 +0000 (0:00:00.024) 0:00:22.179 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_absent.yml] ************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/run_tasks.yml:3 Thursday 14 December 2023 17:28:54 +0000 (0:00:00.097) 0:00:22.276 ***** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_device_absent.yml'] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/run_tasks.yml:6 Thursday 14 December 2023 17:28:55 +0000 (0:00:00.550) 0:00:22.827 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:28:55 +0000 (0:00:00.049) 0:00:22.876 ***** included: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:28:55 +0000 (0:00:00.097) 0:00:22.974 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:28:55 +0000 (0:00:00.195) 0:00:23.170 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=78 changed=3 unreachable=0 failed=0 skipped=59 rescued=0 ignored=2 Thursday 14 December 2023 17:28:55 +0000 (0:00:00.022) 0:00:23.192 ***** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.37s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.09s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.07s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/run_tasks.yml:3 --- Gathering Facts --------------------------------------------------------- 0.61s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/tests_bridge_nm.yml:5 ------- Gathering Facts --------------------------------------------------------- 0.55s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/run_tasks.yml:3 --- Gathering Facts --------------------------------------------------------- 0.55s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/remove_profile.yml:3 linux-system-roles.network : Configure networking connection profiles --- 0.55s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.53s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 0.52s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.52s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 0.50s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/run_tasks.yml:3 --- Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_bridge.yml:17 Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/run_tasks.yml:3 --- Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/tests_bridge.yml:3 Gathering Facts --------------------------------------------------------- 0.48s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/playbooks/down_profile.yml:3 linux-system-roles.network : Configure networking connection profiles --- 0.39s /WORKDIR/git-ansible-lint-test-2.16ofbpd5cb/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---