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

Investigate OSX facter.jar problems

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Platform OS
    • Story Points:
      2

      Description

      puppet-agent osx builds have been intermittently failing with the following error:

      No Java runtime present, requesting install.
      2015-06-23 11:22:09.846 javac[24695:507] JLRequestRuntimeInstall: Error calling: CFMessagePortCreateRemote
      make[3]: *** [lib/CMakeFiles/facter-jruby.dir/java_compiled_facter-jruby] Error 1
      make[2]: *** [lib/CMakeFiles/facter-jruby.dir/all] Error 2
      make[2]: *** Waiting for unfinished jobs....
      Linking CXX static library ../../../lib/libleatherman_locale.a

      The no runtime bit is interesting, because osx does install java during provisioning via brew.

      It would be good to know why this is happening and what we can do about it.

      Notes from installing Caskroom/cask/java:

      $ brew cask install java
      ==> Caveats
      This Cask makes minor modifications to the JRE to prevent issues with
      packaged applications, as discussed here:
       
        https://bugs.eclipse.org/bugs/show_bug.cgi?id=411361
       
      If your Java application still asks for JRE installation, you might need
      to reboot or logout/login.
       
      Installing this Cask means you have AGREED to the Oracle Binary Code
      License Agreement for Java SE at
       
        http://www.oracle.com/technetwork/java/javase/terms/license/index.html
       
      ==> Downloading http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-macosx-x64.dmg
      ######################################################################## 100.0%
      ==> Running installer for java; your password may be necessary.
      ==> Package installers may write to any location; options such as --appdir are ignored.
      ==> installer: Package name is JDK 8 Update 45
      ==> installer: Installing at base path /
      ==> installer: The install was successful.
      🍺  java staged at '/opt/homebrew-cask/Caskroom/java/1.8.0_45' (2 files, 222M)
      

      As a temporary measure, building facter.jar was disabled on OS X (FACT-1053). This negates the ability to run puppetserver using a puppet-agent package on OS X.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              matthaus Past Haus
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support