puppetlabs-stdlib icon indicating copy to clipboard operation
puppetlabs-stdlib copied to clipboard

stdlib::deferrable_epp fails in spec test for windows nodes

Open garrettrowell opened this issue 5 months ago • 1 comments

Describe the Bug

When unit testing the following class:

class deferred_test {
  $response = { 'response_string' => Deferred('deferred_test::api')}

  $response_result = stdlib::deferrable_epp('deferred_test/api_response.epp', $response)

  echo { 'API debug':
    message => $response_result,
  }
}

The following test fails only for windows targets:

# frozen_string_literal: true

require 'spec_helper'

describe 'deferred_test' do
  on_supported_os.each do |os, os_facts|
    context "on #{os}" do
      let(:node) { "#{os_facts[:os]['name'].downcase}-#{os_facts[:os]['release']['major'].delete('.')}.corp.com" }
      let(:facts) { os_facts }

      it { is_expected.to compile.with_all_deps }
      it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }
    end
  end
end

It's worth mentioning that the manifest behaves as expected during an agent run.

Expected Behavior

Unit tests to work against windows nodes

Steps to Reproduce

Steps to reproduce the behavior:

  1. git clone [email protected]:garrettrowell/deferred_test.git
  2. cd deferred_test
  3. pdk test unit -v

Environment

  • stdlib version: 9.7.0
  • PDK version: 3.4.0
  • rspec-puppet version: 5.0.0
  • Test ran on Mac

Additional Context

I've put together a sample module to demonstrate this behavior: https://github.com/garrettrowell/deferred_test

I'm not sure if this is an issue with stdlib, rspec, or the file puppet function.

Output from pdk test unit -v

pdk (INFO): Using Ruby 3.2.5
pdk (INFO): Using Puppet 8.10.0
[✔] Preparing to run the unit tests.
/opt/puppetlabs/pdk/private/ruby/3.2.5/bin/ruby -I/Users/garrett.rowell/.pdk/cache/ruby/3.2.0/gems/rspec-core-3.13.5/lib:/Users/garrett.rowell/.pdk/cache/ruby/3.2.0/gems/rspec-support-3.13.4/lib /Users/garrett.rowell/.pdk/cache/ruby/3.2.0/gems/rspec-core-3.13.5/exe/rspec --pattern spec/\{aliases,classes,defines,functions,hosts,integration,plans,tasks,type_aliases,types,unit\}/\*\*/\*_spec.rb --format documentation
No facts were found in the FacterDB for Facter v4.10.0 on {"os.name"=>"CentOS", "os.release.full"=>"/^9/", "os.hardware"=>"x86_64"}, using v4.9.0 instead
No facts were found in the FacterDB for Facter v4.10.0 on {"os.name"=>"OracleLinux", "os.release.full"=>"/^7/", "os.hardware"=>"x86_64"}, using v4.2.2 instead
No facts were found in the FacterDB for Facter v4.10.0 on {"os.name"=>"Scientific", "os.release.full"=>"/^7/", "os.hardware"=>"x86_64"}, using v4.2.2 instead
No facts were found in the FacterDB for Facter v4.10.0 on {"os.name"=>"Rocky", "os.release.full"=>"/^8/", "os.hardware"=>"x86_64"}, using v4.9.0 instead
No facts were found in the FacterDB for Facter v4.10.0 on {"os.name"=>"AlmaLinux", "os.release.full"=>"/^8/", "os.hardware"=>"x86_64"}, using v4.9.0 instead
No facts were found in the FacterDB for Facter v4.10.0 on {"os.name"=>"Ubuntu", "os.release.full"=>"/^18\\.04/", "os.hardware"=>"x86_64"}, using v4.5.0 instead
No facts were found in the FacterDB for Facter v4.10.0 on {"os.name"=>"windows", "os.release.full"=>"\"2019\"", "os.hardware"=>"x86_64"}, using v4.7.0 instead
No facts were found in the FacterDB for Facter v4.10.0 on {"os.name"=>"windows", "os.release.full"=>"\"2022\"", "os.hardware"=>"x86_64"}, using v4.7.0 instead
No facts were found in the FacterDB for Facter v4.10.0 on {"os.name"=>"windows", "os.release.full"=>"\"10\"", "os.hardware"=>"x86_64"}, using v4.7.0 instead
No facts were found in the FacterDB for Facter v4.10.0 on {"os.name"=>"windows", "os.release.full"=>"\"11\"", "os.hardware"=>"x86_64"}, using v4.7.0 instead
Run options: exclude {:bolt=>true}

deferred_test
  on centos-9-x86_64
    is expected to compile into a catalogue without dependency cycles
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
  on oraclelinux-7-x86_64
    is expected to compile into a catalogue without dependency cycles
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
  on redhat-8-x86_64
    is expected to compile into a catalogue without dependency cycles
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
  on redhat-9-x86_64
    is expected to compile into a catalogue without dependency cycles
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
  on scientific-7-x86_64
    is expected to compile into a catalogue without dependency cycles
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
  on rocky-8-x86_64
    is expected to compile into a catalogue without dependency cycles
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
  on almalinux-8-x86_64
    is expected to compile into a catalogue without dependency cycles
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
  on debian-11-x86_64
    is expected to compile into a catalogue without dependency cycles
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
  on debian-12-x86_64
    is expected to compile into a catalogue without dependency cycles
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
  on ubuntu-18.04-x86_64
    is expected to compile into a catalogue without dependency cycles
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
  on ubuntu-20.04-x86_64
    is expected to compile into a catalogue without dependency cycles
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
  on ubuntu-22.04-x86_64
    is expected to compile into a catalogue without dependency cycles
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
  on windows-2019-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 1)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 2)
  on windows-2022-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 3)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 4)
  on windows-10-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 5)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 6)
  on windows-11-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 7)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 8)

Code coverage
  must cover at least 0% of resources


Coverage Report:

Total resources:   1
Touched resources: 1
Resource coverage: 100.00%

Failures:

  1) deferred_test on windows-2019-x86_64 is expected to compile into a catalogue without dependency cycles
     Failure/Error: it { is_expected.to compile.with_all_deps }
       error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node windows-2019.corp.com
     # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  2) deferred_test on windows-2019-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
     Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

     Puppet::PreformattedError:
       Evaluation Error: Error while evaluating a Method call, Could not find any files from /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node windows-2019.corp.com
     # /opt/puppetlabs/pdk/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
     # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # Puppet::ParseError:
     #   Could not find any files from /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
     #   /opt/puppetlabs/pdk/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  3) deferred_test on windows-2022-x86_64 is expected to compile into a catalogue without dependency cycles
     Failure/Error: it { is_expected.to compile.with_all_deps }
       error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node windows-2022.corp.com
     # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  4) deferred_test on windows-2022-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
     Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

     Puppet::PreformattedError:
       Evaluation Error: Error while evaluating a Method call, Could not find any files from /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node windows-2022.corp.com
     # /opt/puppetlabs/pdk/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
     # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # Puppet::ParseError:
     #   Could not find any files from /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
     #   /opt/puppetlabs/pdk/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  5) deferred_test on windows-10-x86_64 is expected to compile into a catalogue without dependency cycles
     Failure/Error: it { is_expected.to compile.with_all_deps }
       error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node windows-10.corp.com
     # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  6) deferred_test on windows-10-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
     Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

     Puppet::PreformattedError:
       Evaluation Error: Error while evaluating a Method call, Could not find any files from /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node windows-10.corp.com
     # /opt/puppetlabs/pdk/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
     # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # Puppet::ParseError:
     #   Could not find any files from /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
     #   /opt/puppetlabs/pdk/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  7) deferred_test on windows-11-x86_64 is expected to compile into a catalogue without dependency cycles
     Failure/Error: it { is_expected.to compile.with_all_deps }
       error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node windows-11.corp.com
     # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  8) deferred_test on windows-11-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
     Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

     Puppet::PreformattedError:
       Evaluation Error: Error while evaluating a Method call, Could not find any files from /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node windows-11.corp.com
     # /opt/puppetlabs/pdk/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
     # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # Puppet::ParseError:
     #   Could not find any files from /Users/garrett.rowell/workspace/puppet/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
     #   /opt/puppetlabs/pdk/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

Finished in 4.95 seconds (files took 1 minute 3.07 seconds to load)
33 examples, 8 failures

Failed examples:

rspec './spec/classes/deferred_test_spec.rb[1:13:1]' # deferred_test on windows-2019-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:13:2]' # deferred_test on windows-2019-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:14:1]' # deferred_test on windows-2022-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:14:2]' # deferred_test on windows-2022-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:15:1]' # deferred_test on windows-10-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:15:2]' # deferred_test on windows-10-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:16:1]' # deferred_test on windows-11-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:16:2]' # deferred_test on windows-11-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"

/opt/puppetlabs/pdk/private/ruby/3.2.5/bin/ruby -I/Users/garrett.rowell/.pdk/cache/ruby/3.2.0/gems/rspec-core-3.13.5/lib:/Users/garrett.rowell/.pdk/cache/ruby/3.2.0/gems/rspec-support-3.13.4/lib /Users/garrett.rowell/.pdk/cache/ruby/3.2.0/gems/rspec-core-3.13.5/exe/rspec --pattern spec/\{aliases,classes,defines,functions,hosts,integration,plans,tasks,type_aliases,types,unit\}/\*\*/\*_spec.rb --format documentation failed

garrettrowell avatar Jul 15 '25 21:07 garrettrowell

Interestingly when the tests are run from a windows node the exact opposite behavior is observed. ie. windows tests pass *nix fail

pdk (INFO): Using Ruby 3.2.5
pdk (INFO): Using Puppet 8.10.0
[✔] Preparing to run the unit tests.
"C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/bin/ruby.exe" -I'C:/Users/Administrator/AppData/Local/PDK/cache/ruby/3.2.0/gems/rspec-core-3.13.5/lib';'C:/Users/Administrator/AppData/Local/PDK/cache/ruby/3.2.0/gems/rspec-support-3.13.4/lib' 'C:/Users/Administrator/AppData/Local/PDK/cache/ruby/3.2.0/gems/rspec-core-3.13.5/exe/rspec' --pattern 'spec/{aliases,classes,defines,functions,hosts,integration,plans,tasks,type_aliases,types,unit}/**/*_spec.rb' --format documentation
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"CentOS", "os.release.full"=>"/^8/", "os.hardware"=>"x86_64"}, using v4.5.2 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"CentOS", "os.release.full"=>"/^9/", "os.hardware"=>"x86_64"}, using v4.5.2 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"OracleLinux", "os.release.full"=>"/^7/", "os.hardware"=>"x86_64"}, using v4.2.2 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"RedHat", "os.release.full"=>"/^7/", "os.hardware"=>"x86_64"}, using v4.2.13 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"RedHat", "os.release.full"=>"/^8/", "os.hardware"=>"x86_64"}, using v4.5.2 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"RedHat", "os.release.full"=>"/^9/", "os.hardware"=>"x86_64"}, using v4.5.2 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"Scientific", "os.release.full"=>"/^7/", "os.hardware"=>"x86_64"}, using v4.2.2 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"Rocky", "os.release.full"=>"/^8/", "os.hardware"=>"x86_64"}, using v4.5.0 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"AlmaLinux", "os.release.full"=>"/^8/", "os.hardware"=>"x86_64"}, using v4.5.2 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"Debian", "os.release.full"=>"/^11/", "os.hardware"=>"x86_64"}, using v4.5.2 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"Debian", "os.release.full"=>"/^12/", "os.hardware"=>"x86_64"}, using v4.5.2 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"Ubuntu", "os.release.full"=>"/^18\\.04/", "os.hardware"=>"x86_64"}, using v4.5.0 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"Ubuntu", "os.release.full"=>"/^20\\.04/", "os.hardware"=>"x86_64"}, using v4.5.0 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"Ubuntu", "os.release.full"=>"/^22\\.04/", "os.hardware"=>"x86_64"}, using v4.5.2 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"windows", "os.release.full"=>"\"2019\"", "os.hardware"=>"x86_64"}, using v4.5.2 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"windows", "os.release.full"=>"\"2022\"", "os.hardware"=>"x86_64"}, using v4.5.2 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"windows", "os.release.full"=>"\"10\"", "os.hardware"=>"x86_64"}, using v4.5.2 instead
No facts were found in the FacterDB for Facter v4.5.1 on {"os.name"=>"windows", "os.release.full"=>"\"11\"", "os.hardware"=>"x86_64"}, using v4.5.2 instead
Run options: exclude {:bolt=>true}

deferred_test
  on centos-7-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 1)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 2)
  on centos-8-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 3)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 4)
  on centos-9-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 5)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 6)
  on oraclelinux-7-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 7)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 8)
  on redhat-7-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 9)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 10)
  on redhat-8-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 11)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 12)
  on redhat-9-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 13)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 14)
  on scientific-7-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 15)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 16)
  on rocky-8-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 17)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 18)
  on almalinux-8-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 19)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 20)
  on debian-11-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 21)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 22)
  on debian-12-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 23)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 24)
  on ubuntu-18.04-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 25)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 26)
  on ubuntu-20.04-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 27)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 28)
  on ubuntu-22.04-x86_64
    is expected to compile into a catalogue without dependency cycles (FAILED - 29)
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n" (FAILED - 30)
  on windows-2019-x86_64
    is expected to compile into a catalogue without dependency cycles
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
  on windows-2022-x86_64
    is expected to compile into a catalogue without dependency cycles
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
  on windows-10-x86_64
    is expected to compile into a catalogue without dependency cycles
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
  on windows-11-x86_64
    is expected to compile into a catalogue without dependency cycles
    is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"

Code coverage
  must cover at least 0% of resources


Coverage Report:

Total resources:   1
Touched resources: 1
Resource coverage: 100.00%

Failures:

  1) deferred_test on centos-7-x86_64 is expected to compile into a catalogue without dependency cycles
     Failure/Error: it { is_expected.to compile.with_all_deps }
       error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node centos-7.corp.com
     # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  2) deferred_test on centos-7-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
     Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

     Puppet::PreformattedError:
       Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node centos-7.corp.com
     # C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
     # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # Puppet::ParseError:
     #   Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
     #   C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  3) deferred_test on centos-8-x86_64 is expected to compile into a catalogue without dependency cycles
     Failure/Error: it { is_expected.to compile.with_all_deps }
       error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node centos-8.corp.com
     # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  4) deferred_test on centos-8-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
     Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

     Puppet::PreformattedError:
       Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node centos-8.corp.com
     # C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
     # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # Puppet::ParseError:
     #   Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
     #   C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  5) deferred_test on centos-9-x86_64 is expected to compile into a catalogue without dependency cycles
     Failure/Error: it { is_expected.to compile.with_all_deps }
       error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node centos-9.corp.com
     # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  6) deferred_test on centos-9-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
     Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

     Puppet::PreformattedError:
       Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node centos-9.corp.com
     # C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
     # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # Puppet::ParseError:
     #   Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
     #   C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  7) deferred_test on oraclelinux-7-x86_64 is expected to compile into a catalogue without dependency cycles
     Failure/Error: it { is_expected.to compile.with_all_deps }
       error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node oraclelinux-7.corp.com
     # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  8) deferred_test on oraclelinux-7-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
     Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

     Puppet::PreformattedError:
       Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node oraclelinux-7.corp.com
     # C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
     # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # Puppet::ParseError:
     #   Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
     #   C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  9) deferred_test on redhat-7-x86_64 is expected to compile into a catalogue without dependency cycles
     Failure/Error: it { is_expected.to compile.with_all_deps }
       error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node redhat-7.corp.com
     # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  10) deferred_test on redhat-7-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
      Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

      Puppet::PreformattedError:
        Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node redhat-7.corp.com
      # C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
      # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # Puppet::ParseError:
      #   Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
      #   C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  11) deferred_test on redhat-8-x86_64 is expected to compile into a catalogue without dependency cycles
      Failure/Error: it { is_expected.to compile.with_all_deps }
        error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node redhat-8.corp.com
      # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  12) deferred_test on redhat-8-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
      Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

      Puppet::PreformattedError:
        Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node redhat-8.corp.com
      # C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
      # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # Puppet::ParseError:
      #   Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
      #   C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  13) deferred_test on redhat-9-x86_64 is expected to compile into a catalogue without dependency cycles
      Failure/Error: it { is_expected.to compile.with_all_deps }
        error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node redhat-9.corp.com
      # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  14) deferred_test on redhat-9-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
      Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

      Puppet::PreformattedError:
        Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node redhat-9.corp.com
      # C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
      # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # Puppet::ParseError:
      #   Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
      #   C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  15) deferred_test on scientific-7-x86_64 is expected to compile into a catalogue without dependency cycles
      Failure/Error: it { is_expected.to compile.with_all_deps }
        error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node scientific-7.corp.com
      # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  16) deferred_test on scientific-7-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
      Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

      Puppet::PreformattedError:
        Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node scientific-7.corp.com
      # C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
      # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # Puppet::ParseError:
      #   Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
      #   C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  17) deferred_test on rocky-8-x86_64 is expected to compile into a catalogue without dependency cycles
      Failure/Error: it { is_expected.to compile.with_all_deps }
        error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node rocky-8.corp.com
      # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  18) deferred_test on rocky-8-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
      Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

      Puppet::PreformattedError:
        Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node rocky-8.corp.com
      # C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
      # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # Puppet::ParseError:
      #   Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
      #   C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  19) deferred_test on almalinux-8-x86_64 is expected to compile into a catalogue without dependency cycles
      Failure/Error: it { is_expected.to compile.with_all_deps }
        error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node almalinux-8.corp.com
      # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  20) deferred_test on almalinux-8-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
      Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

      Puppet::PreformattedError:
        Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node almalinux-8.corp.com
      # C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
      # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # Puppet::ParseError:
      #   Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
      #   C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  21) deferred_test on debian-11-x86_64 is expected to compile into a catalogue without dependency cycles
      Failure/Error: it { is_expected.to compile.with_all_deps }
        error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node debian-11.corp.com
      # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  22) deferred_test on debian-11-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
      Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

      Puppet::PreformattedError:
        Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node debian-11.corp.com
      # C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
      # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # Puppet::ParseError:
      #   Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
      #   C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  23) deferred_test on debian-12-x86_64 is expected to compile into a catalogue without dependency cycles
      Failure/Error: it { is_expected.to compile.with_all_deps }
        error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node debian-12.corp.com
      # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  24) deferred_test on debian-12-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
      Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

      Puppet::PreformattedError:
        Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node debian-12.corp.com
      # C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
      # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # Puppet::ParseError:
      #   Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
      #   C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  25) deferred_test on ubuntu-18.04-x86_64 is expected to compile into a catalogue without dependency cycles
      Failure/Error: it { is_expected.to compile.with_all_deps }
        error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node ubuntu-1804.corp.com
      # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  26) deferred_test on ubuntu-18.04-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
      Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

      Puppet::PreformattedError:
        Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node ubuntu-1804.corp.com
      # C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
      # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # Puppet::ParseError:
      #   Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
      #   C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  27) deferred_test on ubuntu-20.04-x86_64 is expected to compile into a catalogue without dependency cycles
      Failure/Error: it { is_expected.to compile.with_all_deps }
        error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node ubuntu-2004.corp.com
      # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  28) deferred_test on ubuntu-20.04-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
      Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

      Puppet::PreformattedError:
        Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node ubuntu-2004.corp.com
      # C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
      # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # Puppet::ParseError:
      #   Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
      #   C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

  29) deferred_test on ubuntu-22.04-x86_64 is expected to compile into a catalogue without dependency cycles
      Failure/Error: it { is_expected.to compile.with_all_deps }
        error during compilation: Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node ubuntu-2204.corp.com
      # ./spec/classes/deferred_test_spec.rb:11:in `block (4 levels) in <top (required)>'

  30) deferred_test on ubuntu-22.04-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
      Failure/Error: it { is_expected.to contain_echo('API debug').with_message("the response was '{\"response\":\"i did a thing\"}'\n") }

      Puppet::PreformattedError:
        Evaluation Error: Error while evaluating a Method call, Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp (file: C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/stdlib/functions/deferrable_epp.pp, line: 12, column: 32) on node ubuntu-2204.corp.com
      # C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'
      # ./spec/classes/deferred_test_spec.rb:12:in `block (4 levels) in <top (required)>'
      # ------------------
      # --- Caused by: ---
      # Puppet::ParseError:
      #   Could not find any files from C:/Users/Administrator/Downloads/deferred_test/spec/fixtures/modules/deferred_test/templates/api_response.epp
      #   C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/lib/ruby/3.2.0/benchmark.rb:311:in `realtime'

Finished in 13.92 seconds (files took 5.9 seconds to load)
39 examples, 30 failures

Failed examples:

rspec './spec/classes/deferred_test_spec.rb[1:1:1]' # deferred_test on centos-7-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:1:2]' # deferred_test on centos-7-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:2:1]' # deferred_test on centos-8-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:2:2]' # deferred_test on centos-8-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:3:1]' # deferred_test on centos-9-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:3:2]' # deferred_test on centos-9-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:4:1]' # deferred_test on oraclelinux-7-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:4:2]' # deferred_test on oraclelinux-7-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:5:1]' # deferred_test on redhat-7-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:5:2]' # deferred_test on redhat-7-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:6:1]' # deferred_test on redhat-8-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:6:2]' # deferred_test on redhat-8-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:7:1]' # deferred_test on redhat-9-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:7:2]' # deferred_test on redhat-9-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:8:1]' # deferred_test on scientific-7-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:8:2]' # deferred_test on scientific-7-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:9:1]' # deferred_test on rocky-8-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:9:2]' # deferred_test on rocky-8-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:10:1]' # deferred_test on almalinux-8-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:10:2]' # deferred_test on almalinux-8-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:11:1]' # deferred_test on debian-11-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:11:2]' # deferred_test on debian-11-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:12:1]' # deferred_test on debian-12-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:12:2]' # deferred_test on debian-12-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:13:1]' # deferred_test on ubuntu-18.04-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:13:2]' # deferred_test on ubuntu-18.04-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:14:1]' # deferred_test on ubuntu-20.04-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:14:2]' # deferred_test on ubuntu-20.04-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"
rspec './spec/classes/deferred_test_spec.rb[1:15:1]' # deferred_test on ubuntu-22.04-x86_64 is expected to compile into a catalogue without dependency cycles
rspec './spec/classes/deferred_test_spec.rb[1:15:2]' # deferred_test on ubuntu-22.04-x86_64 is expected to contain Echo[API debug] with message => "the response was '{\"response\":\"i did a thing\"}'\n"

"C:/Program Files/Puppet Labs/DevelopmentKit/private/ruby/3.2.5/bin/ruby.exe" -I'C:/Users/Administrator/AppData/Local/PDK/cache/ruby/3.2.0/gems/rspec-core-3.13.5/lib';'C:/Users/Administrator/AppData/Local/PDK/cache/ruby/3.2.0/gems/rspec-support-3.13.4/lib' 'C:/Users/Administrator/AppData/Local/PDK/cache/ruby/3.2.0/gems/rspec-core-3.13.5/exe/rspec' --pattern 'spec/{aliases,classes,defines,functions,hosts,integration,plans,tasks,type_aliases,types,unit}/**/*_spec.rb' --format documentation failed

garrettrowell avatar Jul 16 '25 18:07 garrettrowell