Brian Stansberry created WFLY-3289:
--------------------------------------
Summary: Intermittent failures in PassworkMaskingTestCase
Key: WFLY-3289
URL:
https://issues.jboss.org/browse/WFLY-3289
Project: WildFly
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Security, Test Suite
Affects Versions: 8.1.0.CR1
Reporter: Brian Stansberry
Assignee: Peter Skopek
PasswordMaskingTestCase fails intermittently. See, for example,
http://brontes.lab.eng.brq.redhat.com/viewLog.html?buildId=14404&buil...
The log shows this:
05:55:56,496 ERROR [org.jboss.as.arquillian.container.ServerSetupObserver] (main) Setup
task failed during setup. Offending class
'org.jboss.as.test.integration.security.passwordmasking.PasswordMaskingTestCase$PasswordMaskingTestCaseSetup@4b584d':
java.lang.RuntimeException: Problem creating VaultSession:
at
org.jboss.as.test.integration.security.common.VaultHandler.<init>(VaultHandler.java:168)
at
org.jboss.as.test.integration.security.common.VaultHandler.<init>(VaultHandler.java:180)
at
org.jboss.as.test.integration.security.common.VaultHandler.<init>(VaultHandler.java:188)
at
org.jboss.as.test.integration.security.passwordmasking.PasswordMaskingTestCase$PasswordMaskingTestCaseSetup.setup(PasswordMaskingTestCase.java:91)
at
org.jboss.as.arquillian.container.ServerSetupObserver.handleBeforeDeployment(ServerSetupObserver.java:116)
at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
. . .
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: java.lang.Exception: Exception encountered:
at org.jboss.as.security.vault.VaultSession.initSecurityVault(VaultSession.java:173)
at org.jboss.as.security.vault.VaultSession.startVaultSession(VaultSession.java:191)
at
org.jboss.as.test.integration.security.common.VaultHandler.<init>(VaultHandler.java:166)
... 103 more
Caused by: org.jboss.security.vault.SecurityVaultException:
javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting
with padded cipher
at
org.picketbox.plugins.vault.PicketBoxSecurityVault.init(PicketBoxSecurityVault.java:210)
at org.jboss.as.security.vault.VaultSession.initSecurityVault(VaultSession.java:170)
... 105 more
Caused by: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when
decrypting with padded cipher
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:750)
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:676)
at com.sun.crypto.provider.PBECipherCore.doFinal(PBECipherCore.java:422)
at
com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineDoFinal(PBEWithMD5AndDESCipher.java:316)
at javax.crypto.Cipher.doFinal(Cipher.java:2087)
at org.jboss.security.plugins.PBEUtils.decode(PBEUtils.java:72)
at org.jboss.security.plugins.PBEUtils.decode64(PBEUtils.java:81)
at
org.picketbox.plugins.vault.PicketBoxSecurityVault.decode(PicketBoxSecurityVault.java:362)
at
org.picketbox.plugins.vault.PicketBoxSecurityVault.loadKeystorePassword(PicketBoxSecurityVault.java:339)
at
org.picketbox.plugins.vault.PicketBoxSecurityVault.init(PicketBoxSecurityVault.java:204)
... 106 more
Per discussion at
http://lists.jboss.org/pipermail/wildfly-dev/2014-April/002064.html I am
going to @Ignore this test and it is subject to being removed 3 weeks after 8.1.0.Final if
not corrected.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira