Bug 1311443

Summary: Error while executing tests on RichFaces-Showcase sample application
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: deepalic <deepali>
Component: RichFacesAssignee: jboss-set
Status: CLOSED NOTABUG QA Contact: Marek Schmidt <maschmid>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3.2CC: bleathem, istudens
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-24 12:37:26 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:
Attachments:
Description Flags
Test Case error log
none
RichFaces-ShowCasesTestFailurePPC none

Description deepalic 2016-02-24 09:36:52 UTC
Created attachment 1130113 [details]
Test Case error log

Description of problem:
While xecuting tests on RichFaces-showcase application, 2 tests are failing in x86 environment. 


Version-Release number of selected component (if applicable):
EAP v6.3.2
RichFaces showcase sample extracted from jboss-wfk-2.7.0-richfaces-demo.zip

How reproducible:
consistent

Steps to Reproduce:
1.Download and extract jboss-wfk-2.7.0-richfaces-demo.zip
2. Configure required maven repo and Start EAP.
3. Execute the command mvn verify -Dintegration=jbosseap63-remote from the richfaces-showcases sample folder. 
4. The tests show failure. 

Actual results:
Two tests fail. The test case log is like:
-------------------------------------------------------------------------------
Test set: org.richfaces.showcase.inplaceInput.ITestInplaceInput
-------------------------------------------------------------------------------
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 20.949 sec <<< FAILURE! - in org.richfaces.showcase.inplaceInput.ITestInplaceInput
testEnterSomethingToNameInput(org.richfaces.showcase.inplaceInput.ITestInplaceInput)  Time elapsed: 8.348 sec  <<< FAILURE!
org.junit.ComparisonFailure: The value in the input is not what have been typed there! expected:<[Test string]> but was:<[click to enter your name]>
        at org.junit.Assert.assertEquals(Assert.java:115)
        at org.richfaces.showcase.inplaceInput.ITestInplaceInput.enterSomethingToInputAndCheck(ITestInplaceInput.java:66)
        at org.richfaces.showcase.inplaceInput.ITestInplaceInput.testEnterSomethingToNameInput(ITestInplaceInput.java:49)

testEnterSomethingToEmail(org.richfaces.showcase.inplaceInput.ITestInplaceInput)  Time elapsed: 2.714 sec  <<< FAILURE!
org.junit.ComparisonFailure: The value in the input is not what have been typed there! expected:<[Test string]> but was:<[click to enter your email]>
        at org.junit.Assert.assertEquals(Assert.java:115)
        at org.richfaces.showcase.inplaceInput.ITestInplaceInput.enterSomethingToInputAndCheck(ITestInplaceInput.java:66)
        at org.richfaces.showcase.inplaceInput.ITestInplaceInput.testEnterSomethingToEmail(ITestInplaceInput.java:54)


Expected results:
All tests should pass.

Additional info:
I have also tried executing tests on RHEL PPC machine, and almost all tests fail on it. Attaching the log taken on PPC as well.

Comment 1 deepalic 2016-02-24 09:38:08 UTC
Created attachment 1130114 [details]
RichFaces-ShowCasesTestFailurePPC

Comment 2 Ivo Studensky 2016-02-24 12:37:26 UTC
Please don't file issues for EAP in Red Hat Bugzilla directly. Contact our Support team instead. Thanks.