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

IBM failing test CompatibilityClientTest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.7.0.CR3
    • 1.7.0.CR2
    • Testsuite
    • None

      On ibm java

      08:56:01 + java -version
      08:56:02 java version "1.8.0_181"
      08:56:02 Java(TM) SE Runtime Environment (build 8.0.5.22 - pxa6480sr5fp22-20180919_01(SR5 FP22))
      08:56:02 IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20180915_397057 (JIT enabled, AOT enabled)
      08:56:02 OpenJ9   - 6c152c2
      08:56:02 OMR      - 15647c3
      08:56:02 IBM      - d734883)
      08:56:02 JCL - 20180821_01 based on Oracle jdk8u181-b12
      

      I see error

      09:12:38 org.wildfly.security.sasl.digest.CompatibilityClientTest  Time elapsed: 1.31 sec  <<< ERROR!
      09:12:38 org.wildfly.security.credential.store.CredentialStoreException: ELY09514: Unable to initialize credential store
      09:12:38 	at org.wildfly.security.credential.store.impl.KeyStoreCredentialStore.load(KeyStoreCredentialStore.java:871)
      09:12:38 	at org.wildfly.security.credential.store.impl.KeyStoreCredentialStore.initialize(KeyStoreCredentialStore.java:213)
      09:12:38 	at org.wildfly.security.credential.store.CredentialStoreBuilder.build(CredentialStoreBuilder.java:124)
      09:12:38 	at org.wildfly.security.sasl.digest.CompatibilityClientTest.setupCredentialStore(CompatibilityClientTest.java:98)
      09:12:38 Caused by: java.io.IOException: com.sun.crypto.provider.SealedObjectForKeyProtector
      09:12:38 	at java.security.KeyStore.load(KeyStore.java:1456)
      09:12:38 	at org.wildfly.security.credential.store.impl.KeyStoreCredentialStore.load(KeyStoreCredentialStore.java:859)
      09:12:38 	... 3 more
      

      SealedObjectForKeyProtector exception is seen on IBM when keystore is created with nonIBM java. Which makes me think problem can be testsuite is run twice with -Djava8.home. Which is way we use to test with ibm 8 jdk. So probably credential store from previous run is used in run with ibm java.

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

                Created:
                Updated:
                Resolved: