CiscoTestAutomation / pyats

Cisco DevNet pyATS Test Framework Bug Tracker
Apache License 2.0
148 stars 31 forks source link

Unicon hangs when parsing Juniper's username@hostname prompt if line is too long. #208

Open dudeov opened 1 year ago

dudeov commented 1 year ago

This post had to be deleted. I'm sorry for the inconvenience.

ParimiNeeraja commented 1 year ago

Hi dudeov, Thanks for reaching out support team. I'm working on this issue and will get back to you asap.

ParimiNeeraja commented 1 year ago

Hi dudeov,

This issue was fixed with latest version of 23.6 . Please check with latest version of pyats.

ParimiNeeraja commented 1 year ago

Hi @dudeov ,

Please confirm did you check with latest version of pyATS.

ParimiNeeraja commented 1 year ago

Hi @dudeov ,

Please enable the debug true and share the full log.

ParimiNeeraja commented 1 year ago

Hi ,

Can you please share the log with enabling the debug true.

ParimiNeeraja commented 1 year ago

Hi ,

Please confirm me in connect_directly.py script, what is the next steps script is doing after connection to the hostname. If possible please share the connect_directly.py script.

dudeov commented 1 year ago

It's just a testing script. It opens up the connection and doesn't do nothing then keeping the connection open. At least it's not supposed to close it. With the previous versions of pyATS it was just slow but after the connection was opened it remained open.

ParimiNeeraja commented 1 year ago

Hi @dudeov ,

I tried in my end, it's working good not stopping at any where. Kindly check and let me know.

image
dudeov commented 1 year ago

I'm terribly sorry. The issue was on my side. Your fix works perfectly well. Thanks so much for you work!