Bug 1105003
Summary: | (6.4.z) [QE] org.jboss.as.test.manualmode.management.cli.VaultPasswordsInCLITestCase.testRightVaultPassword fails mainly on Solaris SPARC due to unexpected logs in CLI output | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Pavel Jelinek <pjelinek> | ||||
Component: | Testsuite | Assignee: | Petr Kremensky <pkremens> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Kremensky <pkremens> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.3.0 | CC: | bbaranow, cdewolf, jawilson, jpallich, pkremens | ||||
Target Milestone: | CR2 | ||||||
Target Release: | EAP 6.4.1 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: |
Solaris SPARC
|
|||||
Last Closed: | 2017-01-17 09:57:57 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1207953 | ||||||
Attachments: |
|
Description
Pavel Jelinek
2014-06-05 08:00:14 UTC
At the beggining of this issue there is inability of prepareServer() method to reload server using CustomCLIExecutor. Seen also on EAP 6.3.1.CP.CR1 RHEL6, ibm jdk6, security manager enabled https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-63x-patched-testsuite-secman-rhel/jdk=ibm1.6,label_exp=eap-sustaining%20&&%20RHEL6%20&&%20x86_64/2/testReport/junit/org.jboss.as.test.manualmode.management.cli/VaultPasswordsInCLITestCase/testRightVaultPassword/ Solaris11-sparc, oracle jdk6 https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-63x-patched-testsuite-solaris/3/jdk=jdk1.6,label_exp=solaris11%20&&%20sparc/testReport/org.jboss.as.test.manualmode.management.cli/VaultPasswordsInCLITestCase/testRightVaultPassword/ This one still occurs from time to time on any platform (not a Solaris only issue as reported originally) 6.4.0.ER2: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-6x-as-testsuite-rhel/51/RELEASE=6.4.0,jdk=ibm1.6,label_exp=eap-sustaining%20&&%20RHEL5%20&&%20x86/testReport/junit/org.jboss.as.test.manualmode.management.cli/VaultPasswordsInCLITestCase/resetConfigurationForNativeInterface/ This one is caused by hard coded 5 sec timeout in CustomCLIExecutor which is not enough (in our testing environment). private static final int CLI_PROC_TIMEOUT = 5000; ... if (runningTime >= CLI_PROC_TIMEOUT) { readStream(cliOutBuf, cliStream); cliProc.destroy(); wait = false; } this causes the failures like as management operation didn't finish by the time: java.lang.AssertionError: Password should be right and authentication successful Expected: a string containing "\"outcome\" => \"success\"" but: was "0: INFO [org.jboss.modules] JBoss Modules version 1.3.6.Final-redhat-1 INFO [org.jboss.security] PBOX000361: Default Security Vault Implementation Initialized and Ready INFO [org.xnio] XNIO Version 3.0.13.GA-redhat-1 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.13.GA-redhat-1 INFO [org.jboss.remoting] JBoss Remoting version 3.3.4.Final-redhat-1 " at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.junit.Assert.assertThat(Assert.java:865) at org.jboss.as.test.manualmode.management.cli.VaultPasswordsInCLITestCase.testRightVaultPassword(VaultPasswordsInCLITestCase.java:153) Increasing the timeout and adding --timeout to command should solve this. Re-acking after "qa_ack flag reset for and jboss-eap-6.4.0 and jboss-eap-6.4.z items" cleanup. Verified on EAP 6.4.1.CP.CR2 Tomaz Cerar <tomaz.cerar> updated the status of jira WFLY-3778 to Resolved Retroactively bulk-closing issues from released EAP 6.4 cummulative patches. |