# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Run playbook 'playbooks/tests_auto_gateway.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 13:39:27 +0000 (0:00:00.029) 0:00:00.029 ************ ok: [sut] TASK [include_tasks] *********************************************************** Friday 27 May 2022 13:39:28 +0000 (0:00:00.903) 0:00:00.932 ************ 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:39:28 +0000 (0:00:00.059) 0:00:00.993 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 27 May 2022 13:39:28 +0000 (0:00:00.060) 0:00:01.053 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** Friday 27 May 2022 13:39:28 +0000 (0:00:00.062) 0:00:01.116 ************ changed: [sut] => { "changed": true, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:02.607543", "end": "2022-05-27 13:39:31.420075", "rc": 0, "start": "2022-05-27 13:39:28.812532" } 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:39:15 2022. epel-release-latest-8.noarch.rpm 803 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:39:31 +0000 (0:00:02.961) 0:00:04.077 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 27 May 2022 13:39:31 +0000 (0:00:00.031) 0:00:04.109 ************ changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.583172", "end": "2022-05-27 13:39:32.304959", "rc": 0, "start": "2022-05-27 13:39:31.721787" } 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:39:32 +0000 (0:00:00.857) 0:00:04.966 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** Friday 27 May 2022 13:39:32 +0000 (0:00:00.034) 0:00:05.001 ************ ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 13:39:32 +0000 (0:00:00.037) 0:00:05.039 ************ ok: [sut] TASK [include_tasks] *********************************************************** Friday 27 May 2022 13:39:33 +0000 (0:00:00.618) 0:00:05.657 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Friday 27 May 2022 13:39:33 +0000 (0:00:00.059) 0:00:05.717 ************ 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 13:39:33 +0000 (0:00:00.045) 0:00:05.762 ************ ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004196", "end": "2022-05-27 13:39:33.371958", "rc": 0, "start": "2022-05-27 13:39:33.367762" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Friday 27 May 2022 13:39:33 +0000 (0:00:00.262) 0:00:06.025 ************ ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Friday 27 May 2022 13:39:33 +0000 (0:00:00.036) 0:00:06.062 ************ ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** Friday 27 May 2022 13:39:33 +0000 (0:00:00.033) 0:00:06.095 ************ 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 13:39:34 +0000 (0:00:00.075) 0:00:06.171 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Friday 27 May 2022 13:39:34 +0000 (0:00:00.031) 0:00:06.203 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include] ***************************************************************** Friday 27 May 2022 13:39:34 +0000 (0:00:00.032) 0:00:06.235 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Friday 27 May 2022 13:39:34 +0000 (0:00:00.041) 0:00:06.276 ************ 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 13:39:34 +0000 (0:00:00.039) 0:00:06.316 ************ ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003968", "end": "2022-05-27 13:39:33.920115", "rc": 0, "start": "2022-05-27 13:39:33.916147" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Friday 27 May 2022 13:39:34 +0000 (0:00:00.256) 0:00:06.573 ************ ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Friday 27 May 2022 13:39:34 +0000 (0:00:00.037) 0:00:06.610 ************ ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Friday 27 May 2022 13:39:34 +0000 (0:00:00.044) 0:00:06.655 ************ ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface veth0] ********************************************* Friday 27 May 2022 13:39:44 +0000 (0:00:09.598) 0:00:16.253 ************ changed: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.082903", "end": "2022-05-27 13:39:43.950388", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2022-05-27 13:39:43.867485" } changed: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.005094", "end": "2022-05-27 13:39:44.246469", "item": "ip link set peerveth0 up", "rc": 0, "start": "2022-05-27 13:39:44.241375" } changed: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.005991", "end": "2022-05-27 13:39:44.492313", "item": "ip link set veth0 up", "rc": 0, "start": "2022-05-27 13:39:44.486322" } TASK [Set up veth as managed by NetworkManager] ******************************** Friday 27 May 2022 13:39:45 +0000 (0:00:00.896) 0:00:17.149 ************ changed: [sut] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.138173", "end": "2022-05-27 13:39:44.895235", "rc": 0, "start": "2022-05-27 13:39:44.757062" } TASK [Delete veth interface veth0] ********************************************* Friday 27 May 2022 13:39:45 +0000 (0:00:00.405) 0:00:17.555 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** Friday 27 May 2022 13:39:45 +0000 (0:00:00.041) 0:00:17.596 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** Friday 27 May 2022 13:39:45 +0000 (0:00:00.038) 0:00:17.634 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** Friday 27 May 2022 13:39:45 +0000 (0:00:00.040) 0:00:17.675 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** Friday 27 May 2022 13:39:45 +0000 (0:00:00.041) 0:00:17.716 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 27 May 2022 13:39:45 +0000 (0:00:00.033) 0:00:17.750 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/assert_device_present.yml for sut TASK [include] ***************************************************************** Friday 27 May 2022 13:39:45 +0000 (0:00:00.073) 0:00:17.824 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** Friday 27 May 2022 13:39:45 +0000 (0:00:00.044) 0:00:17.868 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1653658783.9479954, "block_size": 4096, "blocks": 0, "ctime": 1653658783.9479954, "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/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1653658783.9479954, "nlink": 1, "path": "/sys/class/net/veth0", "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 veth0 is present] ********************************** Friday 27 May 2022 13:39:46 +0000 (0:00:00.429) 0:00:18.297 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST: I can configure an interface with auto_gateway enabled] ************ Friday 27 May 2022 13:39:46 +0000 (0:00:00.039) 0:00:18.336 ************ ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 13:39:46 +0000 (0:00:00.032) 0:00:18.369 ************ 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:39:46 +0000 (0:00:00.153) 0:00:18.523 ************ 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:39:46 +0000 (0:00:00.424) 0:00:18.947 ************ 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:39:48 +0000 (0:00:02.005) 0:00:20.953 ************ 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:39:50 +0000 (0:00:01.884) 0:00:22.837 ************ ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 13:39:50 +0000 (0:00:00.083) 0:00:22.920 ************ changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.15-1.el8.x86_64", "Installed: network-scripts-team-1.31-2.el8.x86_64" ] } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 13:39:54 +0000 (0:00:04.124) 0:00:27.045 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 13:39:55 +0000 (0:00:00.134) 0:00:27.179 ************ 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:39:55 +0000 (0:00:00.082) 0:00:27.262 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 13:39:55 +0000 (0:00:00.080) 0:00:27.342 ************ 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:39:56 +0000 (0:00:01.248) 0:00:28.590 ************ ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-21992125evtn/tmpm3rw87r2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 13:39:56 +0000 (0:00:00.512) 0:00:29.103 ************ fatal: [sut]: UNREACHABLE! => { "changed": false, "unreachable": true } MSG: Data could not be sent to remote host "10.29.163.174". Make sure this host can be reached over ssh: to retry, use: --limit @/tmp/tests_auto_gateway_initscripts.retry PLAY RECAP ********************************************************************* sut : ok=34 changed=6 unreachable=1 failed=0 skipped=13 rescued=0 ignored=0 Friday 27 May 2022 15:51:15 +0000 (2:11:18.850) 2:11:47.953 ************ =============================================================================== linux-system-roles.network : Configure networking connection profiles 7878.85s Install iproute --------------------------------------------------------- 9.60s linux-system-roles.network : Install packages --------------------------- 4.12s Create EPEL 8 ----------------------------------------------------------- 2.96s linux-system-roles.network : Check which services are running ----------- 2.01s linux-system-roles.network : Check which packages are installed --------- 1.88s linux-system-roles.network : Enable network service --------------------- 1.25s Gathering Facts --------------------------------------------------------- 0.90s Create veth interface veth0 --------------------------------------------- 0.90s Enable EPEL 8 ----------------------------------------------------------- 0.86s Gathering Facts --------------------------------------------------------- 0.62s linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.51s Get stat for interface veth0 -------------------------------------------- 0.43s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.42s Set up veth as managed by NetworkManager -------------------------------- 0.41s Gather current interface info ------------------------------------------- 0.26s Gather current interface info ------------------------------------------- 0.26s linux-system-roles.network : Ensure ansible_facts used by role ---------- 0.15s linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces --- 0.13s linux-system-roles.network : Print network provider --------------------- 0.08s ---^---^---^---^---^--- # 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 ---^---^---^---^---^---