Kouhei Sutou created ARROW-5223:
-----------------------------------

             Summary: [CI] OpenJDK 9 install is failed
                 Key: ARROW-5223
                 URL: https://issues.apache.org/jira/browse/ARROW-5223
             Project: Apache Arrow
          Issue Type: Test
          Components: Continuous Integration
            Reporter: Kouhei Sutou


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

 {noformat}
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 .
{noformat}

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:

{noformat}
% 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
...
{noformat}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to