# 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 ***************************************** 10 plays in /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tests_bridge_initscripts.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tests_bridge_initscripts.yml:5 Wednesday 07 February 2024 11:29:09 +0000 (0:00:00.011) 0:00:00.011 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tests_bridge_initscripts.yml:8 Wednesday 07 February 2024 11:29:09 +0000 (0:00:00.597) 0:00:00.609 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/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-bond_options_rewrite9fyx5qyq/tests/tasks/el_repo_setup.yml:3 Wednesday 07 February 2024 11:29:09 +0000 (0:00:00.010) 0:00:00.620 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/el_repo_setup.yml:19 Wednesday 07 February 2024 11:29:10 +0000 (0:00:00.342) 0:00:00.962 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/el_repo_setup.yml:24 Wednesday 07 February 2024 11:29:10 +0000 (0:00:00.263) 0:00:01.225 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/el_repo_setup.yml:28 Wednesday 07 February 2024 11:29:10 +0000 (0:00:00.019) 0:00:01.245 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/el_repo_setup.yml:53 Wednesday 07 February 2024 11:29:10 +0000 (0:00:00.017) 0:00:01.263 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/enable_epel.yml:8 Wednesday 07 February 2024 11:29:10 +0000 (0:00:00.029) 0:00:01.293 **** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/enable_epel.yml:24 Wednesday 07 February 2024 11:29:10 +0000 (0:00:00.233) 0:00:01.527 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/enable_epel.yml:30 Wednesday 07 February 2024 11:29:10 +0000 (0:00:00.010) 0:00:01.538 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/enable_epel.yml:35 Wednesday 07 February 2024 11:29:10 +0000 (0:00:00.009) 0:00:01.547 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.247098", "end": "2024-02-07 11:29:11.262270", "rc": 0, "start": "2024-02-07 11:29:11.015172" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/enable_epel.yml:40 Wednesday 07 February 2024 11:29:11 +0000 (0:00:00.433) 0:00:01.980 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tests_bridge_initscripts.yml:10 Wednesday 07 February 2024 11:29:11 +0000 (0:00:00.009) 0:00:01.989 **** 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-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_bridge.yml:3 Wednesday 07 February 2024 11:29:11 +0000 (0:00:00.009) 0:00:01.998 **** ok: [sut] META: ran handlers TASK [Set interface=LSR-TST-br31] ********************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_bridge.yml:9 Wednesday 07 February 2024 11:29:11 +0000 (0:00:00.476) 0:00:02.475 **** ok: [sut] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_bridge.yml:12 Wednesday 07 February 2024 11:29:11 +0000 (0:00:00.010) 0:00:02.485 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 07 February 2024 11:29:11 +0000 (0:00:00.012) 0:00:02.498 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 07 February 2024 11:29:11 +0000 (0:00:00.011) 0:00:02.509 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003304", "end": "2024-02-07 11:29:11.978719", "rc": 0, "start": "2024-02-07 11:29:11.975415" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 07 February 2024 11:29:11 +0000 (0:00:00.186) 0:00:02.696 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 07 February 2024 11:29:12 +0000 (0:00:00.011) 0:00:02.708 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_bridge.yml:14 Wednesday 07 February 2024 11:29:12 +0000 (0:00:00.010) 0:00:02.718 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 07 February 2024 11:29:12 +0000 (0:00:00.011) 0:00:02.729 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 07 February 2024 11:29:12 +0000 (0:00:00.012) 0:00:02.742 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 07 February 2024 11:29:12 +0000 (0:00:00.185) 0:00:02.927 **** 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-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_bridge.yml:17 Wednesday 07 February 2024 11:29:12 +0000 (0:00:00.015) 0:00:02.942 **** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 07 February 2024 11:29:12 +0000 (0:00:00.542) 0:00:03.484 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 07 February 2024 11:29:12 +0000 (0:00:00.063) 0:00:03.548 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 07 February 2024 11:29:12 +0000 (0:00:00.011) 0:00:03.560 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 07 February 2024 11:29:12 +0000 (0:00:00.009) 0:00:03.569 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 07 February 2024 11:29:12 +0000 (0:00:00.009) 0:00:03.578 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 07 February 2024 11:29:14 +0000 (0:00:01.606) 0:00:05.184 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 07 February 2024 11:29:15 +0000 (0:00:01.451) 0:00:06.635 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 07 February 2024 11:29:15 +0000 (0:00:00.022) 0:00:06.658 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 07 February 2024 11:29:15 +0000 (0:00:00.020) 0:00:06.679 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 07 February 2024 11:29:15 +0000 (0:00:00.019) 0:00:06.698 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 07 February 2024 11:29:16 +0000 (0:00:00.042) 0:00:06.741 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 07 February 2024 11:29:16 +0000 (0:00:00.020) 0:00:06.761 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 07 February 2024 11:29:16 +0000 (0:00:00.019) 0:00:06.781 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 07 February 2024 11:29:16 +0000 (0:00:00.023) 0:00:06.804 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 07 February 2024 11:29:16 +0000 (0:00:00.021) 0:00:06.826 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 07 February 2024 11:29:16 +0000 (0:00:00.019) 0:00:06.845 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 07 February 2024 11:29:16 +0000 (0:00:00.470) 0:00:07.316 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7280l80dkz5p/tmp1bjio0u5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 07 February 2024 11:29:16 +0000 (0:00:00.298) 0:00:07.614 **** 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='b"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 07 February 2024 11:29:19 +0000 (0:00:02.728) 0:00:10.342 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 07 February 2024 11:29:19 +0000 (0:00:00.021) 0:00:10.363 **** 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='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 07 February 2024 11:29:19 +0000 (0:00:00.021) 0:00:10.385 **** 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='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 07 February 2024 11:29:19 +0000 (0:00:00.022) 0:00:10.407 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 07 February 2024 11:29:19 +0000 (0:00:00.019) 0:00:10.427 **** 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-bond_options_rewrite9fyx5qyq/tests/playbooks/run_tasks.yml:3 Wednesday 07 February 2024 11:29:20 +0000 (0:00:00.276) 0:00:10.703 **** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_device_present.yml'] ********************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/run_tasks.yml:6 Wednesday 07 February 2024 11:29:20 +0000 (0:00:00.509) 0:00:11.213 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 07 February 2024 11:29:20 +0000 (0:00:00.033) 0:00:11.247 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 07 February 2024 11:29:20 +0000 (0:00:00.034) 0:00:11.281 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707305357.4775057, "block_size": 4096, "blocks": 0, "ctime": 1707305357.4775057, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31046, "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": 1707305357.4775057, "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-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 07 February 2024 11:29:20 +0000 (0:00:00.197) 0:00:11.479 **** 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-bond_options_rewrite9fyx5qyq/tests/playbooks/run_tasks.yml:3 Wednesday 07 February 2024 11:29:20 +0000 (0:00:00.025) 0:00:11.505 **** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_profile_present.yml'] ********************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/run_tasks.yml:6 Wednesday 07 February 2024 11:29:21 +0000 (0:00:00.492) 0:00:11.997 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 07 February 2024 11:29:21 +0000 (0:00:00.033) 0:00:12.031 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 07 February 2024 11:29:21 +0000 (0:00:00.055) 0:00:12.086 **** 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-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 07 February 2024 11:29:21 +0000 (0:00:00.021) 0:00:12.108 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707305357.2980108, "block_size": 4096, "blocks": 8, "ctime": 1707305357.2970107, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434805, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707305357.2970107, "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-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 07 February 2024 11:29:21 +0000 (0:00:00.196) 0:00:12.305 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 07 February 2024 11:29:21 +0000 (0:00:00.022) 0:00:12.328 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.020622", "end": "2024-02-07 11:29:21.816334", "rc": 1, "start": "2024-02-07 11:29:21.795712" } 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-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 07 February 2024 11:29:21 +0000 (0:00:00.217) 0:00:12.545 **** 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-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 07 February 2024 11:29:21 +0000 (0:00:00.022) 0:00:12.567 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:00.003341", "end": "2024-02-07 11:29:22.040572", "rc": 0, "start": "2024-02-07 11:29:22.037231" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 07 February 2024 11:29:22 +0000 (0:00:00.203) 0:00:12.771 **** 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-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 07 February 2024 11:29:22 +0000 (0:00:00.025) 0:00:12.796 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:00.003213", "end": "2024-02-07 11:29:22.271023", "rc": 0, "start": "2024-02-07 11:29:22.267810" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 07 February 2024 11:29:22 +0000 (0:00:00.203) 0:00:13.000 **** 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-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 07 February 2024 11:29:22 +0000 (0:00:00.025) 0:00:13.026 **** 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-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 07 February 2024 11:29:22 +0000 (0:00:00.023) 0:00:13.049 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in LSR-TST-br31] ********** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 07 February 2024 11:29:22 +0000 (0:00:00.023) 0:00:13.072 **** 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-bond_options_rewrite9fyx5qyq/tests/playbooks/down_profile.yml:3 Wednesday 07 February 2024 11:29:22 +0000 (0:00:00.027) 0:00:13.100 **** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 07 February 2024 11:29:22 +0000 (0:00:00.501) 0:00:13.602 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 07 February 2024 11:29:22 +0000 (0:00:00.036) 0:00:13.638 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 07 February 2024 11:29:22 +0000 (0:00:00.025) 0:00:13.664 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 07 February 2024 11:29:22 +0000 (0:00:00.021) 0:00:13.685 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 07 February 2024 11:29:23 +0000 (0:00:00.020) 0:00:13.706 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 07 February 2024 11:29:24 +0000 (0:00:01.545) 0:00:15.252 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 07 February 2024 11:29:25 +0000 (0:00:01.312) 0:00:16.564 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 07 February 2024 11:29:25 +0000 (0:00:00.022) 0:00:16.587 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 07 February 2024 11:29:25 +0000 (0:00:00.021) 0:00:16.609 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 07 February 2024 11:29:25 +0000 (0:00:00.019) 0:00:16.629 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 07 February 2024 11:29:25 +0000 (0:00:00.043) 0:00:16.672 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 07 February 2024 11:29:25 +0000 (0:00:00.021) 0:00:16.694 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 07 February 2024 11:29:26 +0000 (0:00:00.019) 0:00:16.714 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 07 February 2024 11:29:26 +0000 (0:00:00.024) 0:00:16.738 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 07 February 2024 11:29:26 +0000 (0:00:00.021) 0:00:16.760 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 07 February 2024 11:29:26 +0000 (0:00:00.019) 0:00:16.780 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 07 February 2024 11:29:26 +0000 (0:00:00.346) 0:00:17.126 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7280l80dkz5p/tmpijb7d9wp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 07 February 2024 11:29:26 +0000 (0:00:00.296) 0:00:17.423 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 07 February 2024 11:29:27 +0000 (0:00:00.297) 0:00:17.721 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 07 February 2024 11:29:27 +0000 (0:00:00.021) 0:00:17.742 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 07 February 2024 11:29:27 +0000 (0:00:00.022) 0:00:17.765 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 07 February 2024 11:29:27 +0000 (0:00:00.022) 0:00:17.787 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 07 February 2024 11:29:27 +0000 (0:00:00.020) 0:00:17.807 **** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/down_profile+delete_interface.yml:5 Wednesday 07 February 2024 11:29:27 +0000 (0:00:00.193) 0:00:18.000 **** ok: [sut] META: ran handlers TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/down_profile+delete_interface.yml:8 Wednesday 07 February 2024 11:29:27 +0000 (0:00:00.500) 0:00:18.501 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 07 February 2024 11:29:27 +0000 (0:00:00.057) 0:00:18.559 **** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.015443", "end": "2024-02-07 11:29:28.044926", "rc": 0, "start": "2024-02-07 11:29:28.029483" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/remove_profile.yml:3 Wednesday 07 February 2024 11:29:28 +0000 (0:00:00.222) 0:00:18.781 **** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 07 February 2024 11:29:28 +0000 (0:00:00.493) 0:00:19.275 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 07 February 2024 11:29:28 +0000 (0:00:00.035) 0:00:19.311 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 07 February 2024 11:29:28 +0000 (0:00:00.025) 0:00:19.337 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 07 February 2024 11:29:28 +0000 (0:00:00.020) 0:00:19.357 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 07 February 2024 11:29:28 +0000 (0:00:00.019) 0:00:19.377 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 07 February 2024 11:29:30 +0000 (0:00:01.558) 0:00:20.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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 07 February 2024 11:29:31 +0000 (0:00:01.298) 0:00:22.235 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 07 February 2024 11:29:31 +0000 (0:00:00.022) 0:00:22.257 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 07 February 2024 11:29:31 +0000 (0:00:00.021) 0:00:22.278 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 07 February 2024 11:29:31 +0000 (0:00:00.020) 0:00:22.299 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 07 February 2024 11:29:31 +0000 (0:00:00.042) 0:00:22.341 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 07 February 2024 11:29:31 +0000 (0:00:00.019) 0:00:22.361 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 07 February 2024 11:29:31 +0000 (0:00:00.020) 0:00:22.381 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 07 February 2024 11:29:31 +0000 (0:00:00.024) 0:00:22.405 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 07 February 2024 11:29:31 +0000 (0:00:00.041) 0:00:22.446 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 07 February 2024 11:29:31 +0000 (0:00:00.021) 0:00:22.468 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 07 February 2024 11:29:32 +0000 (0:00:00.344) 0:00:22.813 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7280l80dkz5p/tmpi5d80kjt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 07 February 2024 11:29:32 +0000 (0:00:00.298) 0:00:23.111 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 07 February 2024 11:29:32 +0000 (0:00:00.299) 0:00:23.410 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 07 February 2024 11:29:32 +0000 (0:00:00.025) 0:00:23.436 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 07 February 2024 11:29:32 +0000 (0:00:00.023) 0:00:23.460 **** 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-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 07 February 2024 11:29:32 +0000 (0:00:00.024) 0:00:23.484 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 07 February 2024 11:29:32 +0000 (0:00:00.022) 0:00:23.507 **** 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-bond_options_rewrite9fyx5qyq/tests/playbooks/run_tasks.yml:3 Wednesday 07 February 2024 11:29:33 +0000 (0:00:00.197) 0:00:23.705 **** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_profile_absent.yml'] ********************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/run_tasks.yml:6 Wednesday 07 February 2024 11:29:33 +0000 (0:00:00.528) 0:00:24.234 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 07 February 2024 11:29:33 +0000 (0:00:00.035) 0:00:24.269 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 07 February 2024 11:29:33 +0000 (0:00:00.037) 0:00:24.306 **** 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-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 07 February 2024 11:29:33 +0000 (0:00:00.021) 0:00:24.328 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 07 February 2024 11:29:33 +0000 (0:00:00.192) 0:00:24.521 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 07 February 2024 11:29:33 +0000 (0:00:00.021) 0:00:24.542 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.020125", "end": "2024-02-07 11:29:34.029631", "rc": 1, "start": "2024-02-07 11:29:34.009506" } 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-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 07 February 2024 11:29:34 +0000 (0:00:00.215) 0:00:24.757 **** 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-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 07 February 2024 11:29:34 +0000 (0:00:00.023) 0:00:24.780 **** 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-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 07 February 2024 11:29:34 +0000 (0:00:00.021) 0:00:24.802 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 07 February 2024 11:29:34 +0000 (0:00:00.021) 0:00:24.823 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 07 February 2024 11:29:34 +0000 (0:00:00.021) 0:00:24.844 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'LSR-TST-br31'] ********************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 07 February 2024 11:29:34 +0000 (0:00:00.021) 0:00:24.866 **** 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-bond_options_rewrite9fyx5qyq/tests/playbooks/run_tasks.yml:3 Wednesday 07 February 2024 11:29:34 +0000 (0:00:00.024) 0:00:24.891 **** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_device_absent.yml'] *********************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/run_tasks.yml:6 Wednesday 07 February 2024 11:29:34 +0000 (0:00:00.492) 0:00:25.383 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 07 February 2024 11:29:34 +0000 (0:00:00.033) 0:00:25.417 **** included: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 07 February 2024 11:29:34 +0000 (0:00:00.035) 0:00:25.453 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 07 February 2024 11:29:34 +0000 (0:00:00.194) 0:00:25.647 **** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=87 changed=2 unreachable=0 failed=0 skipped=50 rescued=0 ignored=2 Wednesday 07 February 2024 11:29:34 +0000 (0:00:00.011) 0:00:25.658 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.73s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.45s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.31s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.30s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.60s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tests_bridge_initscripts.yml:5 Gathering Facts --------------------------------------------------------- 0.54s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_bridge.yml:17 - Gathering Facts --------------------------------------------------------- 0.53s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/run_tasks.yml:3 ----- Gathering Facts --------------------------------------------------------- 0.51s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/run_tasks.yml:3 ----- Gathering Facts --------------------------------------------------------- 0.50s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/down_profile.yml:3 -- Gathering Facts --------------------------------------------------------- 0.50s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/remove_profile.yml:3 Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/run_tasks.yml:3 ----- Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/run_tasks.yml:3 ----- Gathering Facts --------------------------------------------------------- 0.48s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/playbooks/tests_bridge.yml:3 -- linux-system-roles.network : Enable network service --------------------- 0.47s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:108 Enable EPEL 8 ----------------------------------------------------------- 0.43s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/tasks/enable_epel.yml:35 ------ linux-system-roles.network : Enable network service --------------------- 0.35s /WORKDIR/git-bond_options_rewrite9fyx5qyq/tests/roles/linux-system-roles.network/tasks/main.yml:108 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---