# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Run playbook 'playbooks/tests_ethernet.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 16:46:26 +0000 (0:00:00.028) 0:00:00.028 ************ ok: [sut] TASK [include_tasks] *********************************************************** Friday 27 May 2022 16:46:27 +0000 (0:00:00.862) 0:00:00.891 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** Friday 27 May 2022 16:46:27 +0000 (0:00:00.031) 0:00:00.923 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 27 May 2022 16:46:27 +0000 (0:00:00.043) 0:00:00.966 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** Friday 27 May 2022 16:46:27 +0000 (0:00:00.048) 0:00:01.014 ************ changed: [sut] => { "changed": true, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:02.335274", "end": "2022-05-27 16:46:29.284673", "rc": 0, "start": "2022-05-27 16:46:26.949399" } STDOUT: Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Last metadata expiration check: 0:00:13 ago on Fri May 27 16:46:14 2022. epel-release-latest-8.noarch.rpm 774 kB/s | 23 kB 00:00 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: epel-release noarch 8-15.el8 @commandline 23 k Transaction Summary ================================================================================ Install 1 Package Total size: 23 k Installed size: 32 k Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : epel-release-8-15.el8.noarch 1/1 Running scriptlet: epel-release-8-15.el8.noarch 1/1 Verifying : epel-release-8-15.el8.noarch 1/1 Installed products updated. Installed: epel-release-8-15.el8.noarch Complete! TASK [Enable EPEL 7] *********************************************************** Friday 27 May 2022 16:46:29 +0000 (0:00:02.671) 0:00:03.685 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 27 May 2022 16:46:29 +0000 (0:00:00.036) 0:00:03.721 ************ changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.528998", "end": "2022-05-27 16:46:30.103642", "rc": 0, "start": "2022-05-27 16:46:29.574644" } STDOUT: Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. TASK [Enable EPEL 6] *********************************************************** Friday 27 May 2022 16:46:30 +0000 (0:00:00.781) 0:00:04.503 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** Friday 27 May 2022 16:46:30 +0000 (0:00:00.031) 0:00:04.534 ************ ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 16:46:30 +0000 (0:00:00.030) 0:00:04.565 ************ ok: [sut] TASK [Show inside ethernet tests] ********************************************** Friday 27 May 2022 16:46:31 +0000 (0:00:00.562) 0:00:05.127 ************ ok: [sut] => {} MSG: Inside ethernet tests TASK [Show network_provider] *************************************************** Friday 27 May 2022 16:46:31 +0000 (0:00:00.032) 0:00:05.159 ************ ok: [sut] => { "network_provider": "initscripts" } PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 16:46:31 +0000 (0:00:00.034) 0:00:05.194 ************ ok: [sut] TASK [set type=veth and interface=lsr27] *************************************** Friday 27 May 2022 16:46:31 +0000 (0:00:00.571) 0:00:05.765 ************ ok: [sut] => { "ansible_facts": { "interface": "lsr27", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** Friday 27 May 2022 16:46:31 +0000 (0:00:00.033) 0:00:05.799 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Friday 27 May 2022 16:46:31 +0000 (0:00:00.039) 0:00:05.838 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Friday 27 May 2022 16:46:32 +0000 (0:00:00.036) 0:00:05.875 ************ ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003405", "end": "2022-05-27 16:46:31.723352", "rc": 0, "start": "2022-05-27 16:46:31.719947" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Friday 27 May 2022 16:46:32 +0000 (0:00:00.248) 0:00:06.123 ************ ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Friday 27 May 2022 16:46:32 +0000 (0:00:00.032) 0:00:06.156 ************ ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** Friday 27 May 2022 16:46:32 +0000 (0:00:00.032) 0:00:06.189 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** Friday 27 May 2022 16:46:32 +0000 (0:00:00.050) 0:00:06.239 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Friday 27 May 2022 16:46:32 +0000 (0:00:00.031) 0:00:06.271 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include] ***************************************************************** Friday 27 May 2022 16:46:32 +0000 (0:00:00.031) 0:00:06.303 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Friday 27 May 2022 16:46:32 +0000 (0:00:00.040) 0:00:06.343 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Friday 27 May 2022 16:46:32 +0000 (0:00:00.040) 0:00:06.384 ************ ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003102", "end": "2022-05-27 16:46:32.228830", "rc": 0, "start": "2022-05-27 16:46:32.225728" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Friday 27 May 2022 16:46:32 +0000 (0:00:00.244) 0:00:06.629 ************ ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Friday 27 May 2022 16:46:32 +0000 (0:00:00.038) 0:00:06.668 ************ ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Friday 27 May 2022 16:46:32 +0000 (0:00:00.032) 0:00:06.700 ************ ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface lsr27] ********************************************* Friday 27 May 2022 16:46:41 +0000 (0:00:09.160) 0:00:15.860 ************ changed: [sut] => (item=ip link add lsr27 type veth peer name peerlsr27) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "lsr27", "type", "veth", "peer", "name", "peerlsr27" ], "delta": "0:00:00.088269", "end": "2022-05-27 16:46:41.804156", "item": "ip link add lsr27 type veth peer name peerlsr27", "rc": 0, "start": "2022-05-27 16:46:41.715887" } changed: [sut] => (item=ip link set peerlsr27 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerlsr27", "up" ], "delta": "0:00:00.004207", "end": "2022-05-27 16:46:42.059094", "item": "ip link set peerlsr27 up", "rc": 0, "start": "2022-05-27 16:46:42.054887" } changed: [sut] => (item=ip link set lsr27 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "lsr27", "up" ], "delta": "0:00:00.004976", "end": "2022-05-27 16:46:42.285166", "item": "ip link set lsr27 up", "rc": 0, "start": "2022-05-27 16:46:42.280190" } TASK [Set up veth as managed by NetworkManager] ******************************** Friday 27 May 2022 16:46:42 +0000 (0:00:00.828) 0:00:16.688 ************ changed: [sut] => { "changed": true, "cmd": [ "nmcli", "d", "set", "lsr27", "managed", "true" ], "delta": "0:00:00.078665", "end": "2022-05-27 16:46:42.620233", "rc": 0, "start": "2022-05-27 16:46:42.541568" } TASK [Delete veth interface lsr27] ********************************************* Friday 27 May 2022 16:46:43 +0000 (0:00:00.333) 0:00:17.022 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface lsr27] ******************************************** Friday 27 May 2022 16:46:43 +0000 (0:00:00.034) 0:00:17.056 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface lsr27] ******************************************** Friday 27 May 2022 16:46:43 +0000 (0:00:00.034) 0:00:17.091 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface lsr27] ********************************************** Friday 27 May 2022 16:46:43 +0000 (0:00:00.033) 0:00:17.124 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface lsr27] ********************************************** Friday 27 May 2022 16:46:43 +0000 (0:00:00.031) 0:00:17.156 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 27 May 2022 16:46:43 +0000 (0:00:00.031) 0:00:17.187 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/assert_device_present.yml for sut TASK [include] ***************************************************************** Friday 27 May 2022 16:46:43 +0000 (0:00:00.042) 0:00:17.230 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr27] ******************************************** Friday 27 May 2022 16:46:43 +0000 (0:00:00.038) 0:00:17.268 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1653670001.797982, "block_size": 4096, "blocks": 0, "ctime": 1653670001.797982, "dev": 20, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21346, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/lsr27", "lnk_target": "../../devices/virtual/net/lsr27", "mode": "0777", "mtime": 1653670001.797982, "nlink": 1, "path": "/sys/class/net/lsr27", "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 interface lsr27 is present] ********************************** Friday 27 May 2022 16:46:43 +0000 (0:00:00.380) 0:00:17.649 ************ ok: [sut] => { "changed": false } MSG: All assertions passed PLAY [Test static interface up] ************************************************ TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 16:46:43 +0000 (0:00:00.050) 0:00:17.700 ************ ok: [sut] TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 16:46:44 +0000 (0:00:00.592) 0:00:18.292 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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] *** Friday 27 May 2022 16:46:44 +0000 (0:00:00.147) 0:00:18.440 ************ 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 services are running] *********** Friday 27 May 2022 16:46:44 +0000 (0:00:00.400) 0:00:18.841 ************ 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] ********* Friday 27 May 2022 16:46:46 +0000 (0:00:01.842) 0:00:20.683 ************ 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] ********************* Friday 27 May 2022 16:46:48 +0000 (0:00:01.746) 0:00:22.429 ************ ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 16:46:48 +0000 (0:00:00.084) 0:00:22.513 ************ changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-2.el8.x86_64", "Installed: network-scripts-10.00.15-1.el8.x86_64" ] } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 16:46:52 +0000 (0:00:03.905) 0:00:26.419 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 16:46:52 +0000 (0:00:00.116) 0:00:26.535 ************ 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] ************ Friday 27 May 2022 16:46:52 +0000 (0:00:00.079) 0:00:26.615 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 16:46:52 +0000 (0:00:00.081) 0:00:26.696 ************ changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** Friday 27 May 2022 16:46:53 +0000 (0:00:01.142) 0:00:27.839 ************ ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-191735itwxzqx/tmpsom1cl5p" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 16:46:54 +0000 (0:00:00.466) 0:00:28.306 ************ changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27' [004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified) [005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', 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 stderr messages] *********************** Friday 27 May 2022 16:46:59 +0000 (0:00:05.013) 0:00:33.320 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27'", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)", "[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', 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] ************************ Friday 27 May 2022 16:46:59 +0000 (0:00:00.081) 0:00:33.401 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "lsr27", "ip": { "address": "192.0.2.1/24" }, "name": "lsr27", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'lsr27': add ifcfg-rh profile 'lsr27'\n[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)\n[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', 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, 'lsr27': add ifcfg-rh profile 'lsr27'", "[004] #0, state:up persistent_state:present, 'lsr27': up connection lsr27 (is-modified)", "[005] #0, state:up persistent_state:present, 'lsr27': call 'ifup lsr27': rc=0, out='b''', 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 : Re-test connectivity] *********************** Friday 27 May 2022 16:46:59 +0000 (0:00:00.090) 0:00:33.492 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** Friday 27 May 2022 16:47:00 +0000 (0:00:00.378) 0:00:33.871 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/assert_output_in_stderr_without_warnings.yml for sut TASK [Assert that warnings is empty] ******************************************* Friday 27 May 2022 16:47:00 +0000 (0:00:00.131) 0:00:34.002 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that there is output in stderr] *********************************** Friday 27 May 2022 16:47:00 +0000 (0:00:00.076) 0:00:34.078 ************ ok: [sut] => { "changed": false } MSG: All assertions passed PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 16:47:00 +0000 (0:00:00.081) 0:00:34.159 ************ ok: [sut] TASK [Show network_provider] *************************************************** Friday 27 May 2022 16:47:00 +0000 (0:00:00.652) 0:00:34.812 ************ ok: [sut] => { "network_provider": "initscripts" } PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 16:47:01 +0000 (0:00:00.107) 0:00:34.920 ************ ok: [sut] TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 16:47:01 +0000 (0:00:00.644) 0:00:35.564 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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] *** Friday 27 May 2022 16:47:01 +0000 (0:00:00.184) 0:00:35.748 ************ 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 services are running] *********** Friday 27 May 2022 16:47:02 +0000 (0:00:00.460) 0:00:36.209 ************ 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] ********* Friday 27 May 2022 16:47:04 +0000 (0:00:01.875) 0:00:38.084 ************ 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] ********************* Friday 27 May 2022 16:47:05 +0000 (0:00:01.480) 0:00:39.564 ************ ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 16:47:05 +0000 (0:00:00.139) 0:00:39.703 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 16:47:05 +0000 (0:00:00.146) 0:00:39.850 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 16:47:06 +0000 (0:00:00.093) 0:00:39.943 ************ 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] ************ Friday 27 May 2022 16:47:06 +0000 (0:00:00.080) 0:00:40.024 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 16:47:06 +0000 (0:00:00.078) 0:00:40.102 ************ 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] *** Friday 27 May 2022 16:47:06 +0000 (0:00:00.498) 0:00:40.601 ************ ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-191735itwxzqx/tmpv3oty6et" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 16:47:07 +0000 (0:00:00.484) 0:00:41.086 ************ changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active) [003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Show stderr messages] *********************** Friday 27 May 2022 16:47:07 +0000 (0:00:00.617) 0:00:41.704 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)", "[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 16:47:07 +0000 (0:00:00.081) 0:00:41.785 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)\n[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'lsr27': up connection lsr27 (active)", "[003] #0, state:down persistent_state:present, 'lsr27': call 'ifdown lsr27': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 27 May 2022 16:47:07 +0000 (0:00:00.081) 0:00:41.867 ************ ok: [sut] => { "changed": false, "ping": "pong" } PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 16:47:08 +0000 (0:00:00.292) 0:00:42.160 ************ ok: [sut] TASK [include_tasks] *********************************************************** Friday 27 May 2022 16:47:08 +0000 (0:00:00.662) 0:00:42.822 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/delete_interface.yml for sut TASK [remove test interface if necessary] ************************************** Friday 27 May 2022 16:47:09 +0000 (0:00:00.136) 0:00:42.959 ************ ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "lsr27" ], "delta": "0:00:00.012938", "end": "2022-05-27 16:47:08.815419", "rc": 0, "start": "2022-05-27 16:47:08.802481" } PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 16:47:09 +0000 (0:00:00.329) 0:00:43.289 ************ ok: [sut] TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 16:47:10 +0000 (0:00:00.625) 0:00:43.914 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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] *** Friday 27 May 2022 16:47:10 +0000 (0:00:00.158) 0:00:44.073 ************ 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 services are running] *********** Friday 27 May 2022 16:47:10 +0000 (0:00:00.450) 0:00:44.524 ************ 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] ********* Friday 27 May 2022 16:47:12 +0000 (0:00:01.828) 0:00:46.353 ************ 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] ********************* Friday 27 May 2022 16:47:13 +0000 (0:00:01.497) 0:00:47.850 ************ ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 16:47:14 +0000 (0:00:00.080) 0:00:47.931 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 16:47:14 +0000 (0:00:00.133) 0:00:48.064 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 16:47:14 +0000 (0:00:00.087) 0:00:48.151 ************ 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] ************ Friday 27 May 2022 16:47:14 +0000 (0:00:00.081) 0:00:48.233 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 16:47:14 +0000 (0:00:00.077) 0:00:48.310 ************ 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] *** Friday 27 May 2022 16:47:15 +0000 (0:00:00.558) 0:00:48.869 ************ ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-191735itwxzqx/tmpa2lercd9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 16:47:15 +0000 (0:00:00.475) 0:00:49.345 ************ changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27' TASK [linux-system-roles.network : Show stderr messages] *********************** Friday 27 May 2022 16:47:15 +0000 (0:00:00.474) 0:00:49.819 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 16:47:16 +0000 (0:00:00.079) 0:00:49.899 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "lsr27", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'lsr27': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-lsr27'" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 27 May 2022 16:47:16 +0000 (0:00:00.086) 0:00:49.986 ************ ok: [sut] => { "changed": false, "ping": "pong" } PLAY [Assert device and profile are absent] ************************************ TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 16:47:16 +0000 (0:00:00.308) 0:00:50.294 ************ ok: [sut] TASK [include_tasks] *********************************************************** Friday 27 May 2022 16:47:17 +0000 (0:00:00.632) 0:00:50.927 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [include] ***************************************************************** Friday 27 May 2022 16:47:17 +0000 (0:00:00.139) 0:00:51.066 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Friday 27 May 2022 16:47:17 +0000 (0:00:00.138) 0:00:51.205 ************ ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* Friday 27 May 2022 16:47:17 +0000 (0:00:00.131) 0:00:51.337 ************ ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Friday 27 May 2022 16:47:17 +0000 (0:00:00.296) 0:00:51.633 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Friday 27 May 2022 16:47:17 +0000 (0:00:00.079) 0:00:51.713 ************ fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep lsr27 | grep /etc", "delta": "0:00:00.022423", "end": "2022-05-27 16:47:17.587658", "rc": 1, "start": "2022-05-27 16:47:17.565235" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Friday 27 May 2022 16:47:18 +0000 (0:00:00.336) 0:00:52.050 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-lsr27] ************************** Friday 27 May 2022 16:47:18 +0000 (0:00:00.088) 0:00:52.139 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-lsr27] *********************** Friday 27 May 2022 16:47:18 +0000 (0:00:00.087) 0:00:52.226 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'lsr27' is absent] *********************************** Friday 27 May 2022 16:47:18 +0000 (0:00:00.079) 0:00:52.306 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** Friday 27 May 2022 16:47:18 +0000 (0:00:00.085) 0:00:52.391 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [include] ***************************************************************** Friday 27 May 2022 16:47:18 +0000 (0:00:00.133) 0:00:52.524 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface lsr27] ******************************************** Friday 27 May 2022 16:47:18 +0000 (0:00:00.142) 0:00:52.667 ************ ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface lsr27 is absent] *********************************** Friday 27 May 2022 16:47:19 +0000 (0:00:00.297) 0:00:52.965 ************ ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=85 changed=9 unreachable=0 failed=0 skipped=25 rescued=0 ignored=1 Friday 27 May 2022 16:47:19 +0000 (0:00:00.032) 0:00:52.997 ************ =============================================================================== Install iproute --------------------------------------------------------- 9.16s linux-system-roles.network : Configure networking connection profiles --- 5.01s linux-system-roles.network : Install packages --------------------------- 3.91s Create EPEL 8 ----------------------------------------------------------- 2.67s linux-system-roles.network : Check which services are running ----------- 1.88s linux-system-roles.network : Check which services are running ----------- 1.84s linux-system-roles.network : Check which services are running ----------- 1.83s linux-system-roles.network : Check which packages are installed --------- 1.75s linux-system-roles.network : Check which packages are installed --------- 1.50s linux-system-roles.network : Check which packages are installed --------- 1.48s linux-system-roles.network : Enable network service --------------------- 1.14s Gathering Facts --------------------------------------------------------- 0.86s Create veth interface lsr27 --------------------------------------------- 0.83s Enable EPEL 8 ----------------------------------------------------------- 0.78s Gathering Facts --------------------------------------------------------- 0.66s Gathering Facts --------------------------------------------------------- 0.65s Gathering Facts --------------------------------------------------------- 0.64s Gathering Facts --------------------------------------------------------- 0.63s Gathering Facts --------------------------------------------------------- 0.63s linux-system-roles.network : Configure networking connection profiles --- 0.62s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---