Automation: script issue with test_aap_with_fip/test_bgpaas_basic

Bug #1742283 reported by wenqing liang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Invalid
High
wenqing liang
Trunk
Invalid
High
wenqing liang

Bug Description

Seen in both r4.1-84 and r5.0-160 newton builds. No passing record since induction into sanity.

2018-01-08 19:47:44,189 - DEBUG - Traceback (most recent call last):^M
  File "/tmp/program.py", line 3, in <module>^M
    conn = manager.connect(host='138.154.247.3', username='root', password='c0ntrail123',timeout=10, device_params={'name': 'junos'}, hostkey_verify=False)^M
  File "/usr/local/lib/python2.7/dist-packages/ncclient/manager.py", line 154, in connect^M
    return connect_ssh(*args, **kwds)^M
  File "/usr/local/lib/python2.7/dist-packages/ncclient/manager.py", line 119, in connect_ssh^M
    session.connect(*args, **kwds)^M
  File "/usr/local/lib/python2.7/dist-packages/ncclient/transport/ssh.py", line 383, in connect^M
    raise SSHError("Could not open socket to %s:%s" % (host, port))^M
ncclient.transport.errors.SSHError: Could not open socket to 138.154.247.3:830
2018-01-08 19:47:45,382 - DEBUG - Running remote_cmd, Cmd : python /tmp/program.py, host_string: ubuntu@169.254.0.7, password: ubuntugateway: root@10.87.118.149, gateway password: c0ntrail123
2018-01-08 19:47:45,382 - DEBUG - python /tmp/program.py
2018-01-08 19:47:56,510 - DEBUG - Traceback (most recent call last):^M
  File "/tmp/program.py", line 3, in <module>^M
    conn = manager.connect(host='138.154.247.4', username='root', password='c0ntrail123',timeout=10, device_params={'name': 'junos'}, hostkey_verify=False)^M
  File "/usr/local/lib/python2.7/dist-packages/ncclient/manager.py", line 154, in connect^M
    return connect_ssh(*args, **kwds)^M
  File "/usr/local/lib/python2.7/dist-packages/ncclient/manager.py", line 119, in connect_ssh^M
    session.connect(*args, **kwds)^M
  File "/usr/local/lib/python2.7/dist-packages/ncclient/transport/ssh.py", line 383, in connect^M
    raise SSHError("Could not open socket to %s:%s" % (host, port))^M
ncclient.transport.errors.SSHError: Could not open socket to 138.154.247.4:830

Revision history for this message
Ganesha HV (ganeshahv) wrote :

Please try with the latest synced vSRX and ubuntu-traffic(vmdk) image.
Provide setup if you see the issue.

Revision history for this message
wenqing liang (wliang) wrote :

Tried with re-synced and then the resized image and the VMs still did not come up fully in both cases.

summary: - Automation: script issue with test_aap_with_fip
+ Automation: script issue with test_aap_with_fip/test_bgpaas_basic
Revision history for this message
Ganesha HV (ganeshahv) wrote :

The issue is specific to nested testbed. The same tests are running in other testbeds without an issue. Manually spawn up a vSRX image successfully in the testbed and see if the script fails.
This is not a script issue as of now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.