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

"Cannot allocate memory" in travis

    XMLWordPrintable

Details

    • CI Blocker
    • Status: Resolved
    • Normal
    • Resolution: Cannot Reproduce
    • SERVER 6.0.0
    • None
    • None
    • Froyo
    • Needs Assessment

    Description

      Puppetserver tests in travis are intermittently failing with errors like:

      2018-03-21 22:18:57,592 WARN  [clojure-agent-send-pool-0] [puppetserver] Facter Could not retrieve fact='hostname', resolution='<anonymous>': Failed while executing '/bin/hostname': Cannot allocate memory - /bin/hostname
      /home/travis/build/puppetlabs/puppetserver/ruby/facter/lib/facter/core/execution/base.rb:56:in `block in execute'
      /home/travis/build/puppetlabs/puppetserver/ruby/facter/lib/facter/core/execution/base.rb:14:in `with_env'
      /home/travis/build/puppetlabs/puppetserver/ruby/facter/lib/facter/core/execution/base.rb:36:in `execute'
      

      This seems to be due to the way Facter 2.x executes external programs. Since we ship with Facter 3, where this is believed to be fixed, we should just test with it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              patrick Patrick Carlisle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support