[jboss-jira] [JBoss JIRA] (WFLY-3289) Intermittent failures in PassworkMaskingTestCase

Tomaz Cerar (JIRA) issues at jboss.org
Mon Mar 27 08:08:06 EDT 2017


     [ https://issues.jboss.org/browse/WFLY-3289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Cerar closed WFLY-3289.
-----------------------------
    Resolution: Out of Date


> Intermittent failures in PassworkMaskingTestCase
> ------------------------------------------------
>
>                 Key: WFLY-3289
>                 URL: https://issues.jboss.org/browse/WFLY-3289
>             Project: WildFly
>          Issue Type: Bug
>          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&buildTypeId=WFPR
> 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 at 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 was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list