Bug 1071906

Summary: [QE] (6.2.x) Intermittent OOM PermGen space running basic-integration-default-web.surefire EAP tests on OracleJDK 1.6 64bit
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Pavel Jelinek <pjelinek>
Component: TestsuiteAssignee: Pavel Jelinek <pjelinek>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Jelinek <pjelinek>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.1CC: cdewolf, kkhan, rdickens, smumford
Target Milestone: CR2   
Target Release: EAP 6.2.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1032621 Environment:
Last Closed: 2014-06-09 12:46:19 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: 1032621    
Bug Blocks:    

Description Pavel Jelinek 2014-03-03 12:44:01 UTC
+++ This bug was initially created as a clone of Bug #1032621 +++

Related issue https://bugzilla.redhat.com/show_bug.cgi?id=1026812 which particulary was fixed, but we are now still facing OOM on 64bit OracleJDK 1.6 in basic tests. 

See e.g.: 

https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-AS-Testsuite/job/eap-60-as-testsuite-RHEL-matrix-OracleJDK6/jdk=java16_default,label_exp=RHEL5%26%26x86_64/116/consoleFull

https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-AS-Testsuite/job/eap-60-as-testsuite-RHEL-matrix-OracleJDK6/jdk=java16_default,label_exp=RHEL6%26%26x86_64/116/consoleFull

--- Additional comment from Pavel Jelinek on 2013-12-03 09:46:55 EST ---

Workaround is to increase default PermGen size for forked surefire JVM at least for basic tests. 
One of the easiest ways can be 
sed -i 's|<argLine>${jvm.args.ip.client} ${jvm.args.timeouts}</argLine>|<argLine>${jvm.args.ip.client} ${jvm.args.timeouts} -XX:MaxPermSize=128m</argLine>|' "${WORKSPACE}/jboss-eap-6.2-src/testsuite/integration/pom.xml"

--- Additional comment from Pavel Jelinek on 2014-01-20 05:00:13 EST ---

6.2.x PR: https://github.com/jbossas/jboss-eap/pull/838

Comment 1 Pavel Jelinek 2014-05-05 15:04:31 UTC
Verified for EAP 6.2.3.CP.CR2.

Comment 2 Scott Mumford 2014-05-23 05:22:21 UTC
Marking as not requiring release note as per Bug #1032621