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

(FACT-2793) Time limit for Facter::Core::Execute #2080

Merged
merged 1 commit into from
Sep 23, 2020

Conversation

oanatmaria
Copy link
Contributor

@oanatmaria oanatmaria commented Sep 11, 2020

Description of the problem: Open3.capture3 sometimes can hang for indefinite time.
Description of the fix: Facter::Core::Execute can be configured with a time limit after which the pid for the process that executes the command is killed. If no time limit is specified the command will time out after 1.5 seconds.

@oanatmaria oanatmaria added the bug Something isn't working label Sep 11, 2020
@puppetcla
Copy link

CLA signed by all contributors.

@oanatmaria oanatmaria force-pushed the FACT-2793 branch 2 times, most recently from 672ef77 to 4598f52 Compare September 11, 2020 13:08
@oanatmaria oanatmaria marked this pull request as ready for review September 11, 2020 13:11
@oanatmaria oanatmaria requested review from a team September 11, 2020 13:11
@oanatmaria oanatmaria force-pushed the FACT-2793 branch 6 times, most recently from c0d64ba to 8a48917 Compare September 17, 2020 06:50
@oanatmaria
Copy link
Contributor Author

Jenkins please test this on windows2012r2-64a,windowsfips2012r2-64a

@oanatmaria oanatmaria force-pushed the FACT-2793 branch 2 times, most recently from f76f816 to 282946c Compare September 17, 2020 08:01
@Filipovici-Andrei
Copy link
Contributor

jenkins please test this on windows2019-64a

@oanatmaria oanatmaria force-pushed the FACT-2793 branch 10 times, most recently from 6ff24e6 to 0dd3865 Compare September 17, 2020 11:48
@oanatmaria
Copy link
Contributor Author

Jenkins please test this on all

@oanatmaria
Copy link
Contributor Author

Jenkins please test this on all

@oanatmaria
Copy link
Contributor Author

Jenkins please test this on all

@BogdanIrimie BogdanIrimie merged commit 47dae31 into puppetlabs:main Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants