Jira (FACT-1479) Occasional stack overflow triggered by Facter::EC2::Base
Title: Message Title Saj Goonatilleke commented on FACT-1479 Re: Occasional stack overflow triggered by Facter::EC2::Base https://github.com/puppetlabs/facter/pull/1391 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1478) EC2 facts intermittently unavailable due to overly optimistic timeouts
Title: Message Title Saj Goonatilleke commented on FACT-1478 Re: EC2 facts intermittently unavailable due to overly optimistic timeouts https://github.com/puppetlabs/facter/pull/1391 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1479) Occasional stack overflow triggered by Facter::EC2::Base
Title: Message Title Saj Goonatilleke created an issue Facter / FACT-1479 Occasional stack overflow triggered by Facter::EC2::Base Issue Type: Bug Affects Versions: FACT 2.4.6 Assignee: Unassigned Created: 2016/08/04 5:25 AM Environment: Debian 7 (wheezy) Linux 3.2.0 MRI 1.9.3p194 Facter 2.4.6 Priority: Normal Reporter: Saj Goonatilleke While investigating FACT-1478, I found I was occasionally able to overflow the MRI stack (SystemStackError) simply by executing the following program:
Jira (FACT-1478) EC2 facts intermittently unavailable due to overly optimistic timeouts
Title: Message Title Saj Goonatilleke created an issue Facter / FACT-1478 EC2 facts intermittently unavailable due to overly optimistic timeouts Issue Type: Bug Affects Versions: FACT 2.4.6 Assignee: Unassigned Created: 2016/08/04 4:49 AM Environment: Debian 7 (wheezy) Linux 3.2.0 MRI 1.9.3p194 Facter 2.4.6 Priority: Normal Reporter: Saj Goonatilleke facter/ec2/rest.rb This 0.2s timeout appears too optimistic in practice. It is not unusual for this confinement test to return a false negative on EC2 instances. My testing has shown that increasing the timeout to 0.5s should achieve an acceptable failure rate.