cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
719
Views
0
Helpful
1
Replies

IOS XE on Catalyst 9000 16.12 Code

Kevin Breit
Level 4
Level 4

I'm trying to use the IOS XE on Catalyst 9000 16.12 Code sandbox and twice have received errors. It starts but says there are errors. I'm also not receiving an email with VPN credentials.

 

 20:17:14 Environment Driver Setup has begun

Beginning sandbox setupPreparing connectivityApps deployment startedApps are being discovered...Connecting all appsApps are powering on...Waiting for apps IP addresses, this may take a while...No apps to configureSandbox setup finished successfully20:19:28 Just a moment - a few more things left to setup...

20:19:31 Setting POD Internet access policy

20:19:36 Waiting 3 minutes for all systems be become fully ready

20:23:17 Calling Setup on applicable resources

20:23:57 Beginning Setup for resource [Catalyst 9000-6]

20:25:12 Errors reported during Setup for resource [Catalyst 9000-6] 

20:25:12 

ERROR detected when calling Resource Driver Command [Setup] for resource [Catalyst 9000-6].
Friendly Error Message: CAT9000 pyats test command returned error code of [1]
Technical Error Message: CAT9000 pyats test command stdout:  cat9300-testbed.yaml_test.py --testbed 
2020-10-28T13:24:44: %EASYPY-INFO: Starting job run: sandbox_test
2020-10-28T13:24:44: %EASYPY-INFO: Runinfo directory: /home/developer/.pyats/runinfo/sandbox_test.2020Oct28_13:24:43.395852
2020-10-28T13:24:44: %EASYPY-INFO: --------------------------------------------------------------------------------
2020-10-28T13:24:44: %EASYPY-INFO: Testbed file cat9300-testbed.yaml exists and is readable.
2020-10-28T13:24:46: %EASYPY-INFO: Starting task execution: Task-1
2020-10-28T13:24:46: %EASYPY-INFO:     test harness = pyats.aetest
2020-10-28T13:24:46: %EASYPY-INFO:     testscript   = /home/developer/sbx_iosxe/sandbox_tests/device_api_test.py
2020-10-28T13:24:46: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:24:46: %AETEST-INFO: |                            Starting common setup                             |
2020-10-28T13:24:46: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:24:46: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:24:46: %AETEST-INFO: |                           Starting subsection misc                           |
2020-10-28T13:24:46: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:24:46: %AETEST-INFO: The result of subsection misc is => PASSED
2020-10-28T13:24:46: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:24:46: %AETEST-INFO: |                       Starting subsection get_devices                        |
2020-10-28T13:24:46: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:24:46: %SCRIPT-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:24:46: %SCRIPT-INFO: |                          Connect to device 'cat9k'                           |
2020-10-28T13:24:46: %SCRIPT-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:24:46: %AETEST-INFO: The result of subsection get_devices is => PASSED
2020-10-28T13:24:46: %AETEST-INFO: The result of common setup is => PASSED
2020-10-28T13:24:46: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:24:46: %AETEST-INFO: |                    Starting testcase Connectivity_Verify                     |
2020-10-28T13:24:46: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:24:46: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:24:46: %AETEST-INFO: |                          Starting section test_ssh                           |
2020-10-28T13:24:46: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:24:46: %SCRIPT-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:24:46: %SCRIPT-INFO: |                         Testing SSH Access to cat9k                          |
2020-10-28T13:24:46: %SCRIPT-INFO: +------------------------------------------------------------------------------+
[2020-10-28 13:24:46,801] +++ cat9k logfile /home/developer/.pyats/runinfo/sandbox_test.2020Oct28_13:24:43.395852/cat9k-admin-1603916686.log +++
[2020-10-28 13:24:46,802] +++ Unicon plugin iosxe +++
2020-10-28T13:24:46: %WARNINGS-WARNING: /home/developer/sbx_iosxe/sandbox_tests/device_api_test.py:77:
2020-10-28T13:24:46: %WARNINGS-WARNING: DeprecationWarning: Arguments 'username', 'enable_password','tacacs_password' and 'line_password' are now deprecated and replaced by 'credentials'.
2020-10-28T13:24:46: %WARNINGS-WARNING:   dev.connect(alias="admin", via="admin", learn_hostname=True)
ssh: connect to host 10.10.20.100 port 22: No route to host

[2020-10-28 13:24:49,864] +++ connection to spawn: ssh -l cisco 10.10.20.100, id: 140399368485632 +++
[2020-10-28 13:24:49,864] connection to cat9k
2020-10-28T13:25:00: %SCRIPT-ERROR: Attempt number 1 to connect with SSH failed.
2020-10-28T13:25:00: %SCRIPT-ERROR: failed to connect to cat9k
2020-10-28T13:25:00: %SCRIPT-ERROR: Failed while bringing device to "any" state
ssh: connect to host 10.10.20.100 port 22: No route to host

[2020-10-28 13:25:03,919] +++ connection to spawn: ssh -l cisco 10.10.20.100, id: 140399368604360 +++
[2020-10-28 13:25:03,919] connection to cat9k
2020-10-28T13:25:14: %SCRIPT-ERROR: Attempt number 2 to connect with SSH failed.
2020-10-28T13:25:14: %SCRIPT-ERROR: failed to connect to cat9k
2020-10-28T13:25:14: %SCRIPT-ERROR: Failed while bringing device to "any" state
2020-10-28T13:25:14: %AETEST-ERROR: Failed reason: Failed to establish SSH connection to 'cat9k'
2020-10-28T13:25:14: %AETEST-INFO: The result of section test_ssh is => FAILED
2020-10-28T13:25:14: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:14: %AETEST-INFO: |                        Starting section test_netconf                         |
2020-10-28T13:25:14: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:14: %SCRIPT-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:14: %SCRIPT-INFO: |                       Testing NETCONF Access to cat9k                        |
2020-10-28T13:25:14: %SCRIPT-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:17: %SCRIPT-ERROR: Attempt number 1 to connect with NETCONF failed.
2020-10-28T13:25:17: %SCRIPT-ERROR: Could not open socket to 10.10.20.100:830
2020-10-28T13:25:20: %SCRIPT-ERROR: Attempt number 2 to connect with NETCONF failed.
2020-10-28T13:25:20: %SCRIPT-ERROR: Could not open socket to 10.10.20.100:830
2020-10-28T13:25:20: %AETEST-ERROR: Failed reason: Failed to establish NETCONF connection to 'cat9k'
2020-10-28T13:25:20: %AETEST-INFO: The result of section test_netconf is => FAILED
2020-10-28T13:25:20: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:20: %AETEST-INFO: |                        Starting section test_restconf                        |
2020-10-28T13:25:20: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:20: %SCRIPT-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:20: %SCRIPT-INFO: |                       Testing RESTCONF Access to cat9k                       |
2020-10-28T13:25:20: %SCRIPT-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:23: %SCRIPT-ERROR: Attempt number 1 to connect with RESTCONF failed.
2020-10-28T13:25:23: %SCRIPT-ERROR: HTTPSConnectionPool(host='10.10.20.100', port=443): Max retries exceeded with url: /.well-known/host-meta (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 113] No route to host',))
2020-10-28T13:25:26: %SCRIPT-ERROR: Attempt number 2 to connect with RESTCONF failed.
2020-10-28T13:25:26: %SCRIPT-ERROR: HTTPSConnectionPool(host='10.10.20.100', port=443): Max retries exceeded with url: /.well-known/host-meta (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 113] No route to host',))
2020-10-28T13:25:26: %AETEST-ERROR: Failed reason: Failed to establish RESTCONF connection to 'cat9k'
2020-10-28T13:25:26: %AETEST-INFO: The result of section test_restconf is => FAILED
2020-10-28T13:25:26: %AETEST-INFO: The result of testcase Connectivity_Verify is => FAILED
2020-10-28T13:25:27: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:27: %AETEST-INFO: |                           Starting common cleanup                            |
2020-10-28T13:25:27: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:27: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:27: %AETEST-INFO: |                        Starting subsection disconnect                        |
2020-10-28T13:25:27: %AETEST-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:39: %AETEST-INFO: The result of subsection disconnect is => PASSED
2020-10-28T13:25:39: %AETEST-INFO: The result of common cleanup is => PASSED
2020-10-28T13:25:39: %EASYPY-INFO: --------------------------------------------------------------------------------
2020-10-28T13:25:39: %EASYPY-INFO: Job finished. Wrapping up...
2020-10-28T13:25:39: %EASYPY-INFO: Creating archive file: /home/developer/.pyats/archive/20-Oct/sandbox_test.2020Oct28_13:24:43.395852.zip
2020-10-28T13:25:39: %EASYPY-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:39: %EASYPY-INFO: |                                Easypy Report                                 |
2020-10-28T13:25:39: %EASYPY-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:39: %EASYPY-INFO: pyATS Instance   : /home/developer/sbx_iosxe/sandbox_tests/venv
2020-10-28T13:25:39: %EASYPY-INFO: Python Version   : cpython-3.6.8 (64bit)
2020-10-28T13:25:39: %EASYPY-INFO: CLI Arguments    : /home/developer/sbx_iosxe/sandbox_tests/venv/bin/pyats run job sandbox_test.py --testbed cat9300-testbed.yaml
2020-10-28T13:25:39: %EASYPY-INFO: User             : developer
2020-10-28T13:25:39: %EASYPY-INFO: Host Server      : devbox
2020-10-28T13:25:39: %EASYPY-INFO: Host OS Version  : CentOS Linux 7 Core (x86_64)
2020-10-28T13:25:39: %EASYPY-INFO: 
2020-10-28T13:25:39: %EASYPY-INFO: Job Information
2020-10-28T13:25:39: %EASYPY-INFO:     Name         : sandbox_test
2020-10-28T13:25:39: %EASYPY-INFO:     Start time   : 2020-10-28 13:24:44.440043
2020-10-28T13:25:39: %EASYPY-INFO:     Stop time    : 2020-10-28 13:25:39.117017
2020-10-28T13:25:39: %EASYPY-INFO:     Elapsed time : 0:00:54.676974
2020-10-28T13:25:39: %EASYPY-INFO:     Archive      : /home/developer/.pyats/archive/20-Oct/sandbox_test.2020Oct28_13:24:43.395852.zip
2020-10-28T13:25:39: %EASYPY-INFO: 
2020-10-28T13:25:39: %EASYPY-INFO: Total Tasks    : 1 
2020-10-28T13:25:39: %EASYPY-INFO: 
2020-10-28T13:25:39: %EASYPY-INFO: Overall Stats
2020-10-28T13:25:39: %EASYPY-INFO:     Passed     : 2
2020-10-28T13:25:39: %EASYPY-INFO:     Passx      : 0
2020-10-28T13:25:39: %EASYPY-INFO:     Failed     : 1
2020-10-28T13:25:39: %EASYPY-INFO:     Aborted    : 0
2020-10-28T13:25:39: %EASYPY-INFO:     Blocked    : 0
2020-10-28T13:25:39: %EASYPY-INFO:     Skipped    : 0
2020-10-28T13:25:39: %EASYPY-INFO:     Errored    : 0
2020-10-28T13:25:39: %EASYPY-INFO: 
2020-10-28T13:25:39: %EASYPY-INFO:     TOTAL      : 3
2020-10-28T13:25:39: %EASYPY-INFO: 
2020-10-28T13:25:39: %EASYPY-INFO: Success Rate   : 66.67 %
2020-10-28T13:25:39: %EASYPY-INFO: 
2020-10-28T13:25:39: %EASYPY-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:39: %EASYPY-INFO: |                             Task Result Summary                              |
2020-10-28T13:25:39: %EASYPY-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:39: %EASYPY-INFO: Task-1: device_api_test.common_setup                                      PASSED
2020-10-28T13:25:39: %EASYPY-INFO: Task-1: device_api_test.Connectivity_Verify                               FAILED
2020-10-28T13:25:39: %EASYPY-INFO: Task-1: device_api_test.common_cleanup                                    PASSED
2020-10-28T13:25:39: %EASYPY-INFO: 
2020-10-28T13:25:39: %EASYPY-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:39: %EASYPY-INFO: |                             Task Result Details                              |
2020-10-28T13:25:39: %EASYPY-INFO: +------------------------------------------------------------------------------+
2020-10-28T13:25:39: %EASYPY-INFO: Task-1: device_api_test
2020-10-28T13:25:39: %EASYPY-INFO: |-- common_setup                                                          PASSED
2020-10-28T13:25:39: %EASYPY-INFO: |   |-- misc                                                              PASSED
2020-10-28T13:25:39: %EASYPY-INFO: |   `-- get_devices                                                       PASSED
2020-10-28T13:25:39: %EASYPY-INFO: |-- Connectivity_Verify                                                   FAILED
2020-10-28T13:25:39: %EASYPY-INFO: |   |-- test_ssh                                                          FAILED
2020-10-28T13:25:39: %EASYPY-INFO: |   |-- test_netconf                                                      FAILED
2020-10-28T13:25:39: %EASYPY-INFO: |   `-- test_restconf                                                     FAILED
2020-10-28T13:25:39: %EASYPY-INFO: `-- common_cleanup                                                        PASSED
2020-10-28T13:25:39: %EASYPY-INFO:     `-- disconnect                                                        PASSED
2020-10-28T13:25:39: %EASYPY-INFO: Sending report email...
2020-10-28T13:25:39: %EASYPY-INFO: Missing SMTP server configuration, or failed to reach/authenticate/send mail. Result notification email failed to send.
2020-10-28T13:25:39: %EASYPY-INFO: Done!

Pro Tip
-------
   Use the following command to view your logs locally:
       pyats logs view

(venv) [developer@devbox sandbox_tests
Error Location: UHD_RD_IOSXE_Catalyst_9000_Baseline:remote_test_C9K.SSH Remote Test


20:25:20 None

20:25:20 Errors occurred preparing environment.   Please use the forum at
https://communities.cisco.com/community/developer/sandbox for assistance

20:25:21 Driver Complete.
1 Reply 1

There was an issue yesterday which i was helping a customer/partner with (not the same error i must note). The Sandbox ENG team and also the BU for CAT9K are looking into this.

 

Hope this helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io