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

Issue229 bisect deadlock #231

Merged
merged 6 commits into from
Oct 11, 2018
Merged

Issue229 bisect deadlock #231

merged 6 commits into from
Oct 11, 2018

Conversation

mikebentley15
Copy link
Collaborator

Partially Fixes #229

Description:

  • Every call to make from flit bisect is not in a consolidated function called run_make(). This function will output the standard out and error to the log in the case of an error.
  • For any uncaught exception, the child process will put in an empty result into the result queue, allowing progress by the parent process when in --auto-sqlite-run mode.

Documentation:
No documentation update necessary. This was fixing existing functionality.

Tests:

  • Added some automated tests to run_make() within the docstring there.
  • Still need automated tests demonstrating the deadlock situation to provide regression. For this reason, the issue will not be closed yet with this pull request. Another pull request will be coming with that automated test.

@mikebentley15 mikebentley15 added bug python Involves touching python code tests Involves touching tests labels Oct 10, 2018
- Comment about result_queue.put() describing why it is there
- Reraise the exception so that the exception will be printed to stderr for debugging
Under --verbose, subp.Popen() is used incorrectly and can still cause a
deadlock.  This is now fixed.
@IanBriggs IanBriggs merged commit f3581eb into devel Oct 11, 2018
@IanBriggs IanBriggs deleted the issue229-bisect-deadlock branch October 11, 2018 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug python Involves touching python code tests Involves touching tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bisect: deadlock with updating ground truth in auto mode
2 participants