lgirdk / boardfarm

Automated testing with python
BSD 3-Clause Clear License
21 stars 33 forks source link

Make interact test exit if connections EOF on us (e.g. timeout) #318

Open mattsm opened 5 years ago

mbanders commented 5 years ago

Is this what is happening: Your local computer ssh connects to a board, and that connection times out?

I just need a way to recreate the problem.

mattsm commented 5 years ago

Think OpenGear idle timeout. We just want the developer to know when it's about to happen. Basically we can track the last send in base.py:send() and print a message either

1) If we send again and more than a certain period of time has passed or 2) Use a separate thread to print a warning

mattsm commented 5 years ago

To let the developer know, or if Jenkins fails because if issue we want to be able to scan the log.

mattsm commented 5 years ago

Possible start to a fix: https://review.gerrithub.io/c/lgirdk/boardfarm/+/463122