OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Updated] (ATLAS-2642) IT failures in CredentialProviderUtilityIT (after recent JDK update?)


     [ https://issues.apache.org/jira/browse/ATLAS-2642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Madhan Neethiraj updated ATLAS-2642:
------------------------------------
    Attachment: ATLAS-2642-disabled-4-ITs-in-CredentialProviderUtili.patch

> IT failures in CredentialProviderUtilityIT (after recent JDK update?)
> ---------------------------------------------------------------------
>
>                 Key: ATLAS-2642
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2642
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 1.0.0
>            Reporter: Madhan Neethiraj
>            Priority: Major
>         Attachments: ATLAS-2642-disabled-4-ITs-in-CredentialProviderUtili.patch
>
>
> 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.
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)