Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2017-10-12 Thread E Salberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 E Salberg commented on  FACT-1016 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 
 
I ran into this also with the tests on razorsedge/puppet-network. 
 RuntimeError: fact "hostname" already has the maximum number of resolutions allowed (100). 
Fixed with this in the spec_helper.rb file: 
RSpec.configure do |config| config.before(:all)  {Facter.clear} 
end 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-1016) Repeated resolution of a facter fact causes never GC'd object references

2016-11-30 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene commented on  FACT-1016 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 
 
Hi Rick Renshaw. If this is for tests that is repeatedly evaluating Facter.add calls or something along those lines, calling Facter.clear in an after hook should help: 
e.g.: 
 
 
 
 
 
 
describe Foo do 
 
 
 
 
  after(:each) do 
 
 
 
 
Facter.clear 
 
 
 
 
  end 
 
 
 
 
end
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
   

Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2016-11-30 Thread Rick Renshaw (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Rick Renshaw commented on  FACT-1016 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 
 
I've got a use case that easily exceeds 100 in a large and complex rspec test case. It's just started failing with  
 
 
 
 
 
 
1) profiles::tcserver::instance without maven multiple artifacts no_maven_multiple_artifacts should compile into a catalogue without dependency cycles 
 
 
 
 
 Failure/Error: should compile.with_all_deps 
 
 
 
 
  
 
 
 
 
 RuntimeError: 
 
 
 
 
   fact "clientversion" already has the maximum number of resolutions allowed (100). 
 
 
 
 
 # ./spec/defines/profiles/tcserver/instance_spec.rb:108:in `block (2 levels) in common_tests' 
 
 
 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 

Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-09-10 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Peter Huene 
 
 
 

Release Notes Summary:
 
 Prior versions of Facter allowed an unbounded number of resolutions for a fact.  This meant that if a custom fact file was accidentally created in a location that caused Puppet to repeatedly evaluate the custom fact file, the list of resolutions would grow until memory was exhausted.  To prevent this from happening, Facter now limits the number of resolutions for a single fact to 100. 
 
 
 

Original Estimate:
 
 0 minutes 
 
 
 

Release Notes:
 
 Bug Fix 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more 

Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-06-25 Thread Shaigy Nixon (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Shaigy Nixon assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Shaigy Nixon 
 
 
 

Assignee:
 
 ShaigyNixon 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-06-25 Thread Shaigy Nixon (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Shaigy Nixon commented on  FACT-1016 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 
 
Validated in puppet-agent build SHA=51c29325d56cb50d2162fbf07fb010b4ced4deda on redhat-6-x86_64.yaml 
 
 
 
 
 
 
[root@abzxixf33ic30c8 ~]# cat foo/bar.rb 
 
 
 
 
(0..99).each do 
 
 
 
 
  Facter.add('bar') do 
 
 
 
 
setcode do 
 
 
 
 
  'Testing' 
 
 
 
 
end 
 
 
 
 
  end 
 
 
 
 
end 
 
 
 
 
 
 
 
 
 
[root@abzxixf33ic30c8 ~]# facter bar --custom-dir ./foo 
 
 
 
 
Testing 

Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-06-25 Thread John Duarte (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Duarte assigned an issue to Shaigy Nixon 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 John Duarte 
 
 
 

Assignee:
 
 qa ShaigyNixon 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-06-24 Thread Kurt Wall (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kurt Wall updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kurt Wall 
 
 
 

QA Highest Test Level:
 
 Unit 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-06-24 Thread Kurt Wall (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kurt Wall updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kurt Wall 
 
 
 

QA Risk Severity Reason:
 
 Memoryleaksungood 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-06-24 Thread Kurt Wall (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kurt Wall updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kurt Wall 
 
 
 

QA Risk Severity:
 
 Medium 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-06-24 Thread Kurt Wall (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kurt Wall updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kurt Wall 
 
 
 

QA Risk Assessment Reason:
 
 Memoryleaksungood 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-06-24 Thread Kurt Wall (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kurt Wall updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kurt Wall 
 
 
 

QA Risk Assessment:
 
 Medium 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-06-24 Thread Kurt Wall (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kurt Wall updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kurt Wall 
 
 
 

QA Highest Test Level Reason:
 
 Interactionswithhostsystemcrosscomponentboundaries 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-06-24 Thread Kurt Wall (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kurt Wall updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kurt Wall 
 
 
 

QA Highest Test Level:
 
 Unit Acceptance 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-06-24 Thread John Duarte (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 John Duarte updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 John Duarte 
 
 
 

QA Status:
 
 Reviewed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-06-18 Thread Michael Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Smith assigned an issue to qa 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Michael Smith 
 
 
 

Status:
 
 Readyfor CI Test 
 
 
 

Assignee:
 
 qa 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-06-01 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Peter Huene 
 
 
 

Fix Version/s:
 
 FACT3.0.0 
 
 
 

Fix Version/s:
 
 FACT3.1.0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-06-01 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Peter Huene 
 
 
 

Affects Version/s:
 
 FACT3.0.0 
 
 
 

Affects Version/s:
 
 FACT2.4.4 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-06-01 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Peter Huene 
 
 
 

Fix Version/s:
 
 FACT3.0.0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-06-01 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Peter Huene 
 
 
 

Story Points:
 
 1 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-05-26 Thread Christopher Price (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Price commented on  FACT-1016 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 
 
I like the idea of capping the number of resolvers! I imagine it'd be pretty hard to come up with a valid user story where that number should be greater than, say, 10? So if we set it to something like 100 it should definitely be high enough? 
That would have allowed us to give a very, very clear error message about what was going on in this particular case. Much moreso than any error handling that I think we'll be able to accomplish via the other options we've discussed. 
I moved the PUP-related subtask to PUP-4649. Over there, Henrik Lindberg and others are discussing some ideas that might have prevented Puppet from reloading the file over and over again, but I still like the max number of resolvers idea because this was just one particular code path through Puppet that was loading the file; there are definitely others. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-05-26 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg commented on  FACT-1016 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 
 
I had similar numbers in mind. 10 is beyond any plausible user story I can come up with, so 100 definitely oughta do the trick. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-05-25 Thread Christopher Price (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Christopher Price commented on  FACT-1016 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 
 
Peter Huene OK, thanks... I'd originally phrased the title of this ticket as a question because I wasn't sure if something like what you're pointing out was the case. 
I also created PE-9849 to track the Puppet side of this. I'm fine with one or both being closed as won't fix as long as we're all on the same page w/rt expected behavior. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-05-25 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg commented on  FACT-1016 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 
 
So maybe there are two things worth pursuing here? 
1) limiting the number of resolvers for a fact - we could set something very high and it would only affect pathological cases but be a defensive barrier. This is kind of icky but still might be the right thing to do. 2) preventing repeat loading of a fact file. 
Thoughts? 
(And yeah, I may have muffed re-titling of this ticket. Once we resolve (heh) the appropriate disposition of this ticket, let's retitle accordingly.) 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-05-23 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene commented on  FACT-1016 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 
 
Christopher Price Great find! I'll take a look into fixing this in Facter and see if it helps a few other escalations related to OOM conditions. 
With respect to the while true example, that will always result in OOM because there is no limit to how many resolvers a fact may have (perhaps we should impose one?) and we need to keep a reference to each one the user requested to be added. 
The actual bug here is that a custom fact should only be loaded once so that this list isn't ever-growing. I suspect we may not be susceptible to this in native Facter since the code that handles custom fact loading is entirely different from Facter 2.x's, but I'll look into that as well. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-05-23 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene assigned an issue to Peter Huene 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Peter Huene 
 
 
 

Assignee:
 
 ChristopherPrice PeterHuene 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-05-23 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene commented on  FACT-1016 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 
 
Also, as an example of why we need to keep track of mutiple nil-named resolvers: 
 
 
 
 
 
 
Facter.add(:foo) do 
 
 
 
 
  setcode do  
 
 
 
 
# Do something complicated but ultimately return nil 
 
 
 
 
  end 
 
 
 
 
end 
 
 
 
 
 
 
 
 
 
Facter.add(:foo) do 
 
 
 
 
  setcode do 
 
 
 
 
'bar' 
 
 
 
 
  end 
 
 
 
 
end 
 
  

Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-05-22 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg commented on  FACT-1016 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 
 
We should start by characterizing what a fix for this would entail in both ruby and native facter. I haven't studied it enough to know at this point. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-05-22 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kylo Ginsberg 
 
 
 

Comment:
 
 [~kylo]pleasefeelfreetomoveit,IwasjustcreatingsubtaskshereasplaceholderswhileIfleshedoutthedetails.Havebeenexpectingthattheywouldgetmovedaroundoncetheywereready. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-05-22 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kylo Ginsberg 
 
 
 

Comment:
 
 [~chris]anyobjectionstomymovingthistickettoFACTandchangingthesummaryfroma(rhetorical?)questiontoastatement?Alternately,Ifyou'dratherpreservethisasasubtaskhere(whichmakessomesensetoo),IcancreateanewFACTticketandlinkit. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-05-22 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kylo Ginsberg 
 
 
 

Sprint:
 
 Client2015-07-08 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-05-22 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kylo Ginsberg 
 
 
 

Scrum Team:
 
 PuppetServer ClientPlatform 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-05-22 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg moved an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kylo Ginsberg 
 
 
 

Component/s:
 
 PuppetServer 
 
 
 

Key:
 
 PE FACT - 9848 1016 
 
 
 

Project:
 
 PuppetEnterprise[Internal] Facter 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1016) Repeated resolution of a facter fact causes never GC'd object references

2015-05-22 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 Facter /  FACT-1016 
 
 
 
  Repeated resolution of a facter fact causes never GC'd object references  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kylo Ginsberg 
 
 
 

Sub-team:
 
 jade 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.