# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Run playbook 'playbooks/tests_bond_deprecated.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 13:49:32 +0000 (0:00:00.031) 0:00:00.031 ************ ok: [sut] TASK [include_tasks] *********************************************************** Friday 27 May 2022 13:49:33 +0000 (0:00:00.990) 0:00:01.022 ************ 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 13:49:33 +0000 (0:00:00.079) 0:00:01.101 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 27 May 2022 13:49:33 +0000 (0:00:00.159) 0:00:01.261 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** Friday 27 May 2022 13:49:34 +0000 (0:00:00.224) 0:00:01.485 ************ changed: [sut] => { "changed": true, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:02.317948", "end": "2022-05-27 13:49:36.312594", "rc": 0, "start": "2022-05-27 13:49:33.994646" } 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:14 ago on Fri May 27 13:49:20 2022. epel-release-latest-8.noarch.rpm 731 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 13:49:36 +0000 (0:00:02.768) 0:00:04.253 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 27 May 2022 13:49:36 +0000 (0:00:00.046) 0:00:04.300 ************ changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.529414", "end": "2022-05-27 13:49:37.145776", "rc": 0, "start": "2022-05-27 13:49:36.616362" } 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 13:49:37 +0000 (0:00:00.783) 0:00:05.083 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** Friday 27 May 2022 13:49:37 +0000 (0:00:00.054) 0:00:05.138 ************ ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 13:49:37 +0000 (0:00:00.101) 0:00:05.239 ************ ok: [sut] TASK [INIT Prepare setup] ****************************************************** Friday 27 May 2022 13:49:38 +0000 (0:00:00.571) 0:00:05.810 ************ ok: [sut] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* Friday 27 May 2022 13:49:38 +0000 (0:00:00.035) 0:00:05.846 ************ changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: dnsmasq-2.79-19.el8.x86_64" ] } TASK [Install pgrep, sysctl] *************************************************** Friday 27 May 2022 13:49:49 +0000 (0:00:11.229) 0:00:17.075 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** Friday 27 May 2022 13:49:49 +0000 (0:00:00.040) 0:00:17.115 ************ ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** Friday 27 May 2022 13:49:51 +0000 (0:00:01.828) 0:00:18.944 ************ ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nip link add test1 type veth peer name test1p\nip link add test2 type veth peer name test2p\nif [ -n \"$(pgrep NetworkManager)\" ];then\n nmcli d set test1 managed true\n nmcli d set test2 managed true\n # NetworkManager should not manage DHCP server ports\n nmcli d set test1p managed false\n nmcli d set test2p managed false\nfi\nip link set test1p up\nip link set test2p up\n\n# Create the 'testbr' - providing both 10.x ipv4 and 2620:52:0 ipv6 dhcp\nip link add name testbr type bridge forward_delay 0\nif [ -n \"$(pgrep NetworkManager)\" ];then\n # NetworkManager should not manage DHCP server ports\n nmcli d set testbr managed false\nfi\nip link set testbr up\ntimer=0\n# The while loop following is a workaround for the NM bug, which can be\n# tracked in https://bugzilla.redhat.com/show_bug.cgi?id=2079642\nwhile ! ip addr show testbr | grep -q 'inet [1-9]'\ndo\n let \"timer+=1\"\n if [ $timer -eq 30 ]; then break; fi\n sleep 1\n ip addr add 192.0.2.1/24 dev testbr\n ip -6 addr add 2001:DB8::1/32 dev testbr\ndone\n\nif grep 'release 6' /etc/redhat-release; then\n # We need bridge-utils and radvd only in rhel6\n if ! rpm -q --quiet radvd; then yum -y install radvd; fi\n if ! rpm -q --quiet bridge-utils; then yum -y install bridge-utils; fi\n\n # We need to add iptables rule to allow dhcp request\n iptables -I INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\n # Add test1, test2 peers into the testbr\n brctl addif testbr test1p\n brctl addif testbr test2p\n\n # in RHEL6 /run is not present\n mkdir -p /run\n\n # and dnsmasq does not support ipv6\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --interface=testbr --bind-interfaces\n\n # start radvd for ipv6\n echo 'interface testbr {' > /etc/radvd.conf\n echo ' AdvSendAdvert on;' >> /etc/radvd.conf\n echo ' prefix 2001:DB8::/64 { ' >> /etc/radvd.conf\n echo ' AdvOnLink on; }; ' >> /etc/radvd.conf\n echo ' }; ' >> /etc/radvd.conf\n\n # enable ipv6 forwarding\n sysctl -w net.ipv6.conf.all.forwarding=1\n service radvd restart\n\nelse\n ip link set test1p master testbr\n ip link set test2p master testbr\n # Run joint DHCP4/DHCP6 server with RA enabled in veth namespace\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --dhcp-range=2001:DB8::10,2001:DB8::1FF,slaac,64,240 --enable-ra --interface=testbr --bind-interfaces\nfi\n", "delta": "0:00:01.439887", "end": "2022-05-27 13:49:52.707547", "rc": 0, "start": "2022-05-27 13:49:51.267660" } TASK [Get stat for interface test1] ******************************************** Friday 27 May 2022 13:49:53 +0000 (0:00:01.708) 0:00:20.652 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1653659391.3040771, "block_size": 4096, "blocks": 0, "ctime": 1653659391.3040771, "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/test1", "lnk_target": "../../devices/virtual/net/test1", "mode": "0777", "mtime": 1653659391.3040771, "nlink": 1, "path": "/sys/class/net/test1", "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 test1 is present] ********************************** Friday 27 May 2022 13:49:53 +0000 (0:00:00.396) 0:00:21.048 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get stat for interface test2] ******************************************** Friday 27 May 2022 13:49:53 +0000 (0:00:00.044) 0:00:21.092 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1653659391.3187444, "block_size": 4096, "blocks": 0, "ctime": 1653659391.3187444, "dev": 20, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21932, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/test2", "lnk_target": "../../devices/virtual/net/test2", "mode": "0777", "mtime": 1653659391.3187444, "nlink": 1, "path": "/sys/class/net/test2", "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 test2 is present] ********************************** Friday 27 May 2022 13:49:53 +0000 (0:00:00.254) 0:00:21.346 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports using deprecated 'master' argument] *********** Friday 27 May 2022 13:49:53 +0000 (0:00:00.040) 0:00:21.387 ************ ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 13:49:54 +0000 (0:00:00.032) 0:00:21.419 ************ 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 13:49:54 +0000 (0:00:00.149) 0:00:21.568 ************ 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 13:49:54 +0000 (0:00:00.393) 0:00:21.962 ************ 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 13:49:56 +0000 (0:00:01.802) 0:00:23.764 ************ 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 13:49:58 +0000 (0:00:01.808) 0:00:25.572 ************ ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 13:49:58 +0000 (0:00:00.086) 0:00:25.659 ************ 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 13:50:01 +0000 (0:00:03.620) 0:00:29.279 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 13:50:01 +0000 (0:00:00.098) 0:00:29.378 ************ 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 13:50:02 +0000 (0:00:00.087) 0:00:29.466 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 13:50:02 +0000 (0:00:00.123) 0:00:29.589 ************ 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 13:50:03 +0000 (0:00:01.150) 0:00:30.739 ************ ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-4571d88x1tmt/tmpj2bgumay" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 13:50:03 +0000 (0:00:00.485) 0:00:31.225 ************ fatal: [sut]: UNREACHABLE! => { "changed": false, "unreachable": true } MSG: Data could not be sent to remote host "10.29.163.91". Make sure this host can be reached over ssh: to retry, use: --limit @/tmp/tests_bond_deprecated_initscripts.retry PLAY RECAP ********************************************************************* sut : ok=24 changed=5 unreachable=1 failed=0 skipped=7 rescued=0 ignored=0 Friday 27 May 2022 16:01:22 +0000 (2:11:18.219) 2:11:49.445 ************ =============================================================================== linux-system-roles.network : Configure networking connection profiles 7878.22s Install dnsmasq -------------------------------------------------------- 11.23s linux-system-roles.network : Install packages --------------------------- 3.62s Create EPEL 8 ----------------------------------------------------------- 2.77s Install pgrep, sysctl --------------------------------------------------- 1.83s linux-system-roles.network : Check which packages are installed --------- 1.81s linux-system-roles.network : Check which services are running ----------- 1.80s Create test interfaces -------------------------------------------------- 1.71s linux-system-roles.network : Enable network service --------------------- 1.15s Gathering Facts --------------------------------------------------------- 0.99s Enable EPEL 8 ----------------------------------------------------------- 0.78s Gathering Facts --------------------------------------------------------- 0.57s linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.49s Get stat for interface test1 -------------------------------------------- 0.40s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.39s Get stat for interface test2 -------------------------------------------- 0.25s include_tasks ----------------------------------------------------------- 0.22s Fix CentOS6 Base repo --------------------------------------------------- 0.16s linux-system-roles.network : Ensure ansible_facts used by role ---------- 0.15s linux-system-roles.network : Enable and start wpa_supplicant ------------ 0.12s ---^---^---^---^---^--- # 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 ---^---^---^---^---^---