Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-360

Fix createrepo issue with ruby puppet acceptance tests

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Puppet Server
    • Labels:

      Description

      The common_package_name_in_different_providers.rb ruby puppet acceptance test is failing with exited with 127 running: createrepo /tmp/rpmrepo

      Full stack:

      #<Beaker::Host::CommandFailure: Host 'm1yas9jxjsz0p5h.delivery.puppetlabs.net' exited with 127 running:
       createrepo /tmp/rpmrepo
      Last 10 lines of output were:
      	bash: createrepo: command not found>
      /usr/local/rvm/gems/ruby-1.9.3-p484/gems/beaker-2.3.0/lib/beaker/host.rb:286
      /usr/local/rvm/gems/ruby-1.9.3-p484/gems/beaker-2.3.0/lib/beaker/dsl/helpers.rb:88
      /usr/local/rvm/gems/ruby-1.9.3-p484/gems/beaker-2.3.0/lib/beaker/shared/host_manager.rb:95
      /usr/local/rvm/gems/ruby-1.9.3-p484/gems/beaker-2.3.0/lib/beaker/dsl/patterns.rb:32
      /usr/local/rvm/gems/ruby-1.9.3-p484/gems/beaker-2.3.0/lib/beaker/dsl/helpers.rb:78
      /var/lib/jenkins/workspace/platform_puppet-server_integration-system_full-master/LAYOUT/64mdca/PLATFORM/redhat7/label/beaker/ruby/puppet/acceptance/lib/puppet/acceptance/rpm_util.rb:18
      /var/lib/jenkins/workspace/platform_puppet-server_integration-system_full-master/LAYOUT/64mdca/PLATFORM/redhat7/label/beaker/ruby/puppet/acceptance/tests/resource/package/common_package_name_in_different_providers.rb:44
      /var/lib/jenkins/workspace/platform_puppet-server_integration-system_full-master/LAYOUT/64mdca/PLATFORM/redhat7/label/beaker/ruby/puppet/acceptance/tests/resource/package/common_package_name_in_different_providers.rb:42
      /var/lib/jenkins/workspace/platform_puppet-server_integration-system_full-master/LAYOUT/64mdca/PLATFORM/redhat7/label/beaker/ruby/puppet/acceptance/tests/resource/package/common_package_name_in_different_providers.rb:42
      /usr/local/rvm/gems/ruby-1.9.3-p484/gems/beaker-2.3.0/lib/beaker/test_case.rb:120
      /usr/local/rvm/gems/ruby-1.9.3-p484/gems/beaker-2.3.0/lib/beaker/test_case.rb:120
      /usr/local/rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295
      /usr/local/rvm/gems/ruby-1.9.3-p484/gems/beaker-2.3.0/lib/beaker/test_case.rb:117
      /usr/local/rvm/gems/ruby-1.9.3-p484/gems/beaker-2.3.0/lib/beaker/test_suite.rb:357
      /usr/local/rvm/gems/ruby-1.9.3-p484/gems/beaker-2.3.0/lib/beaker/test_suite.rb:354
      /usr/local/rvm/gems/ruby-1.9.3-p484/gems/beaker-2.3.0/lib/beaker/test_suite.rb:354
      /usr/local/rvm/gems/ruby-1.9.3-p484/gems/beaker-2.3.0/lib/beaker/test_suite.rb:396
      /usr/local/rvm/gems/ruby-1.9.3-p484/gems/beaker-2.3.0/lib/beaker/cli.rb:149
      /usr/local/rvm/gems/ruby-1.9.3-p484/gems/beaker-2.3.0/lib/beaker/cli.rb:95
      /usr/local/rvm/gems/ruby-1.9.3-p484/gems/beaker-2.3.0/bin/beaker:6
      /usr/local/rvm/gems/ruby-1.9.3-p484/bin/beaker:23
      /usr/local/rvm/gems/ruby-1.9.3-p484/bin/beaker:23
      /usr/local/rvm/gems/ruby-1.9.3-p484/bin/ruby_executable_hooks:15
      /usr/local/rvm/gems/ruby-1.9.3-p484/bin/ruby_executable_hooks:15
      

      This could be fixed by adding the dependencies to the pre_suite directory in puppet-server since puppet's code base is volatile due to AIO changes at the moment.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  jeff Jeff McCune
                  QA Contact:
                  Erik Dasher
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: