Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1458

SelfSignedX509CertificateAndSigningKeyTest.testSelfSignedCertificateWithStringExtensionValues fails on IBM JDK

    XMLWordPrintable

Details

    Description

      With IBM java

      java -version
      java version "1.8.0"
      Java(TM) SE Runtime Environment (build pxa6480sr4fp6-20170518_02(SR4 FP6))
      IBM J9 VM (build 2.8, JRE 1.8.0 Linux amd64-64 Compressed References 20170516_348050 (JIT enabled, AOT enabled)
      J9VM - R28_20170516_1905_B348050
      JIT  - tr.r14.java_20170516_348050
      GC   - R28_20170516_1905_B348050_CMPRSS
      J9CL - 20170516_348050)
      JCL - 20170516_01 based on Oracle jdk8u131-b11
      

      run test

       mvn test -Dtest=SelfSignedX509CertificateAndSigningKeyTest
      
      [INFO] Running org.wildfly.security.x500.cert.SelfSignedX509CertificateAndSigningKeyTest
      [ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.372 s <<< FAILURE! - in org.wildfly.security.x500.cert.SelfSignedX509CertificateAndSigningKeyTest
      [ERROR] testSelfSignedCertificateWithStringExtensionValues(org.wildfly.security.x500.cert.SelfSignedX509CertificateAndSigningKeyTest)  Time elapsed: 0.274 s  <<< FAILURE!
      java.lang.AssertionError
      	at org.wildfly.security.x500.cert.SelfSignedX509CertificateAndSigningKeyTest.testSelfSignedCertificateWithStringExtensionValues(SelfSignedX509CertificateAndSigningKeyTest.java:197)
      
      

      This is test line failing

      SelfSignedX509CertificateAndSigningKeyTest.java
              byte[] authorityInfoAccessExtension = certificate.getExtensionValue(X500.OID_PE_AUTHORITY_INFO_ACCESS);
              assertNotNull(authorityInfoAccessExtension);
      

      Attachments

        Activity

          People

            fjuma1@redhat.com Farah Juma
            mchoma@redhat.com Martin Choma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: