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

Puppet Server fails to build using AdoptOpenJDK11 with Openj9

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: SERVER 7.0.2
    • Fix Version/s: None
    • Component/s: Puppet Server
    • Labels:
      None
    • Environment:

      Ubuntu 18.04 on x86_64

    • Template:
      PUP Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet Version: 7.3.0
      Puppet Server Version: 7.0.2
      OS Name/Version: Ubuntu 18.04

      Desired Behavior: 

      The build should proceed successfully using AdoptJDK11 with openj9.

      Actual Behavior:

      The build failed with the log attached below.

      Steps to reproduce the issue:

      sudo apt-get update
      sudo apt-get install -y g++ tar git make wget locales locales-all unzip ruby-dev ant zip
      sudo -E env PATH="$PATH" gem install bundler rake-compiler
       
      cd ~
      wget https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.10%2B9_openj9-0.24.0/OpenJDK11U-jdk_x64_linux_openj9_11.0.10_9_openj9-0.24.0.tar.gz
      tar -xf OpenJDK11U-jdk_x64_linux_openj9_11.0.10_9_openj9-0.24.0.tar.gz
      export JAVA_HOME=~/jdk-11.0.10+9
      export PATH=$JAVA_HOME/bin:$PATH
       
      wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
      chmod +x lein
      sudo mv lein /usr/bin/
       
      git clone --recursive --branch 7.0.2 git://github.com/puppetlabs/puppetserver
      cd puppetserver
      export LANG="en_US.UTF-8" && ./dev-setup
      

      When following the same process with other JDK variants including OpenJDK11 and AdoptOpenJDK with hotspot, the build is successful. So the NullPointerException issue only arises with this particular JDK variant (AdoptJDK11 with openj9).

       It will be really helpful if we could support this JDK variant as it tends to provide better performance in general.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Sidong-Wei Sidong Wei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support