# 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_cloned_mac_nm.yml *************************************** 6 plays in /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/tests_bridge_cloned_mac_nm.yml PLAY [Run playbook 'playbooks/tests_bridge_cloned_mac.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/tests_bridge_cloned_mac_nm.yml:5 Tuesday 19 December 2023 15:33:04 +0000 (0:00:00.067) 0:00:00.067 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/tests_bridge_cloned_mac_nm.yml:9 Tuesday 19 December 2023 15:33:05 +0000 (0:00:00.690) 0:00:00.757 ****** included: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/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.16cdou4z90/tests/tasks/el_repo_setup.yml:3 Tuesday 19 December 2023 15:33:05 +0000 (0:00:00.055) 0:00:00.813 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/tasks/el_repo_setup.yml:19 Tuesday 19 December 2023 15:33:05 +0000 (0:00:00.448) 0:00:01.262 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/tasks/el_repo_setup.yml:24 Tuesday 19 December 2023 15:33:06 +0000 (0:00:00.328) 0:00:01.591 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/tasks/el_repo_setup.yml:28 Tuesday 19 December 2023 15:33:06 +0000 (0:00:00.038) 0:00:01.629 ****** 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.16cdou4z90/tests/tasks/el_repo_setup.yml:53 Tuesday 19 December 2023 15:33:06 +0000 (0:00:00.027) 0:00:01.657 ****** included: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/tasks/enable_epel.yml:8 Tuesday 19 December 2023 15:33:06 +0000 (0:00:00.032) 0:00:01.690 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/tasks/enable_epel.yml:24 Tuesday 19 December 2023 15:33:06 +0000 (0:00:00.013) 0:00:01.703 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/tasks/enable_epel.yml:30 Tuesday 19 December 2023 15:33:06 +0000 (0:00:00.015) 0:00:01.718 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/tasks/enable_epel.yml:35 Tuesday 19 December 2023 15:33:06 +0000 (0:00:00.011) 0:00:01.730 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/tasks/enable_epel.yml:40 Tuesday 19 December 2023 15:33:06 +0000 (0:00:00.022) 0:00:01.752 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/tests_bridge_cloned_mac_nm.yml:11 Tuesday 19 December 2023 15:33:06 +0000 (0:00:00.022) 0:00:01.775 ****** 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.16cdou4z90/tests/playbooks/tests_bridge_cloned_mac.yml:3 Tuesday 19 December 2023 15:33:06 +0000 (0:00:00.036) 0:00:01.812 ****** ok: [sut] META: ran handlers TASK [Define vars] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/playbooks/tests_bridge_cloned_mac.yml:6 Tuesday 19 December 2023 15:33:07 +0000 (0:00:00.512) 0:00:02.325 ****** ok: [sut] => { "ansible_facts": { "cloned_mac": "12:23:34:45:56:70", "interface": "LSR-TST-br31" }, "changed": false } META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/playbooks/tests_bridge_cloned_mac.yml:11 Tuesday 19 December 2023 15:33:07 +0000 (0:00:00.029) 0:00:02.355 ****** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:33:07 +0000 (0:00:00.470) 0:00:02.825 ****** included: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:33:07 +0000 (0:00:00.068) 0:00:02.894 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:33:07 +0000 (0:00:00.015) 0:00:02.909 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:33:07 +0000 (0:00:00.018) 0:00:02.928 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:33:07 +0000 (0:00:00.010) 0:00:02.939 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:33:09 +0000 (0:00:01.445) 0:00:04.384 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:33:10 +0000 (0:00:01.192) 0:00:05.576 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:33:10 +0000 (0:00:00.063) 0:00:05.639 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:33:10 +0000 (0:00:00.054) 0:00:05.694 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:33:10 +0000 (0:00:00.032) 0:00:05.727 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:33:10 +0000 (0:00:00.062) 0:00:05.789 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:33:10 +0000 (0:00:00.041) 0:00:05.831 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:33:10 +0000 (0:00:00.054) 0:00:05.885 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:33:10 +0000 (0:00:00.047) 0:00:05.933 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:33:11 +0000 (0:00:00.918) 0:00:06.851 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:33:11 +0000 (0:00:00.096) 0:00:06.948 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:33:11 +0000 (0:00:00.042) 0:00:06.991 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:33:11 +0000 (0:00:00.079) 0:00:07.071 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "cloned_mac": "12:23:34:45:56:70", "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, a0884188-f417-477c-958c-b3eb9dbe977d [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, a0884188-f417-477c-958c-b3eb9dbe977d (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:33:12 +0000 (0:00:00.681) 0:00:07.752 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:33:12 +0000 (0:00:00.024) 0:00:07.777 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, a0884188-f417-477c-958c-b3eb9dbe977d", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, a0884188-f417-477c-958c-b3eb9dbe977d (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:33:12 +0000 (0:00:00.030) 0:00:07.807 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "cloned_mac": "12:23:34:45:56:70", "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, a0884188-f417-477c-958c-b3eb9dbe977d\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, a0884188-f417-477c-958c-b3eb9dbe977d (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, a0884188-f417-477c-958c-b3eb9dbe977d", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, a0884188-f417-477c-958c-b3eb9dbe977d (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:33:12 +0000 (0:00:00.067) 0:00:07.875 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:33:12 +0000 (0:00:00.091) 0:00:07.967 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Verify ifcfg MACADDR entry] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/playbooks/tests_bridge_cloned_mac.yml:26 Tuesday 19 December 2023 15:33:12 +0000 (0:00:00.299) 0:00:08.267 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify nmcli cloned-mac-address entry] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/playbooks/tests_bridge_cloned_mac.yml:34 Tuesday 19 December 2023 15:33:13 +0000 (0:00:00.036) 0:00:08.303 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "802-3-ethernet.cloned-mac-address", "con", "show", "LSR-TST-br31" ], "delta": "0:00:00.017586", "end": "2023-12-19 10:33:13.322462", "rc": 0, "start": "2023-12-19 10:33:13.304876" } STDOUT: 802-3-ethernet.cloned-mac-address: 12:23:34:45:56:70 TASK [Assert that cloned-mac-address addresses are configured correctly] ******* task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/playbooks/tests_bridge_cloned_mac.yml:43 Tuesday 19 December 2023 15:33:13 +0000 (0:00:00.357) 0:00:08.660 ****** 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.16cdou4z90/tests/playbooks/down_profile.yml:3 Tuesday 19 December 2023 15:33:13 +0000 (0:00:00.052) 0:00:08.713 ****** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:33:13 +0000 (0:00:00.551) 0:00:09.264 ****** included: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:33:14 +0000 (0:00:00.134) 0:00:09.398 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:33:14 +0000 (0:00:00.043) 0:00:09.442 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:33:14 +0000 (0:00:00.074) 0:00:09.516 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:33:14 +0000 (0:00:00.060) 0:00:09.577 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:33:15 +0000 (0:00:01.492) 0:00:11.069 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:33:16 +0000 (0:00:00.933) 0:00:12.002 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:33:16 +0000 (0:00:00.027) 0:00:12.029 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:33:16 +0000 (0:00:00.032) 0:00:12.062 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:33:16 +0000 (0:00:00.025) 0:00:12.087 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:33:16 +0000 (0:00:00.045) 0:00:12.133 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:33:16 +0000 (0:00:00.022) 0:00:12.156 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:33:16 +0000 (0:00:00.023) 0:00:12.179 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:33:16 +0000 (0:00:00.058) 0:00:12.237 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:33:17 +0000 (0:00:00.423) 0:00:12.661 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:33:17 +0000 (0:00:00.072) 0:00:12.733 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:33:17 +0000 (0:00:00.080) 0:00:12.814 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:33:17 +0000 (0:00:00.066) 0:00:12.880 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:33:18 +0000 (0:00:00.463) 0:00:13.344 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:33:18 +0000 (0:00:00.046) 0:00:13.390 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:33:18 +0000 (0:00:00.069) 0:00:13.459 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:33:18 +0000 (0:00:00.085) 0:00:13.545 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:33:18 +0000 (0:00:00.088) 0:00:13.634 ****** 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.16cdou4z90/tests/playbooks/down_profile+delete_interface.yml:5 Tuesday 19 December 2023 15:33:18 +0000 (0:00:00.280) 0:00:13.914 ****** ok: [sut] META: ran handlers TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/playbooks/down_profile+delete_interface.yml:8 Tuesday 19 December 2023 15:33:19 +0000 (0:00:00.563) 0:00:14.478 ****** included: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 19 December 2023 15:33:19 +0000 (0:00:00.099) 0:00:14.577 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.007352", "end": "2023-12-19 10:33:19.585771", "rc": 1, "start": "2023-12-19 10:33:19.578419" } 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.16cdou4z90/tests/playbooks/remove_profile.yml:3 Tuesday 19 December 2023 15:33:19 +0000 (0:00:00.361) 0:00:14.938 ****** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 19 December 2023 15:33:20 +0000 (0:00:00.617) 0:00:15.556 ****** included: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:33:20 +0000 (0:00:00.054) 0:00:15.610 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 19 December 2023 15:33:20 +0000 (0:00:00.086) 0:00:15.697 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 19 December 2023 15:33:20 +0000 (0:00:00.035) 0:00:15.733 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 19 December 2023 15:33:20 +0000 (0:00:00.039) 0:00:15.773 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 19 December 2023 15:33:21 +0000 (0:00:01.396) 0:00:17.169 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 19 December 2023 15:33:22 +0000 (0:00:00.970) 0:00:18.140 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 19 December 2023 15:33:22 +0000 (0:00:00.098) 0:00:18.239 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 19 December 2023 15:33:23 +0000 (0:00:00.101) 0:00:18.341 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 19 December 2023 15:33:23 +0000 (0:00:00.045) 0:00:18.386 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 19 December 2023 15:33:23 +0000 (0:00:00.048) 0:00:18.434 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 19 December 2023 15:33:23 +0000 (0:00:00.025) 0:00:18.459 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 19 December 2023 15:33:23 +0000 (0:00:00.041) 0:00:18.501 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 19 December 2023 15:33:23 +0000 (0:00:00.027) 0:00:18.529 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 19 December 2023 15:33:23 +0000 (0:00:00.388) 0:00:18.918 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 19 December 2023 15:33:23 +0000 (0:00:00.030) 0:00:18.948 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 19 December 2023 15:33:23 +0000 (0:00:00.027) 0:00:18.976 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 19 December 2023 15:33:23 +0000 (0:00:00.037) 0:00:19.014 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 19 December 2023 15:33:24 +0000 (0:00:00.441) 0:00:19.455 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 19 December 2023 15:33:24 +0000 (0:00:00.025) 0:00:19.481 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 19 December 2023 15:33:24 +0000 (0:00:00.027) 0:00:19.508 ****** 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.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 19 December 2023 15:33:24 +0000 (0:00:00.041) 0:00:19.550 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 19 December 2023 15:33:24 +0000 (0:00:00.040) 0:00:19.590 ****** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=44 changed=3 unreachable=0 failed=0 skipped=49 rescued=0 ignored=1 Tuesday 19 December 2023 15:33:24 +0000 (0:00:00.256) 0:00:19.846 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.49s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.19s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.92s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/tests_bridge_cloned_mac_nm.yml:5 linux-system-roles.network : Configure networking connection profiles --- 0.68s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.62s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/playbooks/remove_profile.yml:3 Gathering Facts --------------------------------------------------------- 0.56s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 0.55s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/playbooks/down_profile.yml:3 Gathering Facts --------------------------------------------------------- 0.51s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/playbooks/tests_bridge_cloned_mac.yml:3 Gathering Facts --------------------------------------------------------- 0.47s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/playbooks/tests_bridge_cloned_mac.yml:11 linux-system-roles.network : Configure networking connection profiles --- 0.46s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather the minimum subset of ansible_facts required by the network role test --- 0.45s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/tasks/el_repo_setup.yml:3 --- linux-system-roles.network : Configure networking connection profiles --- 0.44s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 0.42s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 0.39s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/roles/linux-system-roles.network/tasks/main.yml:85 Remove test interface if necessary -------------------------------------- 0.36s /WORKDIR/git-ansible-lint-test-2.16cdou4z90/tests/playbooks/tasks/delete_interface.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---