Skip to content

web_profile_server is not properly shutting down in astropy.vo.samp #738

Open

Description

@astrofrog

Update: This issue was moved to pyvo following #729


Once astropy/astropy#1907 is merged, we should look into the following issue:

After the above steps, the hub hangs while stopping. I think this is due to the _web_profile_server which is still running and has not been properly shut down.

Activity

  1. embray commented on Jan 16, 2014

    @embray
    Member

    I actually noticed that too when I was testing it. Meant to fix that but got side-tracked. But yeah I actually had to kill the Python process manually to get it to stop.

  2. cdeil commented on Nov 7, 2014

    @cdeil
    Member

    I just noticed that this test hangs with Python 3.4 on Mac (waited 10 Minutes):

    astropy/vo/samp/tests/test_standard_profile.py:68: TestStandardProfile.test_main
    

    Some of the tests before are painfully slow (~ 1 Minute):

    astropy/vo/samp/tests/test_client.py:14: test_SAMPHubProxy PASSED
    astropy/vo/samp/tests/test_client.py:19: test_SAMPClient PASSED
    astropy/vo/samp/tests/test_client.py:25: test_SAMPIntegratedClient PASSED
    astropy/vo/samp/tests/test_errors.py:12: test_SAMPHubError PASSED
    astropy/vo/samp/tests/test_errors.py:17: test_SAMPClientError PASSED
    astropy/vo/samp/tests/test_errors.py:22: test_SAMPProxyError PASSED
    astropy/vo/samp/tests/test_hub.py:13: test_SAMPHubServer PASSED
    astropy/vo/samp/tests/test_hub.py:18: test_SAMPHubServer_run PASSED
    astropy/vo/samp/tests/test_hub_proxy.py:27: TestHubProxy.test_is_connected PASSED
    astropy/vo/samp/tests/test_hub_proxy.py:30: TestHubProxy.test_disconnect PASSED
    astropy/vo/samp/tests/test_hub_proxy.py:33: TestHubProxy.test_ping PASSED
    astropy/vo/samp/tests/test_hub_proxy.py:36: TestHubProxy.test_registration PASSED
    astropy/vo/samp/tests/test_hub_proxy.py:41: test_custom_lockfile PASSED
    astropy/vo/samp/tests/test_hub_script.py:21: test_hub_script PASSED
    

    Is this related to this issue?
    Should I file a new one?

  3. astrofrog commented on Nov 7, 2014

    @astrofrog
    MemberAuthor

    @cdeil - does it happen every time you run the tests?

  4. cdeil commented on Nov 7, 2014

    @cdeil
    Member

    I'm not sure ... I was testing different branches ... actually in master I did get a timeout, but I think it was after several minutes, which is way too long for a unit test:
    https://gist.github.com/cdeil/35ae72f310d95ddf24e0#file-gistfile1-txt-L210

  5. removed
    Affects-devTo be used for follow-up PRs for new engancements or bugs only present on dev
    on Feb 9, 2017
  6. transferred this issue fromastropy/astropyon Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions