SeattleTestbed / attic

ARCHIVAL: Full mirror of SeattleTestbed's SVN in early 2014. We use GitHub since!
MIT License
0 stars 1 forks source link

centralized advertise raises separate exceptions for timeouts... #1326

Open choksi81 opened 10 years ago

choksi81 commented 10 years ago

Both of these can occur:

Traceback (most recent call last): File "<stdin>", line 3, in <module> File "centralizedadvertise", line 146, in centralizedadvertise_lookup File "session", line 31, in session_recvmessage File "sockettimeout", line 116, in recv __builtin__.SocketTimeoutError: recv() timed out!!

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "centralizedadvertise", line 143, in centralizedadvertise_lookup File "sockettimeout", line 294, in timeout_openconnection File "emulcomm.py", line 1304, in openconnection sock = _timed_conn_initialize(localip,localport,destip,destport, timeout) File "emulcomm.py", line 1170, in _timed_conn_initialize raise TimeoutError("Timed-out connecting to the remote host!") exception_hierarchy.TimeoutError: Timed-out connecting to the remote host!

This should be consolidated. Are other errors possible?