Jira (FACT-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Branan Riley updated an issue Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: Branan Riley Release Notes: Bug Fix 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Branan Riley updated an issue Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: Branan Riley Release Notes Summary: Improve error message when `-p` is specified but Puppet cannot be loaded. 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Kenn Hussey updated an issue Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: Kenn Hussey Fix Version/s: FACT 3.8.1 Fix Version/s: FACT 3.9.0 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Kenn Hussey commented on FACT-1728 Re: facter -p dies with an inscrutable error if puppet crashes Branan Riley please add release notes for this issue, if needed. 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title John Duarte commented on FACT-1728 Re: facter -p dies with an inscrutable error if puppet crashes Manually validated that facter -p successfully returns the fact set when there is a non-UTF-8 string value for an ENV var. This was tested using a pre-release version of puppet-agent at SHA cc8e253cad61ae9e4cee3efa9f23e51f4792c55f containing facter at SHA 4a48607a360205640d74bbf2d58af23188ff8f80. 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title John Duarte assigned an issue to John Duarte Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: John Duarte Assignee: qa John Duarte 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Scott McClellan assigned an issue to qa Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: Scott McClellan Status: Ready for CI Test Assignee: Scott McClellan qa 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Erik Dasher commented on FACT-1728 Re: facter -p dies with an inscrutable error if puppet crashes This does not appear to be included in the puppet-agent 5.1.0 release. 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title John Duarte updated an issue Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: John Duarte QA Risk Assessment: Needs Assessment Manual 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Geoff Nichols assigned an issue to Scott McClellan Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: Geoff Nichols Assignee: Scott McClellan 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Branan Riley updated an issue Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: Branan Riley Fix Version/s: FACT 3.8.1 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Sean McDonald updated an issue Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: Sean McDonald Fix Version/s: FACT 3.8.0 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Branan Riley updated an issue Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: Branan Riley Fix Version/s: FACT 3.6.z Fix Version/s: FACT 3.6.7 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Branan Riley updated an issue Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: Branan Riley Fix Version/s: FACT 3.8.0 Fix Version/s: FACT 3.6.z 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Branan Riley updated an issue Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: Branan Riley Sprint: Platform OS 2017-08-22 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Branan Riley updated an issue Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: Branan Riley Story Points: 1 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Branan Riley updated an issue Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: Branan Riley Team: Platform OS 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-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Charlie Sharpsteen updated an issue Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: Charlie Sharpsteen If Puppet crashes during initialization, as reported in PUP-7821, then {{facter -p}} will also crash, but with a very cryptic error from the Boost library.h2. Reproduction Case 1. Install puppet-agent 4.10.5 on a Windows 2012R2 machine. 2. Start a Powershell session and set an environment variable containing a non-UTF8 string:{code:powershell}$ENV:BadValue = [char]0x{code} 3. Run {{facter -p}}h3. OutcomeFacter crashes with a very terse error message:{noformat}2017-08-08 22:51:26.364992 FATAL puppetlabs.facter - unhandled exception: boost::too_many_args: format-string referred to less arguments than were passed{noformat}Adding the {{--debug}} flag reveals a little more detail:{noformat}facter : 2017-08-08 22:51:25.708722 INFO puppetlabs.facter - executed with command line: -p --debug.At line:1 char:1+ facter -p --debug 2>&1 | Out-File .\results.txt+ ~~+ CategoryInfo : NotSpecified: (2017-08-08 22:5...ne: -p --debug.:String) [], RemoteException+ FullyQualifiedErrorId : NativeCommandError 2017-08-08 22:51:25.724338 DEBUG leatherman.dynamic_library:62 - no loaded libraries found matching pattern ^[^_]*ruby(\d)?(\d)?(\d)?\.dll$2017-08-08 22:51:25.724338 DEBUG leatherman.ruby:510 - ruby was found at "C:\Program Files\Puppet Labs\Puppet\sys\ruby\bin\ruby.exe".2017-08-08 22:51:25.724338 DEBUG leatherman.execution:92 - executing command: C:\Program Files\Puppet Labs\Puppet\sys\ruby\bin\ruby.exe -e print(['libdir', 'archlibdir', 'sitearchlibdir', 'bindir'].find do |name|dir = RbConfig::CONFIG[name];next unless dir;file = File.join(dir, RbConfig::CONFIG['LIBRUBY_SO']);break file if File.exist? file;false end)2017-08-08 22:51:25.786786 DEBUG | - C:/Program Files/Puppet Labs/Puppet/sys/ruby/bin/x64-msvcrt-ruby210.dll2017-08-08 22:51:25.786786 DEBUG leatherman.execution:688 - process exited with exit code 0.2017-08-08 22:51:25.786786 INFO leatherman.ruby:138 - ruby loaded from "C:/Program Files/Puppet Labs/Puppet/sys/ruby/bin/x64-msvcrt-ruby210.dll".2017-08-08 22:51:25.849277 INFO leatherman.ruby:187 - using ruby version 2.1.92017-08-08 22:51:25.849277 INFO puppetlabs.facter - resolving all facts.2017-08-08 22:51:25.849277 DEBUG puppetlabs.facter - fact "facterversion" has resolved to "3.6.6".2017-08-08 22:51:25.849277 DEBUG puppetlabs.facter - fact "aio_agent_version" has resolved to "1.10.5".2017-08-08 22:51:25.849277 DEBUG leatherman.windows:42 - initializing WMI2017-08-08 22:51:25.849277 DEBUG puppetlabs.facter - setting fact "env_windows_installdir" based on the value of environment variable "FACTER_env_windows_installdir".2017-08-08 22:51:25.849277 DEBUG puppetlabs.facter - fact "env_windows_installdir" has resolved to "C:\Program Files\Puppet Labs\Puppet".2017-08-08 22:51:25.849277 DEBUG puppetlabs.facter - initializing Winsock2017-08-08 22:51:25.849277 DEBUG leatherman.file_util:65 - Error reading file: The system cannot find the path specified2017-08-08 22:51:26.364992 FATAL puppetlabs.facter - unhandled exception: boost::too_many_args: format-string referred to less arguments than were passed{noformat}h3. Expected OutcomeThe error message should
Jira (FACT-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Charlie Sharpsteen updated an issue Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: Charlie Sharpsteen If Puppet crashes during initialization, as reported in PUP-7821, then {{facter -p}} will also crash, but with a very cryptic error from the Boost library.h2. Reproduction Case 1. Install puppet-agent 4.10.5 on a Windows 2012R2 machine. 2. Set Start a Powershell session and set an environment variable containing a non-UTF8 string:{code:powershell}$ENV:BadValue = [char]0x{code} 3. Run {{facter -p}}h3. OutcomeFacter crashes with a very terse error message:{noformat}2017-08-08 22:51:26.364992 FATAL puppetlabs.facter - unhandled exception: boost::too_many_args: format-string referred to less arguments than were passed{noformat}Adding the {{--debug}} flag reveals a little more detail:{noformat}facter : 2017-08-08 22:51:25.708722 INFO puppetlabs.facter - executed with command line: -p --debug.At line:1 char:1+ facter -p --debug 2>&1 | Out-File .\results.txt+ ~~+ CategoryInfo : NotSpecified: (2017-08-08 22:5...ne: -p --debug.:String) [], RemoteException+ FullyQualifiedErrorId : NativeCommandError 2017-08-08 22:51:25.724338 DEBUG leatherman.dynamic_library:62 - no loaded libraries found matching pattern ^[^_]*ruby(\d)?(\d)?(\d)?\.dll$2017-08-08 22:51:25.724338 DEBUG leatherman.ruby:510 - ruby was found at "C:\Program Files\Puppet Labs\Puppet\sys\ruby\bin\ruby.exe".2017-08-08 22:51:25.724338 DEBUG leatherman.execution:92 - executing command: C:\Program Files\Puppet Labs\Puppet\sys\ruby\bin\ruby.exe -e print(['libdir', 'archlibdir', 'sitearchlibdir', 'bindir'].find do |name|dir = RbConfig::CONFIG[name];next unless dir;file = File.join(dir, RbConfig::CONFIG['LIBRUBY_SO']);break file if File.exist? file;false end)2017-08-08 22:51:25.786786 DEBUG | - C:/Program Files/Puppet Labs/Puppet/sys/ruby/bin/x64-msvcrt-ruby210.dll2017-08-08 22:51:25.786786 DEBUG leatherman.execution:688 - process exited with exit code 0.2017-08-08 22:51:25.786786 INFO leatherman.ruby:138 - ruby loaded from "C:/Program Files/Puppet Labs/Puppet/sys/ruby/bin/x64-msvcrt-ruby210.dll".2017-08-08 22:51:25.849277 INFO leatherman.ruby:187 - using ruby version 2.1.92017-08-08 22:51:25.849277 INFO puppetlabs.facter - resolving all facts.2017-08-08 22:51:25.849277 DEBUG puppetlabs.facter - fact "facterversion" has resolved to "3.6.6".2017-08-08 22:51:25.849277 DEBUG puppetlabs.facter - fact "aio_agent_version" has resolved to "1.10.5".2017-08-08 22:51:25.849277 DEBUG leatherman.windows:42 - initializing WMI2017-08-08 22:51:25.849277 DEBUG puppetlabs.facter - setting fact "env_windows_installdir" based on the value of environment variable "FACTER_env_windows_installdir".2017-08-08 22:51:25.849277 DEBUG puppetlabs.facter - fact "env_windows_installdir" has resolved to "C:\Program Files\Puppet Labs\Puppet".2017-08-08 22:51:25.849277 DEBUG puppetlabs.facter - initializing Winsock2017-08-08 22:51:25.849277 DEBUG leatherman.file_util:65 - Error reading file: The system cannot find the path specified2017-08-08 22:51:26.364992 FATAL puppetlabs.facter - unhandled exception: boost::too_many_args: format-string referred to less arguments than were passed{noformat}h3. Expected OutcomeThe error message
Jira (FACT-1728) facter -p dies with an inscrutable error if puppet crashes
Title: Message Title Charlie Sharpsteen updated an issue Facter / FACT-1728 facter -p dies with an inscrutable error if puppet crashes Change By: Charlie Sharpsteen Summary: facter -p dies with an inscrutable error if puppet fails to load settings crashes 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.