Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dome slit test not working properly but reports success #240

Closed
wtgee opened this issue Dec 21, 2017 · 1 comment
Closed

Dome slit test not working properly but reports success #240

wtgee opened this issue Dec 21, 2017 · 1 comment
Assignees

Comments

@wtgee
Copy link
Member

wtgee commented Dec 21, 2017

Running the test:

➜  POCS git:(develop) pytest -xv pocs/tests/test_astrohaven_dome.py -k "slit"
=============================================================================================== test session starts ===============================================================================================
platform linux -- Python 3.6.3, pytest-3.3.1, py-1.5.2, pluggy-0.6.0 -- /home/wtgee/anaconda3/bin/python
cachedir: .cache
rootdir: /storage/panoptes/POCS, inifile:
plugins: hypothesis-3.38.5
collected 4 items                                                                                                                                                                                                 

pocs/tests/test_astrohaven_dome.py::test_open_and_close_slit PASSED                                                                                                                                         [100%]

=============================================================================================== 3 tests deselected ================================================================================================
===================================================================================== 1 passed, 3 deselected in 53.14 seconds =====================================================================================

Log file showing a lot of ERRORs with timeout.

tail: '/var/panoptes/logs/pytest.log' has been replaced;  following new file
MainProcess(15737) MainThread 20171221223628 UTC     INFO            logger.py:  37:info                      ****************************** Starting PanLogger ******************************
MainProcess(15737) MainThread 20171221223628 UTC    DEBUG            logger.py:  34:debug                     Creating dome: brand=Astrohaven, driver=astrohaven
MainProcess(15737) MainThread 20171221223628 UTC    DEBUG            logger.py:  34:debug                     SerialData for astrohaven_simulator:// created
MainProcess(15737) MainThread 20171221223628 UTC    DEBUG            logger.py:  34:debug                     Opened astrohaven_simulator://, sleeping for 2.0 seconds
MainProcess(15737) MainThread 20171221223630 UTC    DEBUG            logger.py:  34:debug                     Created dome.
MainProcess(15737) MainThread 20171221223630 UTC    DEBUG            logger.py:  34:debug                     Already connected to dome
MainProcess(15737) MainThread 20171221223641 UTC    ERROR            logger.py:  43:error                     Timed out moving the dome. Check for hardware or communications problem. send=%r latest_state=%r
MainProcess(15737) MainThread 20171221223652 UTC    ERROR            logger.py:  43:error                     Timed out moving the dome. Check for hardware or communications problem. send=%r latest_state=%r
MainProcess(15737) MainThread 20171221223706 UTC    ERROR            logger.py:  43:error                     Timed out moving the dome. Check for hardware or communications problem. send=%r latest_state=%r
MainProcess(15737) MainThread 20171221223717 UTC    ERROR            logger.py:  43:error                     Timed out moving the dome. Check for hardware or communications problem. send=%r latest_state=%r
MainProcess(15737) MainThread 20171221223720 UTC    DEBUG            logger.py:  34:debug                     Closing serial port for dome
MainProcess(15737) MainThread 20171221223720 UTC    DEBUG            logger.py:  34:debug                     SerialData.disconnect called for astrohaven_simulator://
MainProcess(15737) MainThread 20171221223721 UTC    DEBUG            logger.py:  34:debug                     Closing serial port for dome
MainProcess(15737) MainThread 20171221223721 UTC    DEBUG            logger.py:  34:debug                     SerialData.disconnect called for astrohaven_simulator://

@jamessynge
Copy link
Contributor

Looks bad! Thanks for catching that. Will investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants