[
https://issues.apache.org/jira/browse/KNOX-658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15123563#comment-15123563
]
Sumit Gupta commented on KNOX-658:
----------------------------------
After fixing the JAXB related test failure, one more failure remains. This is
in the secure test suite and is due to an error in a dependent library for
miniKDC.
java.security.cert.CertificateException: Subject class type invalid.
at sun.security.x509.X509CertInfo.setSubject(X509CertInfo.java:888)
at sun.security.x509.X509CertInfo.set(X509CertInfo.java:415)
at
org.apache.hadoop.security.ssl.KeyStoreTestUtil.generateCertificate(KeyStoreTestUtil.java:96)
at
org.apache.hadoop.security.ssl.KeyStoreTestUtil.setupSSLConfig(KeyStoreTestUtil.java:267)
at
org.apache.hadoop.security.ssl.KeyStoreTestUtil.setupSSLConfig(KeyStoreTestUtil.java:223)
at
org.apache.hadoop.gateway.SecureClusterTest.initKdc(SecureClusterTest.java:129)
at
org.apache.hadoop.gateway.SecureClusterTest.setupSuite(SecureClusterTest.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at
com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:74)
at
com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:211)
at
com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
There is also an effort in the hadoop common to support Java 8 that can be
tracked:
https://issues.apache.org/jira/browse/HADOOP-11090
> Complete build with tests fails with jdk 8
> ------------------------------------------
>
> Key: KNOX-658
> URL: https://issues.apache.org/jira/browse/KNOX-658
> Project: Apache Knox
> Issue Type: Bug
> Components: Build
> Affects Versions: 0.8.0
> Reporter: Sumit Gupta
> Assignee: Sumit Gupta
> Fix For: 0.8.0
>
>
> On doing an 'ant verify' or 'mvn -Prelease clean install' when using jdk 8
> the following error occurs :
> [exec] Failed tests:
> [exec] GatewayBasicFuncTest.testServiceTestAPI:3520 1 expectation
> failed.
> [exec] Response body doesn't match expectation.
> [exec] Expected: a string containing "<httpCode>200"
> [exec] Actual: <?xml version="1.0" encoding="UTF-8"?>
> [exec] <serviceTestWrapper>
> [exec] <Tests/>
> [exec] <messages/>
> [exec] </serviceTestWrapper>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)