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 18:52:38 INFO Containerlab started version=0.75.0 18:52:38 INFO Parsing & checking topology file=clab.yml 18:52:38 INFO Removing directory path=/work/netlab_cicd/clab-ml-17 18:52:38 INFO Creating docker network name=nl_mgmt_17 IPv4 subnet=192.168.17.0/24 IPv6 subnet=fd00:df:1ab:17::/64 MTU=0 18:52:38 INFO Creating lab directory path=/work/netlab_cicd/clab-ml-17 18:52:38 INFO Creating container name=dut 18:52:38 INFO Creating container name=x1 18:52:38 INFO Created link: dut:eth1 ▪┄┄▪ x1:eth1 18:52:39 INFO Executed command node=x1 command="sleep 1" stdout="" 18:52:39 INFO Adding host entries path=/etc/hosts 18:52:39 INFO Adding SSH config for nodes path=/etc/ssh/ssh_config.d/clab-ml-17.conf 18:52:39 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 │ linux │ running │ 192.168.17.101 │ │ │ ghcr.io/sysoleg/vyos-container │ │ 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 lab devices with an Ansible playbook [WARNING]: Could not match supplied host pattern, ignoring: netlab_ready_ssh [WARNING]: Found variable using reserved name: hosts PLAY [Wait for SSH servers] **************************************************** skipping: no hosts matched 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/vyos-clab.yml for dut TASK [wait_for_connection] ***************************************************** ok: [dut] TASK [wait_for] **************************************************************** ok: [dut] PLAY RECAP ********************************************************************* dut : ok=5 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=========================================\nset system host-name 'dut'\n\n\n\n\n\nset interfaces dummy dum0 address 10.0.0.1/32\n\n\n\nset interfaces ethernet eth1 description 'dut -> x1'\n\nset interfaces ethernet eth1 mtu 1500\n\nset interfaces ethernet eth1 address 10.1.0.1/30\n\n\n\n\nset service lldp interface all\n>/dev/null 2>/dev/null set service lldp interface eth0 disable\n>/dev/null 2>/dev/null set service lldp interface eth0 mode disable\n\n\nset service ssh\n\ncommit\n\n# Restart FRR to pick up the new hostname\nsudo service frr restart\n" } TASK [Deploy initial configuration] ******************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/vyos.yml for dut TASK [set_fact] **************************************************************** ok: [dut] TASK [template] **************************************************************** changed: [dut] TASK [execute config-initial.sh to deploy initial config from /work/netlab_cicd/node_files/dut/initial] *** 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=========================================\n\nset protocols ospf parameters router-id 10.0.0.1\n\n\n\n\nset protocols ospf interface dum0 passive\nset protocols ospf interface dum0 area 0.0.0.0\n\n\nset protocols ospf interface eth1 area 0.0.0.0\n\nset protocols ospf interface eth1 network point-to-point\n\n\n" } TASK [Deploy ospf configuration] *********************************************** included: /home/pipi/netlab_gh/netsim/ansible/tasks/deploy-config/vyos.yml for dut TASK [set_fact] **************************************************************** ok: [dut] TASK [template] **************************************************************** changed: [dut] TASK [execute config-ospf.sh to deploy ospf config from /work/netlab_cicd/node_files/dut/ospf] *** changed: [dut] PLAY [Deploy custom deployment templates] ************************************** skipping: no hosts matched PLAY RECAP ********************************************************************* dut : ok=20 changed=4 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/vyos.yml for dut TASK [Collect VyOS configuration] ********************************************** changed: [dut] TASK [set_fact] **************************************************************** ok: [dut] TASK [Copy collected configuration to '/work/netlab_cicd/saved' directory] ***** changed: [dut -> localhost] PLAY RECAP ********************************************************************* dut : ok=7 changed=2 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 18:52:56 INFO Parsing & checking topology file=clab.yml 18:52:56 INFO Parsing & checking topology file=clab.yml 18:52:56 INFO Destroying lab name=ml-17 18:52:56 INFO Removed container name=clab-ml-17-x1 18:52:56 INFO Removed container name=clab-ml-17-dut 18:52:56 INFO Removing host entries path=/etc/hosts 18:52:56 INFO Removing SSH config path=/etc/ssh/ssh_config.d/clab-ml-17.conf