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

Puppet Acceptance Test Failure in Imaging Acceptance Tests

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 5.1.0
    • None
    • None
    • Platform Core
    • Not Needed
    • Needs Assessment

    Description

      The new Packer/Imaging acceptance tests are consistently failing with the following test failures:

      • tests/reports/corrective_change_new_resource.rb
      • tests/reports/corrective_change_outside_puppet.rb
      • tests/reports/corrective_change_via_puppet.rb
      • tests/resource/file/ticket_6448_file_with_utf8_source.rb

      These tests are a copy of the existing Puppet Acceptance Tests from the Puppet Agent Suite remodelled to run on the Jenkins Imaging Server as part the vmpooler image creation pipeline.

      An example of a failing test is available at: https://jenkins-imaging.delivery.puppetlabs.net/view/Windows/job/imaging_windows-2012r2-wmf5_x86_64_vmware_vsphere.cygwin_acceptance_packer/5/consoleFull

      All of these tests show the following common error pattern:

      05:10:32           
      05:10:32           duaytgmfihwjgou (redhat7-64-1) 05:10:32$ service puppetserver reload
      05:10:32             Redirecting to /bin/systemctl reload  puppetserver.service
      05:10:35           
      05:10:35           duaytgmfihwjgou (redhat7-64-1) executed in 3.15 seconds
      05:10:35           RuntimeError: PuppetAcceptance::DSL::Helpers.with_puppet_running_on failed (check backtrace for location) because: Host 'iel4i3wbexk81wn' exited with 1 running:
      05:10:35            cmd.exe /c puppet agent -t --environment corrective_change_new_resource_vh8jbk1t --server duaytgmfihwjgou
      05:10:35           Last 10 lines of output were:
      05:10:35           	Info: Using configured environment 'corrective_change_new_resource_vh8jbk1t'
      05:10:35           	Info: Retrieving pluginfacts
      05:10:35           	Info: Retrieving plugin
      05:10:35           	Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: No matching entry for selector parameter with value 'iel4i3wbexk81wn.delivery.puppetlabs.net' at /etc/puppetlabs/code/environments/corrective_change_new_resource_vh8jbk1t/manifests/site.pp:2:14 on node iel4i3wbexk81wn.delivery.puppetlabs.net
      05:10:35           	Warning: Not using cache on failed catalog
      05:10:35           	Error: Could not retrieve catalog; skipping run
      05:10:35           /var/lib/jenkins/workspace/imaging_windows-2012r2-wmf5_x86_64_vmware_vsphere.cygwin_acceptance_packer/acceptance/puppet/acceptance/vendor/bundle/gems/beaker-3.14.0/lib/beaker/host.rb:373:in `exec'
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              john.oconnor John O'Connor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support