Skip to content

OpenHTF hangs after positing to database, but before completing. #790

@sciguy14

Description

@sciguy14

We observe an issue roughly 10% of the time where an OpenHTF test completes but then hangs and never returns to the parent thread. It seems like one of the threads in OpenHTF is hanging at exit, but we haven't been able to figure out what thread it is. Have you folks seen this issue before? Any idea what steps we should take to try to figure out why this is happening?

If you hit Ctrl-C to kill it once it is hung, this is the output:
image

We're not sure if it's related, but we've also seen issues with tests starting in an already stopped state. It also seems to be some sort of threading race condition. We were only able to resolve it by adding a 1 second sleep into init.py after self._executor.start(): ShaperTools@ccdc014

cc: @shaperilio

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions