Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-1133

Windows generates test failures when %ALLUSERSPROFILE%\PuppetLabs\puppet doesn't exist

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • PUP 3.4.0
    • PUP 3.5.0
    • None
    • None
    • Windows 2008 R2

    • 1
    • Week 2013-12-11 to 2013-12-18, Week 2013-12-19 to 2014-1-2

    Description

      If %ALLUSERSPROFILE%\PuppetLabs\puppet (C:\ProgramData\PuppetLabs\puppet on Win2008 R2) does not exist, a number of failures are generated.

      On cursory examination, manually creating `C:\ProgramData\PuppetLabs` is not sufficient to remove the errors.

      One work-around that does work is to run the Windows MSI package, allow it to create `C:\ProgramData\PuppetLabs` and the underlying directory hierarchy... in this case, I ran the installer, then uninstalled Puppet to leave the directory structure behind.

      The failures that crop up are:

      <pre>
      Failures:

      1) agent logging for ["--onetime", "--verbose", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--onetime", "--verbose", "--logdest=/dev/null/foo"], logs to #<Set: {:console, "/dev/null/foo"}> at level info
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173

      1. ./lib/puppet/util.rb:498:in `exit'
      2. ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      3. ./lib/puppet/util.rb:484:in `exit_on_fail'
      4. ./lib/puppet/application.rb:362:in `run'
      5. ./lib/puppet/util/command_line.rb:137:in `run'
      6. ./lib/puppet/util/command_line.rb:91:in `execute'
      7. ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      8. ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      2) agent logging for ["--onetime", "--verbose", "--logdest=syslog"] it should behave like an agent when evoked with ["--onetime", "--verbose", "--logdest=syslog"], logs to #<Set: {:console, "syslog"}> at level info
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173

      1. ./lib/puppet/util.rb:498:in `exit'
      2. ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      3. ./lib/puppet/util.rb:484:in `exit_on_fail'
      4. ./lib/puppet/application.rb:362:in `run'
      5. ./lib/puppet/util/command_line.rb:137:in `run'
      6. ./lib/puppet/util/command_line.rb:91:in `execute'
      7. ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      8. ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      3) agent logging for ["--onetime", "--verbose", "--logdest=console"] it should behave like an
      agent when evoked with ["--onetime", "--verbose", "--logdest=console"], logs to #<Set: {:console, "console"}> at level info
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173

      1. ./lib/puppet/util.rb:498:in `exit'
      2. ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      3. ./lib/puppet/util.rb:484:in `exit_on_fail'
      4. ./lib/puppet/application.rb:362:in `run'
      5. ./lib/puppet/util/command_line.rb:137:in `run'
      6. ./lib/puppet/util/command_line.rb:91:in `execute'
      7. ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      8. ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      4) agent logging for ["--onetime", "--verbose"] it should behave like an agent when evoked with ["--onetime", "--verbose"], logs to #<Set: {:console, :eventlog}> at level info
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173

      1. ./lib/puppet/util.rb:498:in `exit'
      2. ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      3. ./lib/puppet/util.rb:484:in `exit_on_fail'
      4. ./lib/puppet/application.rb:362:in `run'
      5. ./lib/puppet/util/command_line.rb:137:in `run'
      6. ./lib/puppet/util/command_line.rb:91:in `execute'
      7. ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      8. ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      5) agent logging for ["--onetime", "--debug", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--onetime", "--debug", "--logdest=/dev/null/foo"], logs to #<Set:
      {:console, "/dev/null/foo"}> at level debug
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173

      1. ./lib/puppet/util.rb:498:in `exit'
      2. ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      3. ./lib/puppet/util.rb:484:in `exit_on_fail'
      4. ./lib/puppet/application.rb:362:in `run'
      5. ./lib/puppet/util/command_line.rb:137:in `run'
      6. ./lib/puppet/util/command_line.rb:91:in `execute'
      7. ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      8. ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      6) agent logging for ["--onetime", "--debug", "--logdest=syslog"] it should behave like an agent when evoked with ["--onetime", "--debug", "--logdest=syslog"], logs to #<Set: {:console, "syslog"}> at level debug
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173

      1. ./lib/puppet/util.rb:498:in `exit'
      2. ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      3. ./lib/puppet/util.rb:484:in `exit_on_fail'
      4. ./lib/puppet/application.rb:362:in `run'
      5. ./lib/puppet/util/command_line.rb:137:in `run'
      6. ./lib/puppet/util/command_line.rb:91:in `execute'
      7. ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      8. ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      7) agent logging for ["--onetime", "--debug", "--logdest=console"] it should behave like an agent when evoked with ["--onetime", "--debug", "--logdest=console"], logs to #<Set: {:console, "console"}> at level debug
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173

      1. ./lib/puppet/util.rb:498:in `exit'
      2. ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      3. ./lib/puppet/util.rb:484:in `exit_on_fail'
      4. ./lib/puppet/application.rb:362:in `run'
      5. ./lib/puppet/util/command_line.rb:137:in `run'
      6. ./lib/puppet/util/command_line.rb:91:in `execute'
      7. ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      8. ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      8) agent logging for ["--onetime", "--debug"] it should behave like an agent when evoked with
      ["--onetime", "--debug"], logs to #<Set: {:console, :eventlog}> at level debug
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173

      1. ./lib/puppet/util.rb:498:in `exit'
      2. ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      3. ./lib/puppet/util.rb:484:in `exit_on_fail'
      4. ./lib/puppet/application.rb:362:in `run'
      5. ./lib/puppet/util/command_line.rb:137:in `run'
      6. ./lib/puppet/util/command_line.rb:91:in `execute'
      7. ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      8. ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      9) agent logging for ["--onetime", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--onetime", "--logdest=/dev/null/foo"], logs to #<Set:

      {"/dev/null/foo"}> at
      level notice
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      10) agent logging for ["--onetime", "--logdest=syslog"] it should behave like an agent when evoked with ["--onetime", "--logdest=syslog"], logs to #<Set: {"syslog"}> at level notice
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      11) agent logging for ["--onetime", "--logdest=console"] it should behave like an agent when evoked with ["--onetime", "--logdest=console"], logs to #<Set: {"console"}> at level notice
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      12) agent logging for ["--onetime"] it should behave like an agent when evoked with ["--onetime"], logs to #<Set: {:eventlog}> at level notice
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      13) agent logging for ["--onetime", "--no-daemonize", "--verbose", "--logdest=/dev/null/foo"]
      it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--verbose", "--logdest=/dev/null/foo"], logs to #<Set: {:console, "/dev/null/foo"}> at level info
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      14) agent logging for ["--onetime", "--no-daemonize", "--verbose", "--logdest=syslog"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--verbose", "--logdest=syslog"], logs to #<Set: {:console, "syslog"}> at level info
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      15) agent logging for ["--onetime", "--no-daemonize", "--verbose", "--logdest=console"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--verbose", "--logdest=console"], logs to #<Set: {:console, "console"}> at level info
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      16) agent logging for ["--onetime", "--no-daemonize", "--verbose"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--verbose"], logs to #<Set: {:console, :eventlog}> at level info
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      17) agent logging for ["--onetime", "--no-daemonize", "--debug", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--debug", "--logdest=/dev/null/foo"], logs to #<Set: {:console, "/dev/null/foo"}> at level debug
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      18) agent logging for ["--onetime", "--no-daemonize", "--debug", "--logdest=syslog"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--debug", "--logdest=syslog"], logs to #<Set: {:console, "syslog"}> at level debug
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      19) agent logging for ["--onetime", "--no-daemonize", "--debug", "--logdest=console"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--debug", "--logdest=console"], logs to #<Set: {:console, "console"}> at level debug
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      20) agent logging for ["--onetime", "--no-daemonize", "--debug"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--debug"], logs to #<Set: {:console, :eventlog}> at level debug
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      21) agent logging for ["--onetime", "--no-daemonize", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--logdest=/dev/null/foo"],
      logs to #<Set: {"/dev/null/foo"}

      > at level notice
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173

      1. ./lib/puppet/util.rb:498:in `exit'
      2. ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      3. ./lib/puppet/util.rb:484:in `exit_on_fail'
      4. ./lib/puppet/application.rb:362:in `run'
      5. ./lib/puppet/util/command_line.rb:137:in `run'
      6. ./lib/puppet/util/command_line.rb:91:in `execute'
      7. ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      8. ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      22) agent logging for ["--onetime", "--no-daemonize", "--logdest=syslog"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--logdest=syslog"], logs to #<Set:

      {"syslog"}> at level notice
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      23) agent logging for ["--onetime", "--no-daemonize", "--logdest=console"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--logdest=console"], logs to #<Set: {"console"}> at level notice
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      24) agent logging for ["--onetime", "--no-daemonize"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize"], logs to #<Set: {:eventlog}> at level notice
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      25) agent logging for ["--no-daemonize", "--verbose", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--no-daemonize", "--verbose", "--logdest=/dev/null/foo"],
      logs to #<Set: {:console, "/dev/null/foo"}> at level info
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      26) agent logging for ["--no-daemonize", "--verbose", "--logdest=syslog"] it should behave like an agent when evoked with ["--no-daemonize", "--verbose", "--logdest=syslog"], logs to #<Set: {:console, "syslog"}> at level info
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      27) agent logging for ["--no-daemonize", "--verbose", "--logdest=console"] it should behave like an agent when evoked with ["--no-daemonize", "--verbose", "--logdest=console"], logs to #<Set: {:console, "console"}> at level info
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      28) agent logging for ["--no-daemonize", "--verbose"] it should behave like an agent when evoked with ["--no-daemonize", "--verbose"], logs to #<Set: {:console, :eventlog}> at level info
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      29) agent logging for ["--no-daemonize", "--debug", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--no-daemonize", "--debug", "--logdest=/dev/null/foo"], logs to #<Set: {:console, "/dev/null/foo"}> at level debug
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      30) agent logging for ["--no-daemonize", "--debug", "--logdest=syslog"] it should behave like
      an agent when evoked with ["--no-daemonize", "--debug", "--logdest=syslog"], logs to #<Set: {:console, "syslog"}> at level debug
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      31) agent logging for ["--no-daemonize", "--debug", "--logdest=console"] it should behave like an agent when evoked with ["--no-daemonize", "--debug", "--logdest=console"], logs to #<Set: {:console, "console"}> at level debug
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      32) agent logging for ["--no-daemonize", "--debug"] it should behave like an agent when evoked with ["--no-daemonize", "--debug"], logs to #<Set: {:console, :eventlog}> at level debug
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      33) agent logging for ["--no-daemonize", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--no-daemonize", "--logdest=/dev/null/foo"], logs to #<Set: {"/dev/null/foo"}> at level notice
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      34) agent logging for ["--no-daemonize", "--logdest=syslog"] it should behave like an agent when evoked with ["--no-daemonize", "--logdest=syslog"], logs to #<Set: {"syslog"}

      > at level notice
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173

      1. ./lib/puppet/util.rb:498:in `exit'
      2. ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      3. ./lib/puppet/util.rb:484:in `exit_on_fail'
      4. ./lib/puppet/application.rb:362:in `run'
      5. ./lib/puppet/util/command_line.rb:137:in `run'
      6. ./lib/puppet/util/command_line.rb:91:in `execute'
      7. ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      8. ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      35) agent logging for ["--no-daemonize", "--logdest=console"] it should behave like an agent when evoked with ["--no-daemonize", "--logdest=console"], logs to #<Set:

      {"console"}> at level notice
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      36) agent logging for ["--no-daemonize"] it should behave like an agent when evoked with ["--no-daemonize"], logs to #<Set: {:eventlog}> at level notice
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      37) agent logging for ["--verbose", "--logdest=/dev/null/foo"] it should behave like an agent
      when evoked with ["--verbose", "--logdest=/dev/null/foo"], logs to #<Set: {:console, "/dev/null/foo"}> at level info
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      38) agent logging for ["--verbose", "--logdest=syslog"] it should behave like an agent when evoked with ["--verbose", "--logdest=syslog"], logs to #<Set: {:console, "syslog"}> at level info
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      39) agent logging for ["--verbose", "--logdest=console"] it should behave like an agent when evoked with ["--verbose", "--logdest=console"], logs to #<Set: {:console, "console"}> at level info
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      40) agent logging for ["--verbose"] it should behave like an agent when evoked with ["--verbose"], logs to #<Set: {:console, :eventlog}> at level info
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      41) agent logging for ["--debug", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--debug", "--logdest=/dev/null/foo"], logs to #<Set: {:console, "/dev/null/foo"}> at level debug
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      42) agent logging for ["--debug", "--logdest=syslog"] it should behave like an agent when evoked with ["--debug", "--logdest=syslog"], logs to #<Set: {:console, "syslog"}> at level debug
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      43) agent logging for ["--debug", "--logdest=console"] it should behave like an agent when evoked with ["--debug", "--logdest=console"], logs to #<Set: {:console, "console"}> at level debug
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      44) agent logging for ["--debug"] it should behave like an agent when evoked with ["--debug"], logs to #<Set: {:console, :eventlog}> at level debug
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      45) agent logging for ["--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--logdest=/dev/null/foo"], logs to #<Set: {"/dev/null/foo"}> at level notice
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      46) agent logging for ["--logdest=syslog"] it should behave like an agent when evoked with ["--logdest=syslog"], logs to #<Set: {"syslog"}> at level notice
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173
      # ./lib/puppet/util.rb:498:in `exit'
      # ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      # ./lib/puppet/util.rb:484:in `exit_on_fail'
      # ./lib/puppet/application.rb:362:in `run'
      # ./lib/puppet/util/command_line.rb:137:in `run'
      # ./lib/puppet/util/command_line.rb:91:in `execute'
      # ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      # ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      47) agent logging for ["--logdest=console"] it should behave like an agent when evoked with ["--logdest=console"], logs to #<Set: {"console"}

      > at level notice
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173

      1. ./lib/puppet/util.rb:498:in `exit'
      2. ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      3. ./lib/puppet/util.rb:484:in `exit_on_fail'
      4. ./lib/puppet/application.rb:362:in `run'
      5. ./lib/puppet/util/command_line.rb:137:in `run'
      6. ./lib/puppet/util/command_line.rb:91:in `execute'
      7. ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      8. ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      48) agent logging for [] it should behave like an agent when evoked with [], logs to #<Set: {:eventlog}> at level notice
      Failure/Error: command_line.execute
      SystemExit:
      exit
      Shared Example Group: "an agent" called from ./spec/integration/agent/logging_spec.rb:173

      1. ./lib/puppet/util.rb:498:in `exit'
      2. ./lib/puppet/util.rb:498:in `rescue in exit_on_fail'
      3. ./lib/puppet/util.rb:484:in `exit_on_fail'
      4. ./lib/puppet/application.rb:362:in `run'
      5. ./lib/puppet/util/command_line.rb:137:in `run'
      6. ./lib/puppet/util/command_line.rb:91:in `execute'
      7. ./spec/integration/agent/logging_spec.rb:79:in `double_of_bin_puppet_agent_call'
      8. ./spec/integration/agent/logging_spec.rb:101:in `block (3 levels) in <top (required)>'

      49) Puppet::Application::Agent during setup has an application default :catalog_cache_terminus setting of 'json'
      Failure/Error: @puppetd.setup
      RuntimeError:
      Got 0 failure(s) while initializing:

      1. ./lib/puppet/settings.rb:946:in `block in use'
      2. ./lib/puppet/resource/catalog.rb:176:in `apply'
      3. ./lib/puppet/settings.rb:942:in `use'
      4. ./lib/puppet/application/agent.rb:403:in `setup'
      5. ./spec/unit/application/agent_spec.rb:338:in `block (3 levels) in <top (required)>'

      50) Puppet::Application::Agent during setup should tell the catalog cache class based on the :catalog_cache_terminus setting
      Failure/Error: @puppetd.setup
      RuntimeError:
      Got 0 failure(s) while initializing:

      1. ./lib/puppet/settings.rb:946:in `block in use'
      2. ./lib/puppet/resource/catalog.rb:176:in `apply'
      3. ./lib/puppet/settings.rb:942:in `use'
      4. ./lib/puppet/application/agent.rb:403:in `setup'
      5. ./spec/unit/application/agent_spec.rb:346:in `block (3 levels) in <top (required)>'

      51) Puppet::Application::Agent during setup should not set catalog cache class if :catalog_cache_terminus is explicitly nil
      Failure/Error: @puppetd.setup
      RuntimeError:
      Got 0 failure(s) while initializing:

      1. ./lib/puppet/settings.rb:946:in `block in use'
      2. ./lib/puppet/resource/catalog.rb:176:in `apply'
      3. ./lib/puppet/settings.rb:942:in `use'
      4. ./lib/puppet/application/agent.rb:403:in `setup'
      5. ./spec/unit/application/agent_spec.rb:354:in `block (3 levels) in <top (required)>'

      52) Puppet::Application::Device during setup has an application default :catalog_cache_terminus setting of 'json'
      Failure/Error: @device.setup
      RuntimeError:
      Got 0 failure(s) while initializing:

      1. ./lib/puppet/settings.rb:946:in `block in use'
      2. ./lib/puppet/resource/catalog.rb:176:in `apply'
      3. ./lib/puppet/settings.rb:942:in `use'
      4. ./lib/puppet/application/device.rb:222:in `setup'
      5. ./spec/unit/application/device_spec.rb:226:in `block (3 levels) in <top (required)>'

      53) Puppet::Application::Device during setup should tell the catalog cache class based on the
      :catalog_cache_terminus setting
      Failure/Error: @device.setup
      RuntimeError:
      Got 0 failure(s) while initializing:

      1. ./lib/puppet/settings.rb:946:in `block in use'
      2. ./lib/puppet/resource/catalog.rb:176:in `apply'
      3. ./lib/puppet/settings.rb:942:in `use'
      4. ./lib/puppet/application/device.rb:222:in `setup'
      5. ./spec/unit/application/device_spec.rb:234:in `block (3 levels) in <top (required)>'

      54) Puppet::Application::Device during setup should not set catalog cache class if :catalog_cache_terminus is explicitly nil
      Failure/Error: @device.setup
      RuntimeError:
      Got 0 failure(s) while initializing:

      1. ./lib/puppet/settings.rb:946:in `block in use'
      2. ./lib/puppet/resource/catalog.rb:176:in `apply'
      3. ./lib/puppet/settings.rb:942:in `use'
      4. ./lib/puppet/application/device.rb:222:in `setup'
      5. ./spec/unit/application/device_spec.rb:242:in `block (3 levels) in <top (required)>'

      Finished in 5 minutes 58.91 seconds
      18673 examples, 54 failures, 74 pending

      Failed examples:

      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--verbose", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--onetime", "--verbose", "--logdest=/dev/null/foo"], logs to #<Set: {:console, "/dev/null/foo"}> at level info rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--verbose", "--logdest=syslog"] it should behave like an agent when evoked with ["--onetime", "--verbose", "--logdest=syslog"], logs to #<Set: {:console, "syslog"}> at level info
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--verbose", "--logdest=console"] it should behave like an agent when evoked with ["--onetime", "--verbose", "--logdest=console"], logs to #<Set: {:console, "console"}> at level info
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--verbose"] it should behave like an agent when evoked with ["--onetime", "--verbose"], logs to #<Set: {:console, :eventlog}> at level info
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--debug", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--onetime", "--debug", "--logdest=/dev/null/foo"], logs to #<Set: {:console, "/dev/null/foo"}> at level debug
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--debug", "--logdest=syslog"] it should behave like an agent when evoked with ["--onetime", "--debug", "--logdest=syslog"], logs to #<Set: {:console, "syslog"}> at level debug
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--debug", "--logdest=console"] it should behave like an agent when evoked with ["--onetime", "--debug", "--logdest=console"], logs to #<Set: {:console, "console"}> at level debug
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--debug"] it should behave like an agent when evoked with ["--onetime", "--debug"], logs to #<Set: {:console, :eventlog}> at level debug
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--onetime", "--logdest=/dev/null/foo"], logs to #<Set:

      {"/dev/null/foo"}> at level notice
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--logdest=syslog"] it should behave like an agent when evoked with ["--onetime", "--logdest=syslog"], logs to #<Set: {"syslog"}> at level notice
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--logdest=console"] it should behave like an agent when evoked with ["--onetime", "--logdest=console"], logs to #<Set: {"console"}> at level notice
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime"] it should behave like an agent when evoked with ["--onetime"], logs to #<Set: {:eventlog}> at level notice

      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--no-daemonize", "--verbose", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--verbose", "--logdest=/dev/null/foo"], logs to #<Set: {:console, "/dev/null/foo"}> at level info
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--no-daemonize", "--verbose", "--logdest=syslog"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--verbose", "--logdest=syslog"], logs to #<Set: {:console, "syslog"}>
      at level info
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--no-daemonize", "--verbose", "--logdest=console"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--verbose", "--logdest=console"], logs to #<Set: {:console, "console"}> at level info
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--no-daemonize", "--verbose"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--verbose"], logs to #<Set: {:console, :eventlog}> at level info
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--no-daemonize", "--debug", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--debug", "--logdest=/dev/null/foo"], logs to #<Set: {:console, "/dev/null/foo"}> at level debug
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--no-daemonize", "--debug", "--logdest=syslog"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--debug", "--logdest=syslog"], logs to #<Set: {:console, "syslog"}> at level debug
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--no-daemonize", "--debug", "--logdest=console"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--debug", "--logdest=console"], logs to #<Set: {:console, "console"}> at level debug
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--no-daemonize", "--debug"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--debug"], logs to #<Set: {:console, :eventlog}> at level debug
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--no-daemonize", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--onetime",
      "-no-daemonize", "-logdest=/dev/null/foo"], logs to #<Set: {"/dev/null/foo"}

      > at level notice
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--no-daemonize", "--logdest=syslog"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--logdest=syslog"], logs to #<Set:

      {"syslog"}> at level notice
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--no-daemonize", "--logdest=console"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize", "--logdest=console"], logs to #<Set: {"console"}> at level notice
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--onetime", "--no-daemonize"] it should behave like an agent when evoked with ["--onetime", "--no-daemonize"], logs to
      #<Set: {:eventlog}> at level notice
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--no-daemonize", "--verbose", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--no-daemonize", "--verbose", "--logdest=/dev/null/foo"], logs to #<Set: {:console, "/dev/null/foo"}> at level info
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--no-daemonize", "--verbose", "--logdest=syslog"] it should behave like an agent when evoked with ["--no-daemonize", "--verbose", "--logdest=syslog"], logs to #<Set: {:console, "syslog"}> at level info
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--no-daemonize", "--verbose", "--logdest=console"] it should behave like an agent when evoked with ["--no-daemonize", "--verbose", "--logdest=console"], logs to #<Set: {:console, "console"}> at level info
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--no-daemonize", "--verbose"] it should behave like an agent when evoked with ["--no-daemonize", "--verbose"], logs to
      #<Set: {:console, :eventlog}> at level info
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--no-daemonize", "--debug", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--no-daemonize", "--debug", "--logdest=/dev/null/foo"], logs to #<Set: {:console, "/dev/null/foo"}> at level
      debug
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--no-daemonize", "--debug", "--logdest=syslog"] it should behave like an agent when evoked with ["--no-daemonize", "--debug", "--logdest=syslog"], logs to #<Set: {:console, "syslog"}> at level debug
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--no-daemonize", "--debug", "--logdest=console"] it should behave like an agent when evoked with ["--no-daemonize", "--debug", "--logdest=console"], logs to #<Set: {:console, "console"}> at level debug
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--no-daemonize", "--debug"] it should behave like an agent when evoked with ["--no-daemonize", "--debug"], logs to #<Set: {:console, :eventlog}> at level debug
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--no-daemonize", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--no-daemonize", "--logdest=/dev/null/foo"], logs to #<Set: {"/dev/null/foo"}> at level notice
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--no-daemonize", "--logdest=syslog"] it should behave like an agent when evoked with ["--no-daemonize", "--logdest=syslog"], logs to #<Set: {"syslog"}

      > at level notice
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--no-daemonize", "--logdest=console"] it should behave like an agent when evoked with ["--no-daemonize", "--logdest=console"], logs to #<Set:

      {"console"}> at level notice
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--no-daemonize"] it should behave like an agent when evoked with ["--no-daemonize"], logs to #<Set: {:eventlog}> at level notice
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--verbose", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--verbose", "--logdest=/dev/null/foo"], logs to #<Set: {:console, "/dev/null/foo"}> at level info
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--verbose", "--logdest=syslog"] it should behave like an agent when evoked with ["--verbose", "--logdest=syslog"], logs to #<Set: {:console, "syslog"}> at level info
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--verbose", "--logdest=console"] it should behave like an agent when evoked with ["--verbose", "--logdest=console"], logs to #<Set: {:console, "console"}> at level info
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--verbose"] it should behave like an agent when evoked with ["--verbose"], logs to #<Set: {:console, :eventlog}> at level info
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--debug", "--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--debug", "--logdest=/dev/null/foo"], logs to #<Set: {:console, "/dev/null/foo"}> at level debug
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--debug", "--logdest=syslog"] it should behave like an agent when evoked with ["--debug", "--logdest=syslog"], logs to
      #<Set: {:console, "syslog"}> at level debug
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--debug", "--logdest=console"] it should behave like an agent when evoked with ["--debug", "--logdest=console"], logs to #<Set: {:console, "console"}> at level debug
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--debug"] it should behave like an agent when evoked with ["--debug"], logs to #<Set: {:console, :eventlog}> at level debug
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--logdest=/dev/null/foo"] it should behave like an agent when evoked with ["--logdest=/dev/null/foo"], logs to #<Set: {"/dev/null/foo"}> at level notice
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--logdest=syslog"] it should behave like an agent when evoked with ["--logdest=syslog"], logs to #<Set: {"syslog"}> at
      level notice
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for ["--logdest=console"] it should behave like an agent when evoked with ["--logdest=console"], logs to #<Set: {"console"}

      >
      at level notice
      rspec ./spec/integration/agent/logging_spec.rb:90 # agent logging for [] it should behave like an agent when evoked with [], logs to #<Set: {:eventlog}> at level notice
      rspec ./spec/unit/application/agent_spec.rb:334 # Puppet::Application::Agent during setup has an application default :catalog_cache_terminus setting of 'json'
      rspec ./spec/unit/application/agent_spec.rb:341 # Puppet::Application::Agent during setup should tell the catalog cache class based on the :catalog_cache_terminus setting
      rspec ./spec/unit/application/agent_spec.rb:349 # Puppet::Application::Agent during setup should not set catalog cache class if :catalog_cache_terminus is explicitly nil
      rspec ./spec/unit/application/device_spec.rb:222 # Puppet::Application::Device during setup has
      an application default :catalog_cache_terminus setting of 'json'
      rspec ./spec/unit/application/device_spec.rb:229 # Puppet::Application::Device during setup should tell the catalog cache class based on the :catalog_cache_terminus setting
      rspec ./spec/unit/application/device_spec.rb:237 # Puppet::Application::Device during setup should not set catalog cache class if :catalog_cache_terminus is explicitly nil
      </pre>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ethan Ethan Brown
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support