See
http://hudson.qa.jboss.com/hudson/job/drools/2503/changes
Changes:
[joe.white(a)recondotech.com] JBRULES-1926 Added test for listOfMaps defect
------------------------------------------
[...truncated 12215 lines...]
</variable>
<variable name="variable3" >
<type
name="org.drools.process.core.datatype.impl.type.ObjectDataType"
className="org.drools.Person" />
<value><org.drools.Person>
<name>John</name>
<age>0</age>
<sex></sex>
<alive>false</alive>
<addresses/>
</org.drools.Person></value>
</variable>
<variable name="variable4" >
<type name="org.drools.process.core.datatype.impl.type.ListDataType"
className="java.util.List" />
<value><list>
<int>10</int>
<int>20</int>
</list></value>
</variable>
</variables>
<exceptionHandlers>
<exceptionHandler faultName="MyFault" type="action"
faultVariable="faultVariable" >
<action type="expression" dialect="dialect"
>consequence</action>
</exceptionHandler>
<exceptionHandler faultName="MyFault2" type="action"
faultVariable="faultVariable2" >
<action type="expression" dialect="dialect2"
>consequence2</action>
</exceptionHandler>
</exceptionHandlers>
<nodes>
<actionNode id="2" />
<actionNode id="1" />
</nodes>
<connections>
<connection from="1" to="2" />
</connections>
<in-ports>
<in-port type="DROOLS_DEFAULT" nodeId="1"
nodeInType="DROOLS_DEFAULT" />
</in-ports>
<out-ports>
<out-port type="DROOLS_DEFAULT" nodeId="2"
nodeOutType="DROOLS_DEFAULT" />
</out-ports>
</composite>
<workItem id="10" name="WorkItem"
waitForCompletion="false" >
<work name="workname" >
<parameter name="param1" >
<type
name="org.drools.process.core.datatype.impl.type.StringDataType" />
<value>value1</value>
</parameter>
<parameter name="param2" >
<type
name="org.drools.process.core.datatype.impl.type.IntegerDataType" />
<value>1</value>
</parameter>
</work>
<mapping type="in" from="var1" to="param1" />
<mapping type="out" from="param2" to="var2" />
<onEntry>
<action type="expression" dialect="java"
>System.out.println("action1");</action>
<action type="expression" dialect="java"
>System.out.println("action2");</action>
</onEntry>
<onExit>
<action type="expression" dialect="java"
>System.out.println("action1");</action>
<action type="expression" dialect="java"
>System.out.println("action2");</action>
</onExit>
<timers>
<timer id="2" delay="200" period="200" >
<action type="expression" dialect="dialect"
>consequence</action>
</timer>
<timer id="1" delay="100" period="100" >
<action type="expression" dialect="dialect"
>consequence</action>
</timer>
</timers>
</workItem>
<split id="5" name="split" x="1" y="2"
width="3" height="4" type="2" >
<constraints>
<constraint toNodeId="3" toType="DROOLS_DEFAULT"
name="constraint2" priority="2" type="type2"
dialect="dialect2" >constraint-text2</constraint>
<constraint toNodeId="2" toType="DROOLS_DEFAULT"
name="constraint1" priority="1" type="type1"
dialect="dialect1" >constraint-text1</constraint>
</constraints>
</split>
</nodes>
<connections>
<connection from="14" to="15" />
<connection from="7" to="8"
bendpoints="[10,10;20,20]" />
<connection from="10" to="11" />
<connection from="5" to="3" />
<connection from="2" to="7" />
<connection from="3" to="7" />
<connection from="6" to="7" />
<connection from="11" to="12" />
<connection from="5" to="2" />
<connection from="12" to="13" />
<connection from="8" to="9" bendpoints="[10,10]"
/>
<connection from="13" to="14" />
<connection from="9" to="10" bendpoints="[]" />
<connection from="1" to="5" />
</connections>
</process>
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.192 sec
Running org.drools.integrationtests.StatefulKnowledgeSessionPipelineTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.255 sec
Running org.drools.testframework.FactPopulatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.integrationtests.ProcessMilestoneTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.108 sec
Running org.drools.guvnor.modeldriven.DSLSentenceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.integrationtests.ProcessEventTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.216 sec
Running org.drools.compiler.SourcePackageProviderTest
RuleAgent(default) INFO (Mon Jan 19 15:08:32 EST 2009): Configuring with
newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Mon Jan 19 15:08:32 EST 2009): Configuring package provider :
FileScanner scanning: /tmp/__temp_test_drools_packages/Something.drl
RuleAgent(default) INFO (Mon Jan 19 15:08:32 EST 2009): Applying changes to the rulebase.
RuleAgent(default) INFO (Mon Jan 19 15:08:32 EST 2009): Adding package called HelloWorld
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
Running org.drools.guvnor.modeldriven.FactPatternTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.guvnor.modeldriven.CompositeFieldConstraintTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.drools.integrationtests.waltz.ReteOOWaltzTest
4069
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.04 sec
Running org.drools.rule.builder.dialect.mvel.MVELEvalBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.drools.integrationtests.DynamicRulesTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.749 sec
Running org.drools.guvnor.modeldriven.ActionSetFieldTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.rule.builder.dialect.mvel.MVELDebugTest
com.sample.Rule_myRule_0
com.sample.Rule_myRule_0
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.guvnor.server.util.BRLPersitenceTest
<rule>
<name>my rule</name>
<modelVersion>1.0</modelVersion>
<attributes>
<attribute>
<attributeName>no-loop</attributeName>
<value>true</value>
</attribute>
</attributes>
<metadataList/>
<lhs>
<fact>
<factType>Person</factType>
</fact>
<fact>
<factType>Accident</factType>
</fact>
</lhs>
<rhs>
<assert>
<fieldValues/>
<factType>Report</factType>
</assert>
<addToGlobal>
<globalName>g</globalName>
<factName>x</factName>
</addToGlobal>
</rhs>
</rule>
<rule>
<modelVersion>1.0</modelVersion>
<attributes>
<attribute>
<attributeName>no-loop</attributeName>
<value>true</value>
</attribute>
</attributes>
<metadataList/>
<lhs>
<fact>
<constraintList>
<constraints>
<fieldConstraint>
<value>42</value>
<constraintValueType>0</constraintValueType>
<fieldBinding>f1</fieldBinding>
<fieldName>age</fieldName>
<operator><</operator>
<fieldType></fieldType>
</fieldConstraint>
</constraints>
</constraintList>
<factType>Person</factType>
<boundName>p1</boundName>
</fact>
<compositePattern>
<type>not</type>
<patterns>
<fact>
<factType>Cancel</factType>
</fact>
</patterns>
</compositePattern>
</lhs>
<rhs>
<modify>
<fieldValues>
<fieldValue>
<field>status</field>
<value>rejected</value>
<type>String</type>
</fieldValue>
</fieldValues>
<variable>p1</variable>
</modify>
<retract>
<variableName>p1</variableName>
</retract>
<dslSentence>
<sentence>Send an email to {administrator}</sentence>
</dslSentence>
</rhs>
</rule>
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.165 sec
Running org.drools.testframework.RuleCoverageListenerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.guvnor.modeldriven.CompositeFactPatternTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.integrationtests.ProcessMultiThreadTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.071 sec
Running org.drools.rule.builder.dialect.mvel.MVELPredicateBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Results :
Tests in error:
testListOfMaps(org.drools.integrationtests.MiscTest)
Tests run: 1093, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-compiler/target/surefire-reports
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 56 seconds
[INFO] Finished at: Mon Jan 19 15:08:45 EST 2009
[INFO] Final Memory: 31M/1001M
[INFO] ------------------------------------------------------------------------
Terminating xvnc
[drools] $ vncserver -kill :10
Killing Xvnc process ID 10059
Recording test results