# 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_initscripts.yml ***************************************** 11 plays in /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/tests_bridge_initscripts.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/tests_bridge_initscripts.yml:5 Sunday 18 February 2024 22:18:21 +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-nm_plugin_hotfix3hc6ync3/tests/tests_bridge_initscripts.yml:8 Sunday 18 February 2024 22:18:22 +0000 (0:00:00.985) 0:00:00.998 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/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-nm_plugin_hotfix3hc6ync3/tests/tasks/el_repo_setup.yml:3 Sunday 18 February 2024 22:18:22 +0000 (0:00:00.013) 0:00:01.011 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/tasks/el_repo_setup.yml:19 Sunday 18 February 2024 22:18:22 +0000 (0:00:00.232) 0:00:01.244 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/tasks/el_repo_setup.yml:24 Sunday 18 February 2024 22:18:22 +0000 (0:00:00.171) 0:00:01.415 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/tasks/el_repo_setup.yml:28 Sunday 18 February 2024 22:18:22 +0000 (0:00:00.021) 0:00:01.436 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/tasks/el_repo_setup.yml:53 Sunday 18 February 2024 22:18:22 +0000 (0:00:00.018) 0:00:01.455 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/tasks/enable_epel.yml:8 Sunday 18 February 2024 22:18:22 +0000 (0:00:00.032) 0:00:01.487 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/tasks/enable_epel.yml:24 Sunday 18 February 2024 22:18:22 +0000 (0:00:00.011) 0:00:01.498 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/tasks/enable_epel.yml:30 Sunday 18 February 2024 22:18:22 +0000 (0:00:00.011) 0:00:01.510 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/tasks/enable_epel.yml:35 Sunday 18 February 2024 22:18:22 +0000 (0:00:00.010) 0:00:01.520 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/tasks/enable_epel.yml:40 Sunday 18 February 2024 22:18:22 +0000 (0:00:00.010) 0:00:01.531 ******* ok: [sut] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/tests_bridge_initscripts.yml:10 Sunday 18 February 2024 22:18:23 +0000 (0:00:00.442) 0:00:01.973 ******* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tests_bridge.yml:3 Sunday 18 February 2024 22:18:23 +0000 (0:00:00.011) 0:00:01.985 ******* ok: [sut] META: ran handlers TASK [Set interface=LSR-TST-br31] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tests_bridge.yml:9 Sunday 18 February 2024 22:18:23 +0000 (0:00:00.720) 0:00:02.706 ******* ok: [sut] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tests_bridge.yml:12 Sunday 18 February 2024 22:18:23 +0000 (0:00:00.011) 0:00:02.718 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 22:18:23 +0000 (0:00:00.014) 0:00:02.732 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 22:18:24 +0000 (0:00:00.014) 0:00:02.747 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003248", "end": "2024-02-18 22:18:24.280722", "rc": 0, "start": "2024-02-18 22:18:24.277474" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 22:18:24 +0000 (0:00:00.190) 0:00:02.938 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 22:18:24 +0000 (0:00:00.013) 0:00:02.951 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tests_bridge.yml:14 Sunday 18 February 2024 22:18:24 +0000 (0:00:00.012) 0:00:02.964 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_device_absent.yml:3 Sunday 18 February 2024 22:18:24 +0000 (0:00:00.015) 0:00:02.979 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 22:18:24 +0000 (0:00:00.015) 0:00:02.995 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_device_absent.yml:5 Sunday 18 February 2024 22:18:24 +0000 (0:00:00.124) 0:00:03.119 ******* 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-nm_plugin_hotfix3hc6ync3/tests/playbooks/tests_bridge.yml:17 Sunday 18 February 2024 22:18:24 +0000 (0:00:00.017) 0:00:03.137 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 22:18:25 +0000 (0:00:00.826) 0:00:03.963 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 22:18:25 +0000 (0:00:00.068) 0:00:04.032 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 22:18:25 +0000 (0:00:00.013) 0:00:04.046 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 22:18:25 +0000 (0:00:00.012) 0:00:04.058 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 22:18:25 +0000 (0:00:00.012) 0:00:04.070 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 22:18:27 +0000 (0:00:01.745) 0:00:05.816 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 22:18:27 +0000 (0:00:00.715) 0:00:06.532 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 22:18:27 +0000 (0:00:00.021) 0:00:06.553 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 22:18:27 +0000 (0:00:00.021) 0:00:06.574 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 22:18:27 +0000 (0:00:00.021) 0:00:06.596 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 22:18:27 +0000 (0:00:00.043) 0:00:06.639 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 22:18:27 +0000 (0:00:00.038) 0:00:06.678 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 22:18:27 +0000 (0:00:00.021) 0:00:06.699 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 22:18:27 +0000 (0:00:00.024) 0:00:06.724 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 22:18:28 +0000 (0:00:00.021) 0:00:06.746 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 22:18:28 +0000 (0:00:00.020) 0:00:06.767 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 22:18:28 +0000 (0:00:00.246) 0:00:07.014 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7028t3nw4nd6/tmpry6rpwgr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 22:18:28 +0000 (0:00:00.197) 0:00:07.211 ******* 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31' [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active) [005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 22:18:28 +0000 (0:00:00.498) 0:00:07.709 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 22:18:28 +0000 (0:00:00.021) 0:00:07.730 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)", "[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 22:18:29 +0000 (0:00:00.022) 0:00:07.753 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)\n[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)", "[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 22:18:29 +0000 (0:00:00.022) 0:00:07.775 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 22:18:29 +0000 (0:00:00.020) 0:00:07.795 ******* 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-nm_plugin_hotfix3hc6ync3/tests/playbooks/run_tasks.yml:3 Sunday 18 February 2024 22:18:29 +0000 (0:00:00.200) 0:00:07.995 ******* ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_device_present.yml'] ********************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/run_tasks.yml:6 Sunday 18 February 2024 22:18:30 +0000 (0:00:00.789) 0:00:08.785 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 22:18:30 +0000 (0:00:00.033) 0:00:08.818 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 22:18:30 +0000 (0:00:00.035) 0:00:08.854 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708294708.9438775, "block_size": 4096, "blocks": 0, "ctime": 1708294708.942878, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6440, "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": 1708294708.942878, "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-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 22:18:30 +0000 (0:00:00.132) 0:00:08.986 ******* 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-nm_plugin_hotfix3hc6ync3/tests/playbooks/run_tasks.yml:3 Sunday 18 February 2024 22:18:30 +0000 (0:00:00.026) 0:00:09.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_profile_present.yml'] ********************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/run_tasks.yml:6 Sunday 18 February 2024 22:18:31 +0000 (0:00:00.745) 0:00:09.758 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_profile_present.yml:3 Sunday 18 February 2024 22:18:31 +0000 (0:00:00.033) 0:00:09.792 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 22:18:31 +0000 (0:00:00.059) 0:00:09.851 ******* 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-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 22:18:31 +0000 (0:00:00.021) 0:00:09.873 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708294708.904897, "block_size": 4096, "blocks": 8, "ctime": 1708294708.892903, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708294708.892903, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 151, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 22:18:31 +0000 (0:00:00.127) 0:00:10.000 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 22:18:31 +0000 (0:00:00.022) 0:00:10.023 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.005195", "end": "2024-02-18 22:18:31.487433", "rc": 1, "start": "2024-02-18 22:18:31.482238" } STDERR: /bin/sh: nmcli: command not found 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-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 22:18:31 +0000 (0:00:00.134) 0:00:10.157 ******* 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-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 22:18:31 +0000 (0:00:00.022) 0:00:10.180 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:00.003595", "end": "2024-02-18 22:18:31.647597", "rc": 0, "start": "2024-02-18 22:18:31.644002" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 22:18:31 +0000 (0:00:00.137) 0:00:10.318 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 22:18:31 +0000 (0:00:00.026) 0:00:10.344 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:00.003190", "end": "2024-02-18 22:18:31.809231", "rc": 0, "start": "2024-02-18 22:18:31.806041" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 22:18:31 +0000 (0:00:00.136) 0:00:10.480 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'LSR-TST-br31'] ********************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_profile_present.yml:5 Sunday 18 February 2024 22:18:31 +0000 (0:00:00.027) 0:00:10.508 ******* 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-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_profile_present.yml:10 Sunday 18 February 2024 22:18:31 +0000 (0:00:00.024) 0:00:10.532 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in LSR-TST-br31] ********** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_profile_present.yml:15 Sunday 18 February 2024 22:18:31 +0000 (0:00:00.023) 0:00:10.555 ******* 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-nm_plugin_hotfix3hc6ync3/tests/playbooks/down_profile.yml:3 Sunday 18 February 2024 22:18:31 +0000 (0:00:00.028) 0:00:10.584 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 22:18:32 +0000 (0:00:00.731) 0:00:11.315 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 22:18:32 +0000 (0:00:00.034) 0:00:11.350 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 22:18:32 +0000 (0:00:00.026) 0:00:11.377 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 22:18:32 +0000 (0:00:00.020) 0:00:11.398 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 22:18:32 +0000 (0:00:00.021) 0:00:11.420 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 22:18:34 +0000 (0:00:01.516) 0:00:12.936 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 22:18:34 +0000 (0:00:00.589) 0:00:13.526 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 22:18:34 +0000 (0:00:00.022) 0:00:13.548 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 22:18:34 +0000 (0:00:00.021) 0:00:13.570 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 22:18:34 +0000 (0:00:00.021) 0:00:13.591 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 22:18:34 +0000 (0:00:00.042) 0:00:13.633 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 22:18:34 +0000 (0:00:00.021) 0:00:13.655 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 22:18:34 +0000 (0:00:00.020) 0:00:13.676 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 22:18:34 +0000 (0:00:00.025) 0:00:13.701 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 22:18:34 +0000 (0:00:00.021) 0:00:13.723 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 22:18:35 +0000 (0:00:00.020) 0:00:13.744 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 22:18:35 +0000 (0:00:00.189) 0:00:13.933 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7028t3nw4nd6/tmpfm24p3x1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 22:18:35 +0000 (0:00:00.197) 0:00:14.130 ******* ok: [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": "initscripts" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 22:18:35 +0000 (0:00:00.247) 0:00:14.377 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 22:18:35 +0000 (0:00:00.021) 0:00:14.398 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 22:18:35 +0000 (0:00:00.051) 0:00:14.449 ******* 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active\n", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 22:18:35 +0000 (0:00:00.022) 0:00:14.472 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 22:18:35 +0000 (0:00:00.021) 0:00:14.494 ******* ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/down_profile+delete_interface.yml:5 Sunday 18 February 2024 22:18:35 +0000 (0:00:00.128) 0:00:14.623 ******* ok: [sut] META: ran handlers TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/down_profile+delete_interface.yml:8 Sunday 18 February 2024 22:18:36 +0000 (0:00:00.746) 0:00:15.369 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/delete_interface.yml:3 Sunday 18 February 2024 22:18:36 +0000 (0:00:00.032) 0:00:15.402 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.019523", "end": "2024-02-18 22:18:36.879568", "rc": 0, "start": "2024-02-18 22:18:36.860045" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/remove_profile.yml:3 Sunday 18 February 2024 22:18:36 +0000 (0:00:00.162) 0:00:15.564 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 22:18:37 +0000 (0:00:00.828) 0:00:16.392 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 22:18:37 +0000 (0:00:00.056) 0:00:16.449 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 22:18:37 +0000 (0:00:00.026) 0:00:16.476 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 22:18:37 +0000 (0:00:00.021) 0:00:16.497 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 22:18:37 +0000 (0:00:00.021) 0:00:16.519 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 22:18:39 +0000 (0:00:01.551) 0:00:18.070 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 22:18:39 +0000 (0:00:00.582) 0:00:18.652 ******* ok: [sut] => {} MSG: Using network provider: initscripts 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 22:18:39 +0000 (0:00:00.041) 0:00:18.694 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 22:18:39 +0000 (0:00:00.021) 0:00:18.716 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 22:18:40 +0000 (0:00:00.021) 0:00:18.737 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 22:18:40 +0000 (0:00:00.044) 0:00:18.781 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 22:18:40 +0000 (0:00:00.022) 0:00:18.803 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 22:18:40 +0000 (0:00:00.021) 0:00:18.824 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 22:18:40 +0000 (0:00:00.025) 0:00:18.849 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 22:18:40 +0000 (0:00:00.020) 0:00:18.870 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 22:18:40 +0000 (0:00:00.020) 0:00:18.891 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 22:18:40 +0000 (0:00:00.187) 0:00:19.078 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7028t3nw4nd6/tmpcq3j6_cv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 22:18:40 +0000 (0:00:00.201) 0:00:19.280 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 22:18:40 +0000 (0:00:00.247) 0:00:19.527 ******* 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-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 22:18:40 +0000 (0:00:00.021) 0:00:19.549 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 22:18:40 +0000 (0:00:00.023) 0:00:19.572 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 22:18:40 +0000 (0:00:00.022) 0:00:19.594 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 22:18:40 +0000 (0:00:00.045) 0:00:19.640 ******* 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-nm_plugin_hotfix3hc6ync3/tests/playbooks/run_tasks.yml:3 Sunday 18 February 2024 22:18:41 +0000 (0:00:00.128) 0:00:19.769 ******* ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_profile_absent.yml'] ********************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/run_tasks.yml:6 Sunday 18 February 2024 22:18:41 +0000 (0:00:00.741) 0:00:20.511 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_profile_absent.yml:3 Sunday 18 February 2024 22:18:41 +0000 (0:00:00.033) 0:00:20.544 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 22:18:41 +0000 (0:00:00.035) 0:00:20.580 ******* 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-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 22:18:41 +0000 (0:00:00.021) 0:00:20.601 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 22:18:41 +0000 (0:00:00.128) 0:00:20.730 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 22:18:42 +0000 (0:00:00.021) 0:00:20.752 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.005213", "end": "2024-02-18 22:18:42.211981", "rc": 1, "start": "2024-02-18 22:18:42.206768" } STDERR: /bin/sh: nmcli: command not found 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-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 22:18:42 +0000 (0:00:00.134) 0:00:20.887 ******* 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-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 22:18:42 +0000 (0:00:00.022) 0:00:20.909 ******* 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-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 22:18:42 +0000 (0:00:00.022) 0:00:20.932 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 22:18:42 +0000 (0:00:00.046) 0:00:20.978 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 22:18:42 +0000 (0:00:00.022) 0:00:21.001 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'LSR-TST-br31'] ********************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_profile_absent.yml:5 Sunday 18 February 2024 22:18:42 +0000 (0:00:00.021) 0:00:21.023 ******* 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-nm_plugin_hotfix3hc6ync3/tests/playbooks/run_tasks.yml:3 Sunday 18 February 2024 22:18:42 +0000 (0:00:00.026) 0:00:21.049 ******* ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_device_absent.yml'] *********************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/run_tasks.yml:6 Sunday 18 February 2024 22:18:43 +0000 (0:00:00.733) 0:00:21.782 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_device_absent.yml:3 Sunday 18 February 2024 22:18:43 +0000 (0:00:00.033) 0:00:21.816 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 22:18:43 +0000 (0:00:00.035) 0:00:21.852 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/assert_device_absent.yml:5 Sunday 18 February 2024 22:18:43 +0000 (0:00:00.130) 0:00:21.982 ******* ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Verify that cleanup restored state to default] *************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tests_bridge.yml:64 Sunday 18 February 2024 22:18:43 +0000 (0:00:00.025) 0:00:22.008 ******* ok: [sut] META: ran handlers TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tests_bridge.yml:67 Sunday 18 February 2024 22:18:44 +0000 (0:00:00.751) 0:00:22.759 ******* included: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/check_network_dns.yml:6 Sunday 18 February 2024 22:18:44 +0000 (0:00:00.034) 0:00:22.793 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.006932", "end": "2024-02-18 22:18:44.253352", "rc": 0, "start": "2024-02-18 22:18:44.246420" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc pfifo_fast state UP qlen 1000 link/ether 12:de:66:cb:eb:57 brd ff:ff:ff:ff:ff:ff inet 10.31.11.187/22 brd 10.31.11.255 scope global eth0 inet6 fe80::10de:66ff:fecb:eb57/64 scope link valid_lft forever preferred_lft forever IP ROUTE 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.187 169.254.0.0/16 dev eth0 scope link metric 1002 default via 10.31.8.1 dev eth0 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 mtu 65536 unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:7f00::/24 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:ac10::/28 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 mtu 65536 unreachable 2002:e000::/19 dev lo metric 1024 error -113 mtu 65536 unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 mtu 65536 fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 RESOLV ; Created by cloud-init on instance boot automatically, do not edit. ; ; generated by /sbin/dhclient-script search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tasks/check_network_dns.yml:24 Sunday 18 February 2024 22:18:44 +0000 (0:00:00.136) 0:00:22.929 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=89 changed=2 unreachable=0 failed=0 skipped=52 rescued=0 ignored=2 Sunday 18 February 2024 22:18:44 +0000 (0:00:00.012) 0:00:22.941 ******* =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.99s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/tests_bridge_initscripts.yml:5 ---- Gathering Facts --------------------------------------------------------- 0.83s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/remove_profile.yml:3 ---- Gathering Facts --------------------------------------------------------- 0.83s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tests_bridge.yml:17 ----- Gathering Facts --------------------------------------------------------- 0.79s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/run_tasks.yml:3 --------- Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tests_bridge.yml:64 ----- Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/run_tasks.yml:3 --------- Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/run_tasks.yml:3 --------- Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/run_tasks.yml:3 --------- Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/down_profile.yml:3 ------ Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/playbooks/tests_bridge.yml:3 ------ linux-system-roles.network : Check which packages are installed --------- 0.72s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.59s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.58s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.50s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:125 Enable EPEL 6 ----------------------------------------------------------- 0.44s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/tasks/enable_epel.yml:40 ---------- linux-system-roles.network : Configure networking connection profiles --- 0.25s /WORKDIR/git-nm_plugin_hotfix3hc6ync3/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---