]
Farah Juma resolved WFCORE-4007.
--------------------------------
Fix Version/s: 6.0.0.Alpha6
Resolution: Done
elytron.KeyStoresTestCase fails on IBM jdk
------------------------------------------
Key: WFCORE-4007
URL:
https://issues.jboss.org/browse/WFCORE-4007
Project: WildFly Core
Issue Type: Bug
Components: Security, Test Suite
Environment: {noformat}
$ java -version
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 8.0.5.17 - pxa6480sr5fp17-20180627_01(SR5 FP17))
IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20180626_390413
(JIT enabled, AOT enabled)
OpenJ9 - 5cdc604
OMR - a24bc01
IBM - 21870d6)
JCL - 20180619_01 based on Oracle jdk8u171-b11
$ git rev-parse --short HEAD
a8059b6232
{noformat}
Reporter: Petr Kremensky
Assignee: Farah Juma
Fix For: 6.0.0.Alpha6
org.wildfly.extension.elytron.KeyStoresTestCase from elytron module of wildfly-core fails
on IBM jdk.
*reproduce*
{noformat}
$ mvn test -Dtest=KeyStoresTestCase -pl elytron
...
[INFO] Running org.wildfly.extension.elytron.KeyStoresTestCase
[ERROR] Tests run: 27, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 23.836 s
<<< FAILURE! - in org.wildfly.extension.elytron.KeyStoresTestCase
[ERROR]
testObtainCertificateWithECPublicKey(org.wildfly.extension.elytron.KeyStoresTestCase)
Time elapsed: 2.263 s <<< FAILURE!
java.lang.AssertionError:
{
"outcome" : "failed",
"failure-description" : "WFLYCTL0158: Operation handler failed:
java.lang.RuntimeException: org.wildfly.security.x500.cert.acme.AcmeException: ELY10049:
Unable to download certificate chain from ACME server",
"rolled-back" : true
}
at
org.wildfly.extension.elytron.KeyStoresTestCase.assertSuccess(KeyStoresTestCase.java:170)
at
org.wildfly.extension.elytron.KeyStoresTestCase.obtainCertificate(KeyStoresTestCase.java:1043)
at
org.wildfly.extension.elytron.KeyStoresTestCase.testObtainCertificateWithECPublicKey(KeyStoresTestCase.java:1004)
[ERROR] testObtainCertificateWithKeySize(org.wildfly.extension.elytron.KeyStoresTestCase)
Time elapsed: 2.87 s <<< FAILURE!
java.lang.AssertionError:
{
"outcome" : "failed",
"failure-description" : "WFLYCTL0158: Operation handler failed:
java.lang.RuntimeException: org.wildfly.security.x500.cert.acme.AcmeException: ELY10049:
Unable to download certificate chain from ACME server",
"rolled-back" : true
}
at
org.wildfly.extension.elytron.KeyStoresTestCase.assertSuccess(KeyStoresTestCase.java:170)
at
org.wildfly.extension.elytron.KeyStoresTestCase.obtainCertificate(KeyStoresTestCase.java:1043)
at
org.wildfly.extension.elytron.KeyStoresTestCase.testObtainCertificateWithKeySize(KeyStoresTestCase.java:990)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]
KeyStoresTestCase.testObtainCertificateWithECPublicKey:1004->obtainCertificate:1043->assertSuccess:170
{
"outcome" : "failed",
"failure-description" : "WFLYCTL0158: Operation handler failed:
java.lang.RuntimeException: org.wildfly.security.x500.cert.acme.AcmeException: ELY10049:
Unable to download certificate chain from ACME server",
"rolled-back" : true
}
[ERROR]
KeyStoresTestCase.testObtainCertificateWithKeySize:990->obtainCertificate:1043->assertSuccess:170
{
"outcome" : "failed",
"failure-description" : "WFLYCTL0158: Operation handler failed:
java.lang.RuntimeException: org.wildfly.security.x500.cert.acme.AcmeException: ELY10049:
Unable to download certificate chain from ACME server",
"rolled-back" : true
}
[INFO]
[ERROR] Tests run: 27, Failures: 2, Errors: 0, Skipped: 0
{noformat}