Bug 778109 (SOA-620)

Summary: org.drools.agent.RuleAgentTest.testDirectory fails on windows on jrockit
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Jaroslaw Kijanowski <kijanowski>
Component: JBoss RulesAssignee: Mark Little <mark.little>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.2 CP02, 4.3 IR1CC: lpetrovi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-620
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 778110 (view as bug list) Environment:
Win2k3 R2 Std Ed (i386 and x86_64 - soa5/7) BEA JRockit(R) (build R27.5.0-110-94909-1.5.0_14-20080204-1558-windows-ia32, compiled mode)
Last Closed: 2009-05-21 10:41:33 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:

Description Jaroslaw Kijanowski 2008-07-08 09:46:19 UTC
Date of First Response: 2008-07-08 16:05:55
project_key: SOA

One test fails (it runs fine on unix/jrockit and on windows/jdk):

http://hudson.qa.jboss.com/hudson/view/SOA-Release/job/soa42-rules-tag-os-bea15/jdk=jrockit15,label=soa7-win/4/testReport/org.drools.agent/RuleAgentTest/testDirectory/
http://hudson.qa.jboss.com/hudson/view/SOA-Release/job/soa42-rules-tag-os-bea15/jdk=jrockit15,label=soa5-win/4/testReport/org.drools.agent/RuleAgentTest/testDirectory/

org.drools.agent.RuleAgentTest.testDirectory
junit.framework.AssertionFailedError: expected:<1> but was:<3>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:282)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:201)
	at junit.framework.Assert.assertEquals(Assert.java:207)
	at org.drools.agent.RuleAgentTest.testDirectory(RuleAgentTest.java:252)


Moreover only 461 tests are run, any idea what happened to the rest?

http://hudson.qa.jboss.com/hudson/view/SOA-Release/job/soa42-rules-tag-os-bea15/jdk=jrockit15,label=soa5-win/4/testReport/
http://hudson.qa.jboss.com/hudson/view/SOA-Release/job/soa42-rules-tag-os-bea15/jdk=jrockit15,label=soa7-win/4/testReport/

Comment 1 Mark Little 2008-07-08 20:05:55 UTC
If this is a Drools issue then please create cross link in the Drools project.

Comment 2 Jaroslaw Kijanowski 2008-07-09 12:43:35 UTC
Link: Added: This issue is related to JBRULES-1670


Comment 4 Lukáš Petrovický 2008-09-22 11:03:55 UTC
Could it be that this is already fixed? Latest SOA-P 4.3 IR4 tests didn't show this problem. See for yourself:

http://hudson.qa.jboss.com/hudson/view/SOA-Release/job/soa43-rules-os-bea15_win/3/testReport/

Comment 5 Jaroslaw Kijanowski 2008-09-22 11:23:52 UTC
soa43-rules-os-bea15_win runs the drools testsuite against the SOA-P bits
OTOH http://hudson.qa.jboss.com/hudson/view/SOA-Release/job/soa43-rules-tag-os-bea15_win/ runs the drools testsuite against the drools tag which is used in SOA-P - a little bit strange that it fails - maybe jbossrules/soa_tags/4.3.0.GA_IR1 is not the tag used in SOA-P?

Comment 6 Mark Little 2009-05-21 10:41:33 UTC
Not a tier supported JDK.