Uploaded image for project: 'Puppet Agent'
  1. Puppet Agent
  2. PA-1989

Validate vendored ruby tests fail when puppet-resource_api requires puppet on windows

    XMLWordPrintable

    Details

    • Type: CI Blocker
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: puppet-agent 6.0.0
    • Component/s: None
    • Labels:
    • CI Pipeline/s:
      platform puppet-agent suite
    • Team:
      Platform OS
    • Sprint:
      Platform OS Kanban
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      Link to failed job:

      https://jenkins-master-prod-1.delivery.puppetlabs.net/view/puppet-agent/view/Acceptance%20Suites/view/master/view/Suite/job/platform_puppet-agent_puppet-agent-integration-suite_daily-master/149/

      Acceptance tests for the vendored ruby failed on requiring the resource API gem in irb on Windows. Other gems are successfully required, and resource API gem is listed alongside other gems in gem list output, but when the resource API requires puppet, puppet fails to require facter. Output excerpt:

          iddrww8qgxkf3g9.delivery.puppetlabs.net (windows2012r2-64-1) 07:57:43$ echo "require 'puppet/resource_api'" | env PATH="/cygdrive/c/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/bin:/cygdrive/c/Program Files/Puppet Labs/Puppet/sys/ruby/bin:${PATH}" cmd /c irb
            Switch to inspect mode.
            require 'puppet/resource_api'
            LoadError: cannot load such file -- facter
            	from C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
            	from C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
            	from C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/vendor_ruby/puppet/util/windows/user.rb:3:in `<top (required)>'
            	from C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
            	from C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            casey.williams Casey Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support