Build scan: https://gradle-enterprise.elastic.co/s/plztmz7djijsu
Repro line: ./gradlew ':x-pack:plugin:searchable-snapshots:qa:hdfs:integTestSecure' --tests "org.elasticsearch.xpack.searchablesnapshots.hdfs.HdfsSearchableSnapshotsIT" -Dtests.security.manager=true -Druntime.java=16
Reproduces locally?: Yes
Applicable branches: 7.x, master
Failure history:
https://build-stats.elastic.co/app/kibana#/discover?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-90d,mode:quick,to:now))&_a=(columns:!(build.job-name,build.branch),index:b646ed00-7efc-11e8-bf69-63c8ef516157,interval:auto,query:(language:lucene,query:HdfsSearchableSnapshotsIT),sort:!(process.time-start,desc))
Failure excerpt:
[run]
"/var/lib/jenkins/.java/openjdk16/bin/java" "$@" > run.log 2>&1 ; if [ $? != 0 ]; then touch run.failed; fi
secureHdfsFixture output:
-----------------------------------------
failure marker exists: true
pid file exists: false
ports file exists: false
[log]
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Exception in thread "main" java.lang.IllegalArgumentException: Can't get Kerberos realm
at org.apache.hadoop.security.HadoopKerberosName.setConfiguration(HadoopKerberosName.java:65)
at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:296)
at org.apache.hadoop.security.UserGroupInformation.setConfiguration(UserGroupInformation.java:342)
at hdfs.MiniHDFS.main(MiniHDFS.java:99)
Caused by: java.lang.IllegalAccessException: class org.apache.hadoop.security.authentication.util.KerberosUtil cannot access class sun.security.krb5.Config (in module java.security.jgss) because module java.security.jgss does not export sun.security.krb5 to unnamed module @123a3fe3
at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:385)
at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:687)
at java.base/java.lang.reflect.Method.invoke(Method.java:559)
at org.apache.hadoop.security.authentication.util.KerberosUtil.getDefaultRealm(KerberosUtil.java:107)
at org.apache.hadoop.security.HadoopKerberosName.setConfiguration(HadoopKerberosName.java:63)
Build scan: https://gradle-enterprise.elastic.co/s/plztmz7djijsu
Repro line:
./gradlew ':x-pack:plugin:searchable-snapshots:qa:hdfs:integTestSecure' --tests "org.elasticsearch.xpack.searchablesnapshots.hdfs.HdfsSearchableSnapshotsIT" -Dtests.security.manager=true -Druntime.java=16Reproduces locally?: Yes
Applicable branches: 7.x, master
Failure history:
https://build-stats.elastic.co/app/kibana#/discover?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-90d,mode:quick,to:now))&_a=(columns:!(build.job-name,build.branch),index:b646ed00-7efc-11e8-bf69-63c8ef516157,interval:auto,query:(language:lucene,query:HdfsSearchableSnapshotsIT),sort:!(process.time-start,desc))
Failure excerpt: