Bug 724342 (BRMS-287) - Unexpected test failures on IBM JDK 6
Summary: Unexpected test failures on IBM JDK 6
Keywords:
Status: CLOSED UPSTREAM
Alias: BRMS-287
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRE (Expert, Fusion)
Version: 5.0.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: BRMS 5.2.0.GA
Assignee: Nobody
QA Contact:
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-30 13:00 UTC by Lukáš Petrovický
Modified: 2025-02-10 03:13 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:13:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-287 0 Major Closed Unexpected test failures on IBM JDK 6 2014-02-27 20:07:11 UTC
Red Hat Issue Tracker JBRULES-2464 0 Major Resolved Unexpected test failures on IBM JDK 6 2014-02-27 20:07:11 UTC

Description Lukáš Petrovický 2010-03-30 13:00:04 UTC
Affects: Release Notes
Date of First Response: 2010-03-31 11:05:52
securitylevel_name: Public

In the following test run on Hudson, the Drools test suite revealed some problems in running with IBM JDK 6: 

http://hudson.qa.jboss.com/hudson/view/BRMS/job/brms-rules-matrix/20/ (see the ibm16 column)

Some of the listed failures are to be expected, so there is a (much shorter) list of those that only occur on IBM JDK 6:

>>><<< org.drools.base.BaseClassFieldAccessorFactoryTest.testAbstract 
>>><<< org.drools.guvnor.client.modeldriven.SuggestionCompletionEngineTest(ECLIPSE).testCompletions 
>>><<< org.drools.guvnor.client.modeldriven.SuggestionCompletionEngineTest(JANINO).testCompletions 
>>><<< org.drools.integrationtests.ProcessMarchallingTest(ECLIPSE).test3 
>>><<< org.drools.integrationtests.ProcessMarchallingTest(JANINO).test3 
>>><<< org.drools.integrationtests.TruthMaintenanceTest(ECLIPSE).testLogicalInsertionsDynamicRule 
>>><<< org.drools.integrationtests.TruthMaintenanceTest(JANINO).testLogicalInsertionsDynamicRule

Comment 1 Lukáš Petrovický 2010-03-30 13:07:32 UTC
Link: Added: This issue depends JBRULES-2464


Comment 2 Anne-Louise Tangring 2010-03-31 15:05:52 UTC
We need to document all issues we find for BRMS 5.0.2.

Comment 3 Anne-Louise Tangring 2010-03-31 15:05:52 UTC
Affects: Added: [Release Notes]


Comment 4 Edson Tirelli 2010-04-01 16:31:28 UTC
Assigning tickets to Toni as he handles BRMS issues AFAIK. I handle core/compiler/fusion issues.

Comment 5 Dana Mison 2010-10-27 03:05:50 UTC
Release Notes Text: Added: test


Comment 6 Dana Mison 2010-10-27 03:13:07 UTC
Release Notes Text: Removed: test 


Comment 7 David Le Sage 2010-11-03 05:07:44 UTC
Release Notes Docs Status: Added: Not Yet Documented
Writer: Added: dlesage


Comment 8 Anne-Louise Tangring 2010-11-23 18:50:40 UTC
This is not a blocker for BRMS 5.1.0, moving to future

Comment 9 lcarlon 2011-08-19 04:54:32 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Needs release note

Comment 10 lcarlon 2011-08-24 03:29:38 UTC
Hi, 

Please provide release notes information. 

If this was fixed in 5.2 I need Cause, Consequence, Fix and Result, if it was not fixed in 5.2 please say so.

Comment 11 Lukáš Petrovický 2011-08-24 05:51:35 UTC
This was not fixed in 5.2.0, the current test failures with IBM JDK are:

>>> org.drools.base.BaseClassFieldAccessorFactoryTest.testAbstract 
>>> org.drools.camel.component.XStreamBatchExecutionTest.testInsertElementsWithReturnObjects 
>>> org.drools.camel.component.XStreamBatchExecutionTest.testQuery 
>>> org.drools.integrationtests.TruthMaintenanceTest.testLogicalInsertionsDynamicRule
>>> org.drools.runtime.pipeline.impl.XStreamBatchExecutionTest.testInsertElementsWithReturnObjects 
>>> org.drools.runtime.pipeline.impl.XStreamBatchExecutionTest.testQuery 
>>> org.drools.util.debug.SessionInspectorTest.testGetSessionInfoWithCustomTemplate 
>>> org.jbpm.bpmn2.SimpleBPMNProcessTest.testExclusiveSplitXPathAdvanced 
>>> org.jbpm.integrationtests.ProcessMarshallingTest.test3 

Please note that although some disappeared, new ones appeared instead.

Comment 12 lcarlon 2011-08-25 00:43:40 UTC
Thanks Lukáš,

The test results are no longer available at the linked location[1], is it possible that content is still online, or a link to the new test results exists?

From the description of the bug it is hard to know what exactly is being tested.

Thanks
Lee


[1]http://hudson.qa.jboss.com/hudson/view/BRMS/job/brms-rules-matrix/20/

Comment 13 Lukáš Petrovický 2011-08-25 06:00:01 UTC
The new test results are at the following location for the moment:
https://hudson.qa.jboss.com/hudson/view/BRMS/job/brms-rules-matrix-new/jdk=ibm16,label=RHEL5_x86/lastCompletedBuild/testReport/

After further inspection, it's been identified that only these are actual test failures caused by IBM JDK:

>>> org.drools.integrationtests.TruthMaintenanceTest.testLogicalInsertionsDynamicRule>>> org.drools.runtime.pipeline.impl.XStreamBatchExecutionTest.testInsertElementsWithReturnObjects 
>>> org.drools.util.debug.SessionInspectorTest.testGetSessionInfoWithCustomTemplate 

As a side note - since we don't allow customers to build the binaries from source, I think that these failures need to be documented. Customers will never see them in any of their supported use cases.

Comment 14 lcarlon 2011-08-25 06:07:19 UTC
Should that read 'I *don't* think that these failures need to be documented'? (I accidentally  negate my meaning all the time like this :) )

If so I agree, and will remove the release required status.

thanks 
Lukáš

Comment 15 lcarlon 2011-08-25 06:08:05 UTC
^^ should read, 'Thanks Lukáš'

Comment 16 Lukáš Petrovický 2011-08-25 06:10:21 UTC
(In reply to comment #14)
> Should that read 'I *don't* think that these failures need to be documented'?
> (I accidentally  negate my meaning all the time like this :) )

Absolutely correct, "I don't think". It's still early in the morning here, my apologies. :-)

Comment 17 Toni Rikkola 2011-11-22 12:55:29 UTC
This is not failing any Guvnor tests any more. So assigned to Edson.

Comment 18 lcarlon 2012-04-02 02:20:16 UTC
Deleted Technical Notes Contents.

Old Contents:
Needs release note

Comment 19 Edson Tirelli 2012-04-18 19:34:33 UTC
Tests fixed. Most of the problems were due to tests relying on ordering of some things like the result of Class.getMethods() method, that can vary between different JVMs.

Comment 20 Mario Fusco 2012-04-20 07:12:03 UTC
I also fixed incompatibilities with ibm jdk caused by MVEL.

Comment 21 JBoss JIRA Server 2012-04-20 07:14:30 UTC
Mario Fusco <mario.fusco> updated the status of jira JBRULES-2464 to Resolved

Comment 22 JBoss JIRA Server 2012-04-20 07:14:30 UTC
Mario Fusco <mario.fusco> made a comment on jira JBRULES-2464

The problems were caused by some MVEL incompatibilities with the IBM JDK. I fixed them.

Comment 23 Ryan Zhang 2012-04-23 07:37:40 UTC
Update status to ON_QA. Please verify them against ER6.

Comment 24 Lukáš Petrovický 2012-05-02 06:50:21 UTC
VERIFIED on ER6.

Comment 31 Red Hat Bugzilla 2025-02-10 03:13:46 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


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