Bug 1311443 - Error while executing tests on RichFaces-Showcase sample application
Error while executing tests on RichFaces-Showcase sample application
Status: CLOSED NOTABUG
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: RichFaces (Show other bugs)
6.3.2
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: jboss-set
Marek Schmidt
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-24 04:36 EST by deepalic
Modified: 2016-06-17 17:09 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-02-24 07:37:26 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Test Case error log (380.82 KB, text/plain)
2016-02-24 04:36 EST, deepalic
no flags Details
RichFaces-ShowCasesTestFailurePPC (5.22 MB, text/plain)
2016-02-24 04:38 EST, deepalic
no flags Details

  None (edit)
Description deepalic 2016-02-24 04:36:52 EST
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 04:38 EST
Created attachment 1130114 [details]
RichFaces-ShowCasesTestFailurePPC
Comment 2 Ivo Studensky 2016-02-24 07:37:26 EST
Please don't file issues for EAP in Red Hat Bugzilla directly. Contact our Support team instead. Thanks.

Note You need to log in before you can comment on or make changes to this bug.