Uploaded image for project: 'Puppet Development Kit'
  1. Puppet Development Kit
  2. PDK-583

running unit tests for windows on non-windows platforms breaks entire testsuite

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PDK 1.2.0
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      pdk 1.2.0.0
      debian testing

    • Template:
    • Method Found:
      Manual Test
    • Release Notes:
      Known Issue
    • Release Notes Summary:
      * Specifying "Windows 2008 R2" as supported OS in `metadata.json` breaks running all unit tests. As a workaround, remove the Windows 2008 R2 support specification from your `metadata.json`.
    • QA Risk Assessment:
      Needs Assessment

      Description

      When creating a module with the PDK 1.2.0.0, and default answers, the Windows 2008 R2 entry in the metadata.json causes the unit test suite to break. Removing 2008r2 from the metadata.json fixes this:

      david@davids:/tmp$ rm -Rf bar
      david@davids:/tmp$ @jean what's the ^C
      david@davids:/tmp$ 
      david@davids:/tmp$ rm -Rf bar ~/.pdk
      david@davids:/tmp$ pdk --version
      1.2.0
      david@davids:/tmp$ pdk new module bar
      pdk (INFO): Creating new module: bar
       
      We need to create a metadata.json file for this module, so we're going to ask you 9 questions.
      If the question is not applicable to this module, accept the default option shown after each question. You can modify any answers at any time by manually updating the metadata.json file.
       
      [Q 1/9] If you have a Puppet Forge username, add it here.
      We can use this to upload your module to the Forge when it's complete.
      --> david
       
      [Q 2/9] What version is this module?
      Puppet uses Semantic Versioning (semver.org) to version modules.
      --> 0.1.0
       
      [Q 3/9] Who wrote this module?
      This is used to credit the module's author.
      --> david
       
      [Q 4/9] What license does this module code fall under?
      This should be an identifier from https://spdx.org/licenses/. Common values are "Apache-2.0", "MIT", or "proprietary".
      --> Apache-2.0
       
      [Q 5/9] What operating systems does this module support?
      Use the up and down keys to move between the choices, space to select and enter to continue.
      --> RedHat based Linux, Debian based Linux, Windows
       
      [Q 6/9] Summarize the purpose of this module in a single sentence.
      This helps other Puppet users understand what the module does.
      --> 
       
      [Q 7/9] If there is a source code repository for this module, enter the URL here.
      Skip this if no repository exists yet. You can update this later in the metadata.json.
      --> 
       
      [Q 8/9] If there is a URL where others can learn more about this module, enter it here.
      Optional. You can update this later in the metadata.json.
      --> 
       
      [Q 9/9] If there is a public issue tracker for this module, enter its URL here.
      Optional. You can update this later in the metadata.json.
      --> 
       
      ----------------------------------------
      SUMMARY
      ----------------------------------------
      {
        "name": "david-bar",
        "version": "0.1.0",
        "author": "david",
        "summary": "",
        "license": "Apache-2.0",
        "source": "",
        "dependencies": [
       
        ],
        "operatingsystem_support": [
          {
            "operatingsystem": "CentOS",
            "operatingsystemrelease": [
              "7"
            ]
          },
          {
            "operatingsystem": "OracleLinux",
            "operatingsystemrelease": [
              "7"
            ]
          },
          {
            "operatingsystem": "RedHat",
            "operatingsystemrelease": [
              "7"
            ]
          },
          {
            "operatingsystem": "Scientific",
            "operatingsystemrelease": [
              "7"
            ]
          },
          {
            "operatingsystem": "Debian",
            "operatingsystemrelease": [
              "8"
            ]
          },
          {
            "operatingsystem": "Ubuntu",
            "operatingsystemrelease": [
              "16.04"
            ]
          },
          {
            "operatingsystem": "windows",
            "operatingsystemrelease": [
              "2008 R2",
              "2012 R2",
              "10"
            ]
          }
        ],
        "requirements": [
          {
            "name": "puppet",
            "version_requirement": ">= 4.7.0 < 6.0.0"
          }
        ]
      }
      ----------------------------------------
       
      About to generate this module; continue? Yes
      pdk (INFO): Module 'bar' generated at path '/tmp/bar'.
      pdk (INFO): In your module directory, add classes with the 'pdk new class' command.
      david@davids:/tmp$ cd bar
      david@davids:/tmp/bar$ pdk new class flubb
      pdk (INFO): Creating '/tmp/bar/manifests/flubb.pp' from template.
      pdk (INFO): Creating '/tmp/bar/spec/classes/flubb_spec.rb' from template.
      david@davids:/tmp/bar$ pdk test unit
      [✔] Preparing to run the unit tests.
      [✖] Running unit tests.
        Evaluated 11 tests in 0.237144798 seconds: 11 failures, 0 pending.
      [✔] Cleaning up after running unit tests.
      failed: rspec: ./spec/classes/flubb_spec.rb:8: cannot load such file -- win32/registry
        bar::flubb on windows-2008-x64 should compile into a catalogue without dependency cycles
        Failure/Error:
              let(:facts) { os_facts }
        
              it { is_expected.to compile }
            end
          end
       
      failed: rspec: ./spec/classes/flubb_spec.rb:8: cannot load such file -- win32/registry
        bar::flubb on oraclelinux-7-x86_64 should compile into a catalogue without dependency cycles
        Failure/Error:
              let(:facts) { os_facts }
        
              it { is_expected.to compile }
            end
          end
       
      failed: rspec: ./spec/classes/flubb_spec.rb:8: cannot load such file -- win32/registry
        bar::flubb on debian-8-x86_64 should compile into a catalogue without dependency cycles
        Failure/Error:
              let(:facts) { os_facts }
        
              it { is_expected.to compile }
            end
          end
       
      failed: rspec: ./spec/classes/flubb_spec.rb:8: cannot load such file -- win32/registry
        bar::flubb on windows-2012-x64 should compile into a catalogue without dependency cycles
        Failure/Error:
              let(:facts) { os_facts }
        
              it { is_expected.to compile }
            end
          end
       
      failed: rspec: ./spec/classes/flubb_spec.rb:8: cannot load such file -- win32/registry
        bar::flubb on windows-2008 R2-x64 should compile into a catalogue without dependency cycles
        Failure/Error:
              let(:facts) { os_facts }
        
              it { is_expected.to compile }
            end
          end
       
      failed: rspec: ./spec/classes/flubb_spec.rb:8: cannot load such file -- win32/registry
        bar::flubb on windows-2012 R2-x64 should compile into a catalogue without dependency cycles
        Failure/Error:
              let(:facts) { os_facts }
        
              it { is_expected.to compile }
            end
          end
       
      failed: rspec: ./spec/classes/flubb_spec.rb:8: cannot load such file -- win32/registry
        bar::flubb on windows-10-x64 should compile into a catalogue without dependency cycles
        Failure/Error:
              let(:facts) { os_facts }
        
              it { is_expected.to compile }
            end
          end
       
      failed: rspec: ./spec/classes/flubb_spec.rb:8: cannot load such file -- win32/registry
        bar::flubb on ubuntu-16.04-x86_64 should compile into a catalogue without dependency cycles
        Failure/Error:
              let(:facts) { os_facts }
        
              it { is_expected.to compile }
            end
          end
       
      failed: rspec: ./spec/classes/flubb_spec.rb:8: cannot load such file -- win32/registry
        bar::flubb on centos-7-x86_64 should compile into a catalogue without dependency cycles
        Failure/Error:
              let(:facts) { os_facts }
        
              it { is_expected.to compile }
            end
          end
       
      failed: rspec: ./spec/classes/flubb_spec.rb:8: cannot load such file -- win32/registry
        bar::flubb on redhat-7-x86_64 should compile into a catalogue without dependency cycles
        Failure/Error:
              let(:facts) { os_facts }
        
              it { is_expected.to compile }
            end
          end
       
      failed: rspec: ./spec/classes/flubb_spec.rb:8: cannot load such file -- win32/registry
        bar::flubb on scientific-7-x86_64 should compile into a catalogue without dependency cycles
        Failure/Error:
              let(:facts) { os_facts }
        
              it { is_expected.to compile }
            end
          end
       
      david@davids:/tmp/bar$ pdk bundle exec rspec spec/classes/flubb_spec.rb[1:2:1] spec/classes/flubb_spec.rb[1:1:1]
      Run options: include {:ids=>{"./spec/classes/flubb_spec.rb"=>["1:2:1", "1:1:1"]}}
       
      bar::flubb
        on windows-2008-x64
          should compile into a catalogue without dependency cycles (FAILED - 1)
        on oraclelinux-7-x86_64
          should compile into a catalogue without dependency cycles (FAILED - 2)
       
      Failures:
       
        1) bar::flubb on windows-2008-x64 should compile into a catalogue without dependency cycles
           Failure/Error: it { is_expected.to compile }
       
           LoadError:
             cannot load such file -- win32/registry
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/monkey_patches.rb:282:in `require'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/monkey_patches.rb:282:in `require'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/registry.rb:4:in `hklm_read'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/domain.rb:80:in `block (2 levels) in <top (required)>'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/resolution.rb:157:in `call'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/resolution.rb:157:in `resolve_value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/core/resolvable.rb:63:in `block (2 levels) in value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/core/resolvable.rb:62:in `block in value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/core/resolvable.rb:84:in `with_timing'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/core/resolvable.rb:61:in `value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:161:in `block in find_first_real_value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:160:in `each'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:160:in `find_first_real_value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:113:in `block in value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:145:in `searching'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:110:in `value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/collection.rb:130:in `value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter.rb:117:in `value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings.rb:80:in `domain_fact'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/defaults.rb:1449:in `block in <module:Puppet>'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings/base_setting.rb:100:in `call'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings/base_setting.rb:100:in `default'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings.rb:1281:in `lookup'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings.rb:1296:in `interpolate'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings.rb:1082:in `value_sym'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/scope.rb:710:in `block in merge_settings'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/scope.rb:707:in `merge_settings'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:823:in `create_settings_scope'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:159:in `block (2 levels) in compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util/profiler.rb:51:in `profile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:159:in `block in compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/context.rb:65:in `override'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet.rb:264:in `override'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:153:in `compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:33:in `compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/catalog/compiler.rb:282:in `block (2 levels) in compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util/profiler.rb:51:in `profile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/catalog/compiler.rb:280:in `block in compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util.rb:224:in `block in benchmark'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util.rb:223:in `benchmark'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/catalog/compiler.rb:278:in `compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/catalog/compiler.rb:52:in `find'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/indirection.rb:195:in `find'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/adapters.rb:83:in `catalog'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/adapters.rb:161:in `catalog'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:354:in `build_catalog_without_cache'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:375:in `block in build_catalog'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/cache.rb:17:in `call'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/cache.rb:17:in `get'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:374:in `build_catalog'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:75:in `block in load_catalogue'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:319:in `with_vardir'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:69:in `load_catalogue'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/example/class_example_group.rb:7:in `catalogue'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:10:in `block in subject'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/matchers/compile.rb:23:in `call'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/matchers/compile.rb:23:in `matches?'
           # ./spec/classes/flubb_spec.rb:8:in `block (4 levels) in <top (required)>'
       
        2) bar::flubb on oraclelinux-7-x86_64 should compile into a catalogue without dependency cycles
           Failure/Error: it { is_expected.to compile }
       
           LoadError:
             cannot load such file -- win32/registry
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/monkey_patches.rb:282:in `require'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/monkey_patches.rb:282:in `require'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/registry.rb:4:in `hklm_read'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/domain.rb:80:in `block (2 levels) in <top (required)>'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/resolution.rb:157:in `call'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/resolution.rb:157:in `resolve_value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/core/resolvable.rb:63:in `block (2 levels) in value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/core/resolvable.rb:62:in `block in value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/core/resolvable.rb:84:in `with_timing'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/core/resolvable.rb:61:in `value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:161:in `block in find_first_real_value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:160:in `each'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:160:in `find_first_real_value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:113:in `block in value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:145:in `searching'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:110:in `value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/collection.rb:130:in `value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter.rb:117:in `value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings.rb:80:in `domain_fact'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/defaults.rb:1449:in `block in <module:Puppet>'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings/base_setting.rb:100:in `call'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings/base_setting.rb:100:in `default'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings.rb:1281:in `lookup'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings.rb:1296:in `interpolate'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings.rb:1082:in `value_sym'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/scope.rb:710:in `block in merge_settings'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/scope.rb:707:in `merge_settings'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:823:in `create_settings_scope'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:159:in `block (2 levels) in compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util/profiler.rb:51:in `profile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:159:in `block in compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/context.rb:65:in `override'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet.rb:264:in `override'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:153:in `compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:33:in `compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/catalog/compiler.rb:282:in `block (2 levels) in compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util/profiler.rb:51:in `profile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/catalog/compiler.rb:280:in `block in compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util.rb:224:in `block in benchmark'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util.rb:223:in `benchmark'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/catalog/compiler.rb:278:in `compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/catalog/compiler.rb:52:in `find'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/indirection.rb:195:in `find'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/adapters.rb:83:in `catalog'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/adapters.rb:161:in `catalog'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:354:in `build_catalog_without_cache'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:375:in `block in build_catalog'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/cache.rb:17:in `call'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/cache.rb:17:in `get'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:374:in `build_catalog'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:75:in `block in load_catalogue'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:319:in `with_vardir'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:69:in `load_catalogue'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/example/class_example_group.rb:7:in `catalogue'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:10:in `block in subject'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/matchers/compile.rb:23:in `call'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/matchers/compile.rb:23:in `matches?'
           # ./spec/classes/flubb_spec.rb:8:in `block (4 levels) in <top (required)>'
       
      Finished in 0.09436 seconds (files took 2.08 seconds to load)
      2 examples, 2 failures
       
      Failed examples:
       
      rspec ./spec/classes/flubb_spec.rb[1:1:1] # bar::flubb on windows-2008-x64 should compile into a catalogue without dependency cycles
      rspec ./spec/classes/flubb_spec.rb[1:2:1] # bar::flubb on oraclelinux-7-x86_64 should compile into a catalogue without dependency cycles
       
      The latest bundler is 1.16.0.pre.3, but you are currently running 1.15.1.
      To update, run `gem install bundler --pre`
       
      david@davids:/tmp/bar$ pdk bundle exec rspec spec/classes/flubb_spec.rb[1:1:1] spec/classes/flubb_spec.rb[1:2:1]
      Run options: include {:ids=>{"./spec/classes/flubb_spec.rb"=>["1:1:1", "1:2:1"]}}
       
      bar::flubb
        on windows-2008-x64
          should compile into a catalogue without dependency cycles (FAILED - 1)
        on oraclelinux-7-x86_64
          should compile into a catalogue without dependency cycles (FAILED - 2)
       
      Failures:
       
        1) bar::flubb on windows-2008-x64 should compile into a catalogue without dependency cycles
           Failure/Error: it { is_expected.to compile }
       
           LoadError:
             cannot load such file -- win32/registry
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/monkey_patches.rb:282:in `require'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/monkey_patches.rb:282:in `require'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/registry.rb:4:in `hklm_read'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/domain.rb:80:in `block (2 levels) in <top (required)>'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/resolution.rb:157:in `call'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/resolution.rb:157:in `resolve_value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/core/resolvable.rb:63:in `block (2 levels) in value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/core/resolvable.rb:62:in `block in value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/core/resolvable.rb:84:in `with_timing'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/core/resolvable.rb:61:in `value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:161:in `block in find_first_real_value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:160:in `each'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:160:in `find_first_real_value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:113:in `block in value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:145:in `searching'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:110:in `value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/collection.rb:130:in `value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter.rb:117:in `value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings.rb:80:in `domain_fact'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/defaults.rb:1449:in `block in <module:Puppet>'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings/base_setting.rb:100:in `call'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings/base_setting.rb:100:in `default'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings.rb:1281:in `lookup'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings.rb:1296:in `interpolate'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings.rb:1082:in `value_sym'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/scope.rb:710:in `block in merge_settings'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/scope.rb:707:in `merge_settings'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:823:in `create_settings_scope'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:159:in `block (2 levels) in compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util/profiler.rb:51:in `profile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:159:in `block in compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/context.rb:65:in `override'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet.rb:264:in `override'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:153:in `compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:33:in `compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/catalog/compiler.rb:282:in `block (2 levels) in compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util/profiler.rb:51:in `profile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/catalog/compiler.rb:280:in `block in compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util.rb:224:in `block in benchmark'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util.rb:223:in `benchmark'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/catalog/compiler.rb:278:in `compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/catalog/compiler.rb:52:in `find'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/indirection.rb:195:in `find'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/adapters.rb:83:in `catalog'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/adapters.rb:161:in `catalog'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:354:in `build_catalog_without_cache'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:375:in `block in build_catalog'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/cache.rb:17:in `call'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/cache.rb:17:in `get'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:374:in `build_catalog'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:75:in `block in load_catalogue'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:319:in `with_vardir'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:69:in `load_catalogue'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/example/class_example_group.rb:7:in `catalogue'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:10:in `block in subject'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/matchers/compile.rb:23:in `call'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/matchers/compile.rb:23:in `matches?'
           # ./spec/classes/flubb_spec.rb:8:in `block (4 levels) in <top (required)>'
       
        2) bar::flubb on oraclelinux-7-x86_64 should compile into a catalogue without dependency cycles
           Failure/Error: it { is_expected.to compile }
       
           LoadError:
             cannot load such file -- win32/registry
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/monkey_patches.rb:282:in `require'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/monkey_patches.rb:282:in `require'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/registry.rb:4:in `hklm_read'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/domain.rb:80:in `block (2 levels) in <top (required)>'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/resolution.rb:157:in `call'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/resolution.rb:157:in `resolve_value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/core/resolvable.rb:63:in `block (2 levels) in value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/core/resolvable.rb:62:in `block in value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/core/resolvable.rb:84:in `with_timing'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/core/resolvable.rb:61:in `value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:161:in `block in find_first_real_value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:160:in `each'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:160:in `find_first_real_value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:113:in `block in value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:145:in `searching'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/fact.rb:110:in `value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter/util/collection.rb:130:in `value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/facter-2.5.1/lib/facter.rb:117:in `value'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings.rb:80:in `domain_fact'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/defaults.rb:1449:in `block in <module:Puppet>'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings/base_setting.rb:100:in `call'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings/base_setting.rb:100:in `default'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings.rb:1281:in `lookup'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings.rb:1296:in `interpolate'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/settings.rb:1082:in `value_sym'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/scope.rb:710:in `block in merge_settings'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/scope.rb:707:in `merge_settings'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:823:in `create_settings_scope'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:159:in `block (2 levels) in compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util/profiler.rb:51:in `profile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:159:in `block in compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/context.rb:65:in `override'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet.rb:264:in `override'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:153:in `compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/parser/compiler.rb:33:in `compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/catalog/compiler.rb:282:in `block (2 levels) in compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util/profiler/around_profiler.rb:58:in `profile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util/profiler.rb:51:in `profile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/catalog/compiler.rb:280:in `block in compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util.rb:224:in `block in benchmark'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/util.rb:223:in `benchmark'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/catalog/compiler.rb:278:in `compile'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/catalog/compiler.rb:52:in `find'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/puppet-5.3.2/lib/puppet/indirector/indirection.rb:195:in `find'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/adapters.rb:83:in `catalog'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/adapters.rb:161:in `catalog'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:354:in `build_catalog_without_cache'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:375:in `block in build_catalog'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/cache.rb:17:in `call'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/cache.rb:17:in `get'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:374:in `build_catalog'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:75:in `block in load_catalogue'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:319:in `with_vardir'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:69:in `load_catalogue'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/example/class_example_group.rb:7:in `catalogue'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/support.rb:10:in `block in subject'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/matchers/compile.rb:23:in `call'
           # /opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.9/lib/rspec-puppet/matchers/compile.rb:23:in `matches?'
           # ./spec/classes/flubb_spec.rb:8:in `block (4 levels) in <top (required)>'
       
      Finished in 0.11604 seconds (files took 2.22 seconds to load)
      2 examples, 2 failures
       
      Failed examples:
       
      rspec ./spec/classes/flubb_spec.rb[1:1:1] # bar::flubb on windows-2008-x64 should compile into a catalogue without dependency cycles
      rspec ./spec/classes/flubb_spec.rb[1:2:1] # bar::flubb on oraclelinux-7-x86_64 should compile into a catalogue without dependency cycles
       
      The latest bundler is 1.16.0.pre.3, but you are currently running 1.15.1.
      To update, run `gem install bundler --pre`
       
      david@davids:/tmp/bar$ pdk bundle exec rspec spec/classes/flubb_spec.rb[1:2:1]
      Run options: include {:ids=>{"./spec/classes/flubb_spec.rb"=>["1:2:1"]}}
       
      bar::flubb
        on oraclelinux-7-x86_64
          should compile into a catalogue without dependency cycles
       
      Finished in 0.1711 seconds (files took 2.13 seconds to load)
      1 example, 0 failures
       
       
      david@davids:/tmp/bar$ vi metadata.json # remove '"2008 R2",' from the operatingsystem_support key here
      david@davids:/tmp/bar$ pdk bundle exec rspec spec/classes/flubb_spec.rb
       
      bar::flubb
        on oraclelinux-7-x86_64
          should compile into a catalogue without dependency cycles
        on debian-8-x86_64
          should compile into a catalogue without dependency cycles
        on windows-2012-x64
          should compile into a catalogue without dependency cycles
        on windows-2012 R2-x64
          should compile into a catalogue without dependency cycles
        on windows-10-x64
          should compile into a catalogue without dependency cycles
        on ubuntu-16.04-x86_64
          should compile into a catalogue without dependency cycles
        on centos-7-x86_64
          should compile into a catalogue without dependency cycles
        on redhat-7-x86_64
          should compile into a catalogue without dependency cycles
        on scientific-7-x86_64
          should compile into a catalogue without dependency cycles
       
      Finished in 0.39518 seconds (files took 1.96 seconds to load)
      9 examples, 0 failures
       
       
      david@davids:/tmp/bar$ 
      

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  david.schmitt David Schmitt
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: