See
http://hudson.qa.jboss.com/hudson/job/drools/1387/changes
Changes:
[mingjin] JBRULES-1488 fixing bad merge
- RuleParserTest.java: recovered testTypeDeclaration() from previous version. All tests
passed.
------------------------------------------
[...truncated 7551 lines...]
<fieldValue>
<field>status</field>
<value>rejected</value>
<type>String</type>
</fieldValue>
</fieldValues>
</modify>
<retract>
<variableName>p1</variableName>
</retract>
<dslSentence>
<sentence>Send an email to {administrator}</sentence>
</dslSentence>
</rhs>
</rule>
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.437 sec
Running org.drools.brms.client.modeldriven.SuggestionCompletionEngineTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec
Running org.drools.rule.builder.dialect.java.JavaExprAnalyzerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.brms.modeldriven.CompositeFactPatternTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.integrationtests.sequential.SequentialTest
Iterations in for SEQUENTIAL : 21
Iterations in for RETE : 11
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.147 sec
Running org.drools.lang.dsl.DefaultDSLMappingEntryTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.drools.brms.modeldriven.FactPatternTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.drools.integrationtests.OutOfMemoryTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.349 sec
Running
org.drools.rule.builder.dialect.mvel.MVELReturnValueConstraintEvaluatorBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.drools.integrationtests.StreamsTest
[[3,0]: unknown:3:0 Unexpected token 'import']
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec <<<
FAILURE!
Running org.drools.rule.builder.dialect.mvel.MVELReturnValueBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.drools.integrationtests.StatelessStressTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.compiler.PackageBuilderTest
stilton 200
Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.884 sec
Running org.drools.compiler.RuleBaseLoaderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 sec
Running org.drools.integrationtests.FirstOrderLogicTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.209 sec
Running org.drools.lang.descr.AndDescrTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.integrationtests.TruthMaintenanceTest
[ObjectInserted: handle=[fact fid:1:1:[Person name='person']]; object=[Person
name='person']]
[ObjectInserted: handle=[fact fid:2:2:CheeseEqual( type='person', price=2 )];
object=CheeseEqual( type='person', price=2 )]
[ObjectUpdated: handle=[fact fid:1:3:[Person name='person']]; old_object=[Person
name='person']; new_object=[Person name='person']]
[ObjectRetracted: handle=[fact fid:1:3:[Person name='person']]; old_object=[Person
name='person']]
[ObjectRetracted: handle=[fact fid:2:2:CheeseEqual( type='person', price=2 )];
old_object=CheeseEqual( type='person', price=2 )]
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.935 sec
Running org.drools.rule.builder.dialect.mvel.MVELSalienceBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running org.drools.testframework.ScenarioRunnerTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.466 sec
Running org.drools.compiler.RuleFlowErrorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.integrationtests.AccumulateTest
Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.857 sec
Running org.drools.lang.MVELDumperTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.compiler.RuleErrorTest
IM IN YR EROR problem
problem
problem
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.integrationtests.StatefulSessionTest
java.lang.Exception: this should throw an exception
at
org.drools.test.Rule_Throw_Consequence_Exception_0.consequence(Rule_Throw_Consequence_Exception_0.java:7)
at
org.drools.test.Rule_Throw_Consequence_Exception_0ConsequenceInvoker.evaluate(Rule_Throw_Consequence_Exception_0ConsequenceInvoker.java:19)
at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:586)
at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:550)
at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:520)
at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:494)
at org.drools.concurrent.FireAllRules.execute(FireAllRules.java:42)
at org.drools.concurrent.CommandExecutor.run(CommandExecutor.java:78)
at java.lang.Thread.run(Thread.java:595)
java.lang.Exception: this should throw an exception
at
org.drools.test.Rule_Throw_Consequence_Exception_0.consequence(Rule_Throw_Consequence_Exception_0.java:7)
at
org.drools.test.Rule_Throw_Consequence_Exception_0ConsequenceInvoker.evaluate(Rule_Throw_Consequence_Exception_0ConsequenceInvoker.java:19)
at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:586)
at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:550)
at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:520)
at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:494)
at org.drools.concurrent.FireAllRules.execute(FireAllRules.java:42)
at org.drools.concurrent.CommandExecutor.run(CommandExecutor.java:78)
at java.lang.Thread.run(Thread.java:595)
java.lang.Exception: this should throw an exception
at
org.drools.test.Rule_Throw_Consequence_Exception_0.consequence(Rule_Throw_Consequence_Exception_0.java:7)
at
org.drools.test.Rule_Throw_Consequence_Exception_0ConsequenceInvoker.evaluate(Rule_Throw_Consequence_Exception_0ConsequenceInvoker.java:19)
at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:586)
at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:550)
at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:520)
at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:494)
at org.drools.concurrent.FireAllRules.execute(FireAllRules.java:42)
at org.drools.concurrent.CommandExecutor.run(CommandExecutor.java:78)
at java.lang.Thread.run(Thread.java:595)
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.028 sec
Running org.drools.xml.processes.ActionNodeTest
(null: 4, 92): cvc-elt.1: Cannot find the declaration of element 'process'.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 sec
Running org.drools.brms.server.util.BRDRLPersistenceTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec
Running org.drools.testframework.FactPopulatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.brms.modeldriven.CompositeFieldConstraintTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.integrationtests.eventgenerator.SimpleEventGeneratorTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.778 sec
Running org.drools.integrationtests.LargeRuleBaseSerializationTest
Generating 200 rules
Parsing 200 rules
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.311 sec
Running org.drools.brms.server.util.GuidedDTDRLPersistenceTest
#from row number: 1
rule "1_desc"
salience 42
dialect "mvel"
when
f1 : Driver( age == "33" , name == "michael" , rating == ( age * 0.2
) )
f2 : Driver( eval( age > 7 ))
then
Cheese fact0 = new Cheese();
fact0.setPrice( 6.60 );
insert( fact0 );
retract( f2 );
f1.setGoo1( "gooVal1" );
f1.setGoo2( "gooVal2" );
end
#from row number: 2
rule "2_desc"
dialect "mvel"
when
f1 : Driver( age == "39" , name == "bob" , rating == ( age * 0.3 )
)
f2 : Driver( eval( age > 7 ))
then
Cheese fact0 = new Cheese();
fact0.setPrice( 6.60 );
insert( fact0 );
f1.setGoo1( "gooVal1" );
f1.setGoo2( "gooVal2" );
end
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.drools.compiler.SourcePackageProviderTest
RuleAgent(default) INFO (Wed Mar 19 07:16:20 EDT 2008): Configuring with
newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Mar 19 07:16:20 EDT 2008): Configuring package provider :
FileScanner scanning: /tmp/__temp_test_drools_packages/Something.drl
RuleAgent(default) INFO (Wed Mar 19 07:16:20 EDT 2008): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Mar 19 07:16:20 EDT 2008): Adding package called HelloWorld
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec
Running org.drools.brms.modeldriven.ConstraintTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.rule.builder.dialect.mvel.MVELEvalBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
Running org.drools.integrationtests.waltz.ReteOOWaltzTest
5539
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.968 sec
Running org.drools.integrationtests.DynamicRulesTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.078 sec
Running org.drools.brms.modeldriven.ActionFieldValueTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.testframework.RuleCoverageListenerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.brms.server.util.SuggestionCompletionEngineBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.drools.integrationtests.ExecutionFlowControlTest
Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.68 sec
Running org.drools.brms.modeldriven.ActionSetFieldTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.brms.modeldriven.RuleModelTest
<rule>
<modelVersion>1.0</modelVersion>
<attributes/>
<lhs>
<fact>
<factType>Car</factType>
<boundName>x</boundName>
</fact>
<fact>
<factType>Car</factType>
<boundName>y</boundName>
</fact>
<fact>
<factType>House</factType>
</fact>
</lhs>
<rhs>
<retract>
<variableName>q</variableName>
</retract>
</rhs>
</rule>
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running org.drools.xml.rules.XmlPackageReaderTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.32 sec
Running org.drools.lang.RuleParserTest
Tests run: 116, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.309 sec
Running org.drools.rule.builder.dialect.mvel.MVELExprAnalyzerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.reteoo.ReteooBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.drools.lang.dsl.DefaultExpanderTest
rule 'x'
when
Foo()
then end
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 sec
Running org.drools.rule.builder.dialect.mvel.MVELPredicateBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
Running org.drools.brms.server.util.ScenarioXMLPersistenceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 sec
Results :
Failed tests:
testEventAssertion(org.drools.integrationtests.CepEspTest)
testEventAssertion(org.drools.integrationtests.StreamsTest)
Tests run: 693, Failures: 2, Errors: 0, 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: 3 minutes 4 seconds
[INFO] Finished at: Wed Mar 19 07:16:32 EDT 2008
[INFO] Final Memory: 21M/88M
[INFO] ------------------------------------------------------------------------
Terminating xvnc
[drools] $ vncserver -kill :13
Killing Xvnc process ID 30079
ERROR: No artifacts found that match the file pattern
"trunk/target/,rules-ouput/". Configuration error?
ERROR: 'trunk/target/' doesn't match anything, but '' does. Perhaps
that's what you mean?
Recording test results