Bug 828808

Summary: Errai: Detect multiple marshalling definition collisions
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Karel Piwko <kpiwko>
Component: ErraiAssignee: Pavel SLegr <pslegr>
Status: CLOSED CURRENTRELEASE QA Contact: Karel Piwko <kpiwko>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.0.0.ER7CC: cbrock, csadilek, jfuerth, kpiwko, pslegr
Target Milestone: ---   
Target Release: 2.0.0.ER8   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
RHEL6 64bits
Last Closed: 2012-06-22 07:32:32 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
Complete junit report. none

Description Karel Piwko 2012-06-05 12:19:56 UTC
Created attachment 589514 [details]
Complete junit report.

Description of problem:

Execution of integration tests from Errai sources fails with 70 errors. 
These errors can be divided into two packages:

* org.jboss.errai.bus.client.tests.SerializationTests
* org.jboss.errai.cdi.rpc.client.test.RpcIntegrationTest

Full log attached. Further analysis:

All the issues seems to be caused by following exception:

Caused by: java.lang.IllegalStateException: Already finished
...

I guess this is execution problem, so marking as medium severity. Please let me know if my configuration has to be changed.

Note: executed via:

mvn -Pintegration-test
clean
verify
-Dorg.jboss.errai.bus.do_long_poll=false
-Dmaven.test.failure.ignore=true
-s /home/kpiwko/devel/wfk/wfk-tools/settings.xml

Comment 1 Karel Piwko 2012-06-07 08:48:34 UTC
I updated job execution as Christian suggested. I'm still not able to get a clean run though, experiencing exception shown above:

java.lang.IllegalStateException: Already finished
	at org.jboss.errai.common.client.api.tasks.ClientTaskManager$ClientAsyncTask.finishUp(ClientTaskManager.java:140)
	at org.jboss.errai.common.client.api.tasks.ClientTaskManager$ClientAsyncTask.cancel(ClientTaskManager.java:115)
	at org.jboss.errai.common.client.api.extension.InitVotes.beginInit(InitVotes.java:201)
	at org.jboss.errai.common.client.api.extension.InitVotes.waitFor(InitVotes.java:108)
	at org.jboss.errai.common.client.api.extension.InitVotes.waitFor(InitVotes.java:98)
	at org.jboss.errai.bus.client.framework.ClientMessageBusImpl.registerInitVoteCallbacks(ClientMessageBusImpl.java:720)
	at org.jboss.errai.bus.client.framework.ClientMessageBusImpl.init(ClientMessageBusImpl.java:738)
	at org.jboss.errai.bus.client.tests.AbstractErraiTest.gwtSetUp(AbstractErraiTest.java:97)
	at org.jboss.errai.ioc.client.test.AbstractErraiIOCTest.gwtSetUp(AbstractErraiIOCTest.java:29)

Comment 2 Christian Sadilek 2012-06-07 17:05:33 UTC
This is a good catch and helped us identify an intermittent problem. It should be fixed now.

JIRA: https://issues.jboss.org/browse/ERRAI-316

Commit: https://github.com/errai/errai/commit/4fc7c45131bd499fa3e494821a798a61d6e2a75c

Comment 4 Karel Piwko 2012-06-13 11:10:06 UTC
Verified execution in ER8 no longer spawns this problem.

Comment 6 JBoss JIRA Server 2012-10-19 20:08:19 UTC
Christian Sadilek <csadilek> updated the status of jira ERRAI-316 to Closed