See
http://hudson.qa.jboss.com/hudson/job/drools/2481/changes
Changes:
[tirelli] JBRULES-1918: upgrading to MVEL 2.0.6. Refactoring and fixing attribute
parsing/compilation
------------------------------------------
[...truncated 33749 lines...]
Caused by: java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at
org.drools.io.impl.ResourceChangeScannerImpl$ProcessChangeSet.run(ResourceChangeScannerImpl.java:274)
... 1 more
[2009:01:15 12:01:952:exception
java.lang.RuntimeException: ResourceChangeNotification ChangeSet publication thread was
interrupted
at
org.drools.io.impl.ResourceChangeNotifierImpl$ProcessChangeSet.run(ResourceChangeNotifierImpl.java:255)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.InterruptedException
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1815)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1850)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:359)
at
org.drools.io.impl.ResourceChangeNotifierImpl$ProcessChangeSet.run(ResourceChangeNotifierImpl.java:253)
... 1 more
[2009:01:15 12:01:952:info] ResourceChangeNotification scanner has stopped
[2009:01:15 12:01:953:info] ResourceChangeNotification has stopped listening for ChangeSet
publications
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.351 sec
Running org.drools.decisiontable.parser.RhsBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.decisiontable.SpreadsheetIntegrationTest
Cheapest possible
BASE PRICE IS: 120
DISCOUNT IS: 20
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.018 sec
Running org.drools.decisiontable.ExternalSpreadsheetCompilerUnitTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.292 sec
Running org.drools.decisiontable.parser.csv.CsvParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.decisiontable.parser.LhsBuilderTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.decisiontable.parser.csv.CsvLineParserTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.decisiontable.parser.ColumnFactoryTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.decisiontable.parser.PropertiesSheetListenerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.decisiontable.parser.RuleWorksheetParseTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.549 sec
Running org.drools.decisiontable.parser.RuleSheetParserUtilTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.decisiontable.parser.ActionTypeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.decisiontable.SourcePackageProviderTest
RuleAgent(default) INFO (Thu Jan 15 12:09:38 EST 2009): Configuring with
newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Thu Jan 15 12:09:38 EST 2009): Configuring package provider :
FileScanner scanning: /tmp/__temp_test_drools_packages/Something.xls
RuleAgent(default) INFO (Thu Jan 15 12:09:39 EST 2009): Applying changes to the rulebase.
RuleAgent(default) INFO (Thu Jan 15 12:09:39 EST 2009): Adding package called
org.acme.insurance
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.345 sec
Running org.drools.decisiontable.ExternalSpreadsheetCompilerIntegrationTest
package Some_business_rules;
#generated from Decision Table
import org.drools.decisiontable.Cheese;
import org.drools.decisiontable.Person;
global java.util.List list;
rule "Cheese fans_17"
when
Person(age == "42")
Cheese(type == "stilton")
then
list.add("Old man stilton");
end
Cheapest possible
BASE PRICE IS: 120
DISCOUNT IS: 20
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.74 sec
Results :
Tests run: 51, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar]
[INFO] Building jar:
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-decisiontabl...
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: default}]
[INFO] Building jar:
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-decisiontabl...
[INFO] Preparing source:test-jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[WARNING] Removing: test-jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:test-jar {execution: default}]
[INFO] Building jar:
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-decisiontabl...
[INFO] [jar:test-jar {execution: default}]
[INFO] Building jar:
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-decisiontabl...
[INFO] [install:install]
[INFO] Installing
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-decisiontabl...
to
/home/hudson/.m2/repository/org/drools/drools-decisiontables/5.0.0.SNAPSHOT/drools-decisiontables-5.0.0.SNAPSHOT.jar
[INFO] Installing
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-decisiontabl...
to
/home/hudson/.m2/repository/org/drools/drools-decisiontables/5.0.0.SNAPSHOT/drools-decisiontables-5.0.0.SNAPSHOT-sources.jar
[INFO] Installing
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-decisiontabl...
to
/home/hudson/.m2/repository/org/drools/drools-decisiontables/5.0.0.SNAPSHOT/drools-decisiontables-5.0.0.SNAPSHOT-test-sources.jar
[INFO] Installing
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-decisiontabl...
to
/home/hudson/.m2/repository/org/drools/drools-decisiontables/5.0.0.SNAPSHOT/drools-decisiontables-5.0.0.SNAPSHOT-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: JSR-94 API Module
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build
is platform dependent!
[INFO] Copying 0 resource
[INFO] [compiler:compile]
[INFO] Compiling 21 source files to
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-jsr94/target...
[INFO] [resources:testResources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build
is platform dependent!
[INFO] Copying 0 resource
[INFO] Copying 14 resources
[INFO] [compiler:testCompile]
[INFO] Compiling 20 source files to
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-jsr94/target...
[INFO] [surefire:test]
[INFO] Surefire report directory:
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-jsr94/target...
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.jsr94.rules.repository.RuleExecutionSetRepositoryLoaderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec
Running org.drools.jsr94.rules.admin.RuleExecutionSetTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.887 sec
Running org.drools.jsr94.rules.admin.RuleAdministratorTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.764 sec
Running org.drools.jsr94.rules.StatelessRuleSessionTest
(null: 5, 74): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 5, 74): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 5, 74): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 5, 74): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 5, 74): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 5, 74): cvc-elt.1: Cannot find the declaration of element 'package'.
rebecca and jeannie are sisters
jeannie and rebecca are sisters
(null: 5, 74): cvc-elt.1: Cannot find the declaration of element 'package'.
rebecca and jeannie are sisters
jeannie and rebecca are sisters
(null: 5, 74): cvc-elt.1: Cannot find the declaration of element 'package'.
jeannie and rebecca are sisters
rebecca and jeannie are sisters
(null: 5, 74): cvc-elt.1: Cannot find the declaration of element 'package'.
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.658 sec
Running org.drools.jsr94.rules.StatefulRuleSessionTest
jeannie and rebecca are sisters
rebecca and jeannie are sisters
jeannie and rebecca are sisters
rebecca and jeannie are sisters
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.408 sec
Running org.drools.jsr94.rules.admin.RuleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.137 sec
Running org.jcp.jsr94.tck.AllTests
SignatureTest report
Tested version: 1.5.0_15
The credit limit of the customer is 3000
The status of the invoice is paid
The credit limit of the customer is 1500
The status of the invoice is paid
The credit limit of the customer is 3000
The status of the invoice is paid
The credit limit of the customer is 3000
The status of the invoice is paid
Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.508 sec
Running org.drools.jsr94.rules.RuleServiceProviderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.jsr94.rules.MultipleRepositoryTest
Engine1
Engine2
1
1
Engine 1 Asserted object: org.drools.reteoo.InitialFactImpl@4dde85f0
Engine 1 Asserted object: value1
[value1]
Engine 2 Asserted object: org.drools.reteoo.InitialFactImpl@4dde85f0
Engine 2 Asserted object: value2
[value2]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running org.drools.jsr94.rules.RuleRuntimeTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.934 sec
Running org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.48 sec
Running org.drools.decisiontable.SpreadsheetIntegrationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.262 sec
Results :
Tests run: 64, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar]
[INFO] Building jar:
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-jsr94/target...
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: default}]
[INFO] Building jar:
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-jsr94/target...
[INFO] Preparing source:test-jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[WARNING] Removing: test-jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:test-jar {execution: default}]
[INFO] Building jar:
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-jsr94/target...
[INFO] [jar:test-jar {execution: default}]
[INFO] Building jar:
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-jsr94/target...
[INFO] [install:install]
[INFO] Installing
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-jsr94/target...
to
/home/hudson/.m2/repository/org/drools/drools-jsr94/5.0.0.SNAPSHOT/drools-jsr94-5.0.0.SNAPSHOT.jar
[INFO] Installing
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-jsr94/target...
to
/home/hudson/.m2/repository/org/drools/drools-jsr94/5.0.0.SNAPSHOT/drools-jsr94-5.0.0.SNAPSHOT-sources.jar
[INFO] Installing
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-jsr94/target...
to
/home/hudson/.m2/repository/org/drools/drools-jsr94/5.0.0.SNAPSHOT/drools-jsr94-5.0.0.SNAPSHOT-test-sources.jar
[INFO] Installing
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-jsr94/target...
to
/home/hudson/.m2/repository/org/drools/drools-jsr94/5.0.0.SNAPSHOT/drools-jsr94-5.0.0.SNAPSHOT-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Clips
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [resources:resources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build
is platform dependent!
[INFO] Copying 3 resources
[INFO] [compiler:compile]
[INFO] Compiling 52 source files to
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-clips/target...
[INFO] [resources:testResources]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build
is platform dependent!
[INFO] Copying 0 resource
[INFO] Copying 0 resource
[INFO] [compiler:testCompile]
[INFO] Compiling 7 source files to
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-clips/target...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-clips/src/te...
:[332,44] incompatible types
found : java.util.Map<java.lang.String,org.drools.lang.descr.AttributeDescr>
required: java.util.List
http://hudson.qa.jboss.com/hudson/job/drools/ws/trunk/drools-clips/src/te...
:[332,44] incompatible types
found : java.util.Map<java.lang.String,org.drools.lang.descr.AttributeDescr>
required: java.util.List
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 minutes 2 seconds
[INFO] Finished at: Thu Jan 15 12:09:53 EST 2009
[INFO] Final Memory: 38M/995M
[INFO] ------------------------------------------------------------------------
Terminating xvnc
[drools] $ vncserver -kill :15
Killing Xvnc process ID 31741
Recording test results