Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-2642

IT failures in CredentialProviderUtilityIT (after recent JDK update?)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0
    • None
    • atlas-core
    • None

    Description

      Following ITs started failing with "java.io.IOException: Invalid secret key format" after recent JDK update from 1.8.0_152 to 1.8.0_172:

      • CredentialProviderUtilityIT.testEnterEmptyValues:138
      • CredentialProviderUtilityIT.testEnterMismatchedValues:192
      • CredentialProviderUtilityIT.testEnterValidValues:76
      • CredentialProviderUtilityIT.testOverwriteValues:251

      Until these failures are investigated and fixed, the tests should be disabled - to help validate other commits.

      Tests run: 126, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 168.465 sec <<< FAILURE! - in TestSuite
      testEnterEmptyValues(org.apache.atlas.CredentialProviderUtilityIT)  Time elapsed: 0.836 sec  <<< FAILURE!
      java.io.IOException: Invalid secret key format
          at com.sun.crypto.provider.JceKeyStore.engineLoad(JceKeyStore.java:856)
          at java.security.KeyStore.load(KeyStore.java:1445)
          at org.apache.hadoop.security.alias.AbstractJavaKeyStoreProvider.<init>(AbstractJavaKeyStoreProvider.java:106)
          at org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:49)
          at org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:41)
          at org.apache.hadoop.security.alias.JavaKeyStoreProvider$Factory.createProvider(JavaKeyStoreProvider.java:100)
          at org.apache.hadoop.security.alias.CredentialProviderFactory.getProviders(CredentialProviderFactory.java:58)
          at org.apache.atlas.CredentialProviderUtilityIT.testEnterEmptyValues(CredentialProviderUtilityIT.java:138)
      
      testEnterMismatchedValues(org.apache.atlas.CredentialProviderUtilityIT)  Time elapsed: 0.656 sec  <<< FAILURE!
      java.io.IOException: Invalid secret key format
          at com.sun.crypto.provider.JceKeyStore.engineLoad(JceKeyStore.java:856)
          at java.security.KeyStore.load(KeyStore.java:1445)
          at org.apache.hadoop.security.alias.AbstractJavaKeyStoreProvider.<init>(AbstractJavaKeyStoreProvider.java:106)
          at org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:49)
          at org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:41)
          at org.apache.hadoop.security.alias.JavaKeyStoreProvider$Factory.createProvider(JavaKeyStoreProvider.java:100)
          at org.apache.hadoop.security.alias.CredentialProviderFactory.getProviders(CredentialProviderFactory.java:58)
          at org.apache.atlas.CredentialProviderUtilityIT.testEnterMismatchedValues(CredentialProviderUtilityIT.java:192)
      
      testEnterValidValues(org.apache.atlas.CredentialProviderUtilityIT)  Time elapsed: 0.641 sec  <<< FAILURE!
      java.io.IOException: Invalid secret key format
          at com.sun.crypto.provider.JceKeyStore.engineLoad(JceKeyStore.java:856)
          at java.security.KeyStore.load(KeyStore.java:1445)
          at org.apache.hadoop.security.alias.AbstractJavaKeyStoreProvider.<init>(AbstractJavaKeyStoreProvider.java:106)
          at org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:49)
          at org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:41)
          at org.apache.hadoop.security.alias.JavaKeyStoreProvider$Factory.createProvider(JavaKeyStoreProvider.java:100)
          at org.apache.hadoop.security.alias.CredentialProviderFactory.getProviders(CredentialProviderFactory.java:58)
          at org.apache.atlas.CredentialProviderUtilityIT.testEnterValidValues(CredentialProviderUtilityIT.java:76)
      
      testOverwriteValues(org.apache.atlas.CredentialProviderUtilityIT)  Time elapsed: 0.654 sec  <<< FAILURE!
      java.io.IOException: Invalid secret key format
          at com.sun.crypto.provider.JceKeyStore.engineLoad(JceKeyStore.java:856)
          at java.security.KeyStore.load(KeyStore.java:1445)
          at org.apache.hadoop.security.alias.AbstractJavaKeyStoreProvider.<init>(AbstractJavaKeyStoreProvider.java:106)
          at org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:49)
          at org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:41)
          at org.apache.hadoop.security.alias.JavaKeyStoreProvider$Factory.createProvider(JavaKeyStoreProvider.java:100)
          at org.apache.hadoop.security.alias.CredentialProviderFactory.getProviders(CredentialProviderFactory.java:58)
          at org.apache.atlas.util.CredentialProviderUtility.getCredentialProvider(CredentialProviderUtility.java:150)
          at org.apache.atlas.util.CredentialProviderUtility.main(CredentialProviderUtility.java:75)
          at org.apache.atlas.CredentialProviderUtilityIT.testOverwriteValues(CredentialProviderUtilityIT.java:251)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            madhan Madhan Neethiraj
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: