Skip to content
New issue

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

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

Already on GitHub? # to your account

Solve an issue with MP container checkouts #170

Merged
merged 2 commits into from
Oct 27, 2022

Conversation

JacobCallahan
Copy link
Member

An issue was identified where the _cont_inst property was being stripped from the modified Host class during MP checkouts.
The solution I opted for was to recreate the missing container instance post-pickle. This removed the entire need for the _cont_inst property.

@adarshdubey-star
Copy link

Breaking for me with
E concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

Copy link

@adarshdubey-star adarshdubey-star left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @JacobCallahan for the prompt fix, LGTM tested locally as well!

An issue was identified where the _cont_inst property was being stripped from
the modified Host class during MP checkouts.
The solution I opted for was to recreate the missing container instance
post-pickle. This removed the entire need for the _cont_inst property.
I then took this further with additional pickle protection.
Also, update the install to include docker deps for unit tests.
@JacobCallahan JacobCallahan merged commit 8226ca8 into SatelliteQE:master Oct 27, 2022
@JacobCallahan JacobCallahan deleted the h8pickles branch February 8, 2024 21:56
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants