/home/pipi/.local/lib/python3.10/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from cryptography.hazmat.primitives.ciphers.algorithms in 48.0.0. "cipher": algorithms.TripleDES, /home/pipi/.local/lib/python3.10/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from cryptography.hazmat.primitives.ciphers.algorithms in 48.0.0. "class": algorithms.TripleDES, [WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details [WARNING]: Could not match supplied host pattern, ignoring: unprovisioned [WARNING]: Found variable using reserved name: hosts PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [probe] ok: [x1] ok: [dut] ok: [x2] ok: [v1] ok: [v2] ok: [vp] TASK [Generic readiness tests] ************************************************* skipping: [probe] skipping: [x1] skipping: [x2] skipping: [v1] skipping: [v2] skipping: [vp] included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/ssh.yml for dut => (item=ssh) TASK [Check if 'sshpass' is installed] ***************************************** ok: [dut -> localhost] TASK [Check for 'timeout' command] ********************************************* ok: [dut -> localhost] TASK [Execute local ssh command to check ssh readiness] ************************ FAILED - RETRYING: [dut -> localhost]: Execute local ssh command to check ssh readiness (40 retries left). FAILED - RETRYING: [dut -> localhost]: Execute local ssh command to check ssh readiness (39 retries left). FAILED - RETRYING: [dut -> localhost]: Execute local ssh command to check ssh readiness (38 retries left). FAILED - RETRYING: [dut -> localhost]: Execute local ssh command to check ssh readiness (37 retries left). FAILED - RETRYING: [dut -> localhost]: Execute local ssh command to check ssh readiness (36 retries left). ok: [dut -> localhost] TASK [Confirm dut SSH server works] ******************************************** ok: [dut] => msg: Node dut is ready. TASK [Find device readiness script] ******************************************** ok: [probe] ok: [x1] ok: [dut] ok: [x2] ok: [v1] ok: [vp] ok: [v2] TASK [Wait for device to become ready] ***************************************** skipping: [probe] skipping: [x1] skipping: [x2] skipping: [v1] skipping: [v2] skipping: [vp] included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/junos.yml for dut TASK [Wait for first interface (ge-0/0/0)] ************************************* ok: [dut] TASK [Normalize config on bridge-like devices] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut, probe, x1, x2, v1, v2, vp TASK [Figure out whether to deploy the module normalize on current device] ***** ok: [probe] ok: [x1] ok: [dut] ok: [x2] ok: [v1] ok: [v2] ok: [vp] TASK [Find configuration template for normalize] ******************************* ok: [probe] ok: [x1] ok: [dut] ok: [x2] ok: [v1] ok: [vp] ok: [v2] TASK [fail] ******************************************************************** skipping: [dut] skipping: [probe] skipping: [x1] skipping: [x2] skipping: [v1] skipping: [v2] skipping: [vp] TASK [Find configuration deployment deploy_script for normalize] *************** ok: [probe] ok: [dut] ok: [x1] ok: [v2] ok: [x2] ok: [v1] ok: [vp] TASK [Print deployed configuration when running in verbose mode] *************** skipping: [dut] skipping: [probe] skipping: [x1] skipping: [x2] skipping: [v1] skipping: [v2] skipping: [vp] TASK [Deploy normalize configuration] ****************************************** skipping: [dut] skipping: [probe] skipping: [x1] skipping: [x2] skipping: [v1] skipping: [v2] skipping: [vp] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut, probe, x1, x2, v1, v2, vp TASK [Figure out whether to deploy the module initial on current device] ******* ok: [probe] ok: [x1] ok: [x2] ok: [v1] ok: [v2] ok: [vp] ok: [dut] TASK [Find configuration template for initial] ********************************* ok: [probe] ok: [x1] ok: [x2] ok: [v1] ok: [vp] ok: [v2] ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] skipping: [probe] skipping: [x1] skipping: [x2] skipping: [v1] skipping: [v2] skipping: [vp] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [probe] ok: [x1] ok: [x2] ok: [vp] ok: [v1] ok: [v2] ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => msg: |- initial configuration for dut ========================================= system { host-name dut; static-host-mapping { probe inet 10.0.0.2; x1 inet 172.42.42.1; x2 inet 172.42.43.1; v1 inet 172.42.29.1; v2 inet 172.42.29.1; vp inet 10.0.0.7; } } policy-options { community tg_65000_1 members target:65000:1; } policy-options { policy-statement vrf-customer-rt-export { term 1 { then { community add tg_65000_1; accept; } } } policy-statement vrf-customer-rt-import { term 1 { from community [ tg_65000_1 ]; then accept; } term default { then reject; } } } routing-instances { customer { instance-type vrf; route-distinguisher 65000:1; vrf-import vrf-customer-rt-import; vrf-export vrf-customer-rt-export; routing-options { auto-export; } interface ge-0/0/3.0; interface ge-0/0/4.0; interface ge-0/0/5.0; } } interfaces { ge-0/0/0 { mtu 1514; } ge-0/0/1 { mtu 1514; } ge-0/0/2 { mtu 1514; } ge-0/0/3 { mtu 1514; } ge-0/0/4 { mtu 1514; } ge-0/0/5 { mtu 1514; } lo0.0 { family inet { address 10.0.0.1/32; } family inet6 { address 2001:db8:1:1::1/64; } } ge-0/0/0.0 { description "dut -> x1 [external]"; family inet { address 10.1.0.1/30; } family inet6 { address 2001:db8:3::1/64; } } ge-0/0/1.0 { description "dut -> x2 [external]"; family inet { address 10.1.0.5/30; } family inet6 { address 2001:db8:3:1::1/64; } } ge-0/0/2.0 { description "dut -> probe"; family inet { address 10.1.0.9/30; } family inet6 { address 2001:db8:3:2::1/64; } } ge-0/0/3.0 { description "dut -> v1 [external]"; family inet { address 10.1.0.13/30; } family inet6 { address 2001:db8:3:3::1/64; } } ge-0/0/4.0 { description "dut -> v2 [external]"; family inet { address 10.1.0.17/30; } family inet6 { address 2001:db8:3:4::1/64; } } ge-0/0/5.0 { description "dut -> vp [external]"; family inet { address 10.1.0.21/30; } family inet6 { address 2001:db8:3:5::1/64; } } } protocols { lldp { interface fxp0 { disable; } interface all; } router-advertisement { interface ge-0/0/0.0; interface ge-0/0/1.0; interface ge-0/0/2.0; interface ge-0/0/3.0; interface ge-0/0/4.0; interface ge-0/0/5.0; } } ok: [vp] => msg: |- initial configuration for vp ========================================= #!/bin/bash # set -e set -x # # Create bash profile script # cat <