Using transformed lab topology from snapshot file netlab.snapshot.pickle Checking virtualization provider installation OK: clab installed and working correctly Starting clab nodes [INFO] Setting containerlab runtime to docker provider clab: executing flock -E 42 /tmp/netlab.lock containerlab deploy --reconfigure -t clab.yml 17:26:06 INFO Containerlab started version=0.75.0 17:26:06 INFO Parsing & checking topology file=clab.yml 17:26:06 INFO Removing directory path=/work/netlab_cicd/clab-ml-17 17:26:06 INFO Creating docker network name=nl_mgmt_17 IPv4 subnet=192.168.17.0/24 IPv6 subnet=fd00:df:1ab:17::/64 MTU=0 17:26:06 INFO Creating lab directory path=/work/netlab_cicd/clab-ml-17 17:26:06 INFO Creating container name=x1 17:26:06 INFO Creating container name=dut 17:26:07 INFO Created link: dut:eth1 ▪┄┄▪ x1:eth1 17:26:08 INFO Executed command node=x1 command="sleep 1" stdout="" 17:26:08 INFO Adding host entries path=/etc/hosts 17:26:08 INFO Adding SSH config for nodes path=/etc/ssh/ssh_config.d/clab-ml-17.conf 17:26:08 INFO containerlab version 🎉= │ A newer containerlab version (0.78.0) is available! │ Release notes: https://containerlab.dev/rn/0.78/ │ Run 'clab version upgrade' or see https://containerlab.dev/install/ for other installation options. ╭────────────────┬──────────────────────────────┬────────────────────┬───────────────────╮ │ Name │ Kind/Image │ State │ IPv4/6 Address │ ├────────────────┼──────────────────────────────┼────────────────────┼───────────────────┤ │ clab-ml-17-dut │ cisco_n9kv │ running │ 192.168.17.101 │ │ │ vrnetlab/cisco_n9kv:10.6.2 │ (health: starting) │ fd00:df:1ab:17::2 │ ├────────────────┼──────────────────────────────┼────────────────────┼───────────────────┤ │ clab-ml-17-x1 │ linux │ running │ 192.168.17.102 │ │ │ quay.io/frrouting/frr:10.6.1 │ │ fd00:df:1ab:17::3 │ ╰────────────────┴──────────────────────────────┴────────────────────┴───────────────────╯ Deploying initial device configurations Creating Device configuration snippets [CREATED] dut: initial,ospf [CREATED] x1: initial,ospf Checking Are lab devices ready to be configured? [INFO] Checking SSH server(s) on dut [SSH] SSH server on node dut (device nxos) is ready after 180.7 seconds [INFO] Checking lab devices with an Ansible playbook [WARNING]: Found variable using reserved name: hosts PLAY [Wait for SSH servers] **************************************************** PLAY [Wait for device-specific conditions] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] TASK [Find device readiness script] ******************************************** ok: [dut] TASK [Wait for device to become ready] ***************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/readiness-check/nxos.yml for dut TASK [Wait for Eth1/1 to appear] *********************************************** ok: [dut] PLAY RECAP ********************************************************************* dut : ok=4 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Config Deploying device configurations [INFO] Executing initial configuration for node x1 [INFO] Executing ospf configuration for node x1 [INFO] Starting Ansible playbook to deploy the rest of the configurations [WARNING]: Found variable using reserved name: hosts PLAY [Deploy initial device configuration] ************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut TASK [Figure out whether to deploy the module initial on current device] ******* ok: [dut] TASK [Find configuration template for initial] ********************************* ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] TASK [Find configuration deployment deploy_script for initial] ***************** ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "initial configuration for dut\n=========================================\nhostname dut\n!\nno ip domain-lookup\n!\nfeature lldp\n!\nusername vagrant password vagrant\n!\nip host x1 10.0.0.2\n!\n!\ninterface mgmt0\n no lldp transmit\n no lldp receive\n!\ninterface loopback0\n no shutdown\n ip address 10.0.0.1/32\n!\ninterface Ethernet1/1\n no shutdown\n no switchport\n mac-address caf0.0001.0001\n description dut -> x1\n mtu 1500\n ip address 10.1.0.1/30\n!\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/nxos.yml for dut TASK [nxos_config: deploying initial from /work/netlab_cicd/node_files/dut/initial] *** [WARNING]: To ensure idempotency and correct diff the input configuration lines should be similar to how they appear if present in the running configuration on device including the indentation changed: [dut] PLAY [Deploy module-specific configurations] *********************************** TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] TASK [Deploy individual configuration modules] ********************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-module.yml for dut => (item=ospf) TASK [Figure out whether to deploy the module ospf on current device] ********** ok: [dut] TASK [Find configuration template for ospf] ************************************ ok: [dut] TASK [fail] ******************************************************************** skipping: [dut] TASK [Find configuration deployment deploy_script for ospf] ******************** ok: [dut] TASK [Print deployed configuration when running in verbose mode] *************** ok: [dut] => { "msg": "ospf configuration for dut\n=========================================\nfeature ospf\n!\nrouter ospf 1\n router-id 10.0.0.1\n timers throttle spf 100 200 500\n timers throttle lsa 0 100 500\n!\ninterface loopback0\n ip router ospf 1 area 0.0.0.0\n!\ninterface Ethernet1/1\n! dut -> x1\n ip router ospf 1 area 0.0.0.0\n ip ospf network point-to-point\n!\n" } TASK [Deploy ospf configuration] *********************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/nxos.yml for dut TASK [nxos_config: deploying ospf from /work/netlab_cicd/node_files/dut/ospf] *** changed: [dut] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut : ok=16 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Results of configuration script deployments ================================================================================ x1 Script: initial,ospf OK: Lab devices configured This topology tests the "start lab with configuration reload" functionality. You should: * Start the lab with "netlab up" * Save the configuration with "netlab collect -o saved" * Stop the lab with "netlab down" * Restart the lab with "netlab up --snapshot --reload-config saved" * Validate the results with "netlab validate" [WARNING]: Found variable using reserved name: hosts PLAY [Collect device configurations] ******************************************* TASK [Set variables that cannot be set with VARS] ****************************** ok: [dut] TASK [Create '/work/netlab_cicd/saved' directory] ****************************** ok: [dut -> localhost] TASK [Find configuration collection script] ************************************ ok: [dut] TASK [Collect device configurations] ******************************************* included: /home/pipi/netlab_gh/netsim/ansible/tasks/fetch-config/nxos.yml for dut TASK [cisco.nxos.nxos_facts] *************************************************** ok: [dut] TASK [Copy collected configuration to '/work/netlab_cicd/saved' directory] ***** changed: [dut -> localhost] PLAY RECAP ********************************************************************* dut : ok=6 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 cwd: /work/netlab_cicd output: saved Checking virtualization provider installation OK: clab installed and working correctly Stopping clab nodes [INFO] Setting containerlab runtime to docker provider clab: executing flock -E 42 /tmp/netlab.lock containerlab destroy --cleanup -t clab.yml 17:29:30 INFO Parsing & checking topology file=clab.yml 17:29:30 INFO Parsing & checking topology file=clab.yml 17:29:30 INFO Destroying lab name=ml-17 17:29:31 INFO Removed container name=clab-ml-17-x1 17:29:32 INFO Removed container name=clab-ml-17-dut 17:29:32 INFO Removing host entries path=/etc/hosts 17:29:32 INFO Removing SSH config path=/etc/ssh/ssh_config.d/clab-ml-17.conf