Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-5223

[CI] OpenJDK 9 install is failed

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Continuous Integration
    • Labels:
      None

      Description

      For example: https://travis-ci.org/apache/arrow/jobs/525438698

       

      Installing openjdk9
      $ export JAVA_HOME=~/openjdk9
      $ export PATH="$JAVA_HOME/bin:$PATH"
      $ ~/bin/install-jdk.sh --target "/home/travis/openjdk9" --workspace "/home/travis/.cache/install-jdk" --feature "9" --license "GPL" --cacerts
      install-jdk.sh 2019-04-18
      The command "~/bin/install-jdk.sh --target "/home/travis/openjdk9" --workspace "/home/travis/.cache/install-jdk" --feature "9" --license "GPL" --cacerts" failed and exited with 51 during .
      

      This is a Travis CI issue because the process is built-in Travis CI command.

      install-jdk.sh is here: https://github.com/sormuras/bach/blob/master/install-jdk.sh

      The root cause is the certificate of the download.java.net. download.java.net uses the certificate for download.oracle.net:

      % curl -v https://download.java.net
      ...
      * Server certificate:
      *  subject: C=US; ST=California; L=Redwood Shores; O=Oracle Corporation; OU=Content Management Services IT; CN=download.oracle.com
      *  start date: Oct  2 00:00:00 2018 GMT
      *  expire date: Sep 20 12:00:00 2019 GMT
      *  subjectAltName does not match download.java.net
      * SSL: no alternative certificate subject name matches target host name 'download.java.net'
      * Closing connection 0
      curl: (60) SSL: no alternative certificate subject name matches target host name 'download.java.net'
      More details here: https://curl.haxx.se/docs/sslcerts.html
      ...
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kou Sutou Kouhei
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: