Skip to content

Instantly share code, notes, and snippets.

@kjellski
Created July 11, 2012 12:54
Show Gist options
  • Save kjellski/3090221 to your computer and use it in GitHub Desktop.
Save kjellski/3090221 to your computer and use it in GitHub Desktop.
drools mvn test
Search for [~/lib/java/drools-dev ((5.4.0.Final))]$ in here to get to the interesting parts:
[~/lib/java/drools-dev (master)]$ git checkout 5.4.0.
5.4.0.Beta1 5.4.0.Beta2 5.4.0.CR1 5.4.0.Final
[~/lib/java/drools-dev (master)]$ git checkout 5.4.0.Final
Note: checking out '5.4.0.Final'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at ba6def4... change to 5.4.0.Final version
[~/lib/java/drools-dev ((5.4.0.Final))]$ mvn test
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Drools multiproject
[INFO] Drools :: Core
[INFO] Drools :: Compiler
[INFO] Drools :: Templates
[INFO] Drools :: Decision Tables
[INFO] Drools :: JSR-94 API Module
[INFO] Drools :: Clips
[INFO] Drools :: Verifier
[INFO] Drools :: Persistence :: JPA
[INFO] Drools examples
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools multiproject 5.4.0.Final
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ drools-multiproject ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Core 5.4.0.Final
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ drools-core ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ drools-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 12 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ drools-core ---
[INFO] Compiling 1051 source files to /Users/kjellski/lib/java/drools-dev/drools-core/target/classes
[INFO]
[INFO] --- maven-bundle-plugin:2.1.0:manifest (manifest) @ drools-core ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ drools-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 45 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ drools-core ---
[INFO] Compiling 228 source files to /Users/kjellski/lib/java/drools-dev/drools-core/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ drools-core ---
[INFO] Surefire report directory: /Users/kjellski/lib/java/drools-dev/drools-core/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.agent.CompilerIndependenceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.041 sec
Running org.drools.agent.DirectoryScannerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 sec
Running org.drools.agent.FileScannerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.drools.agent.KnowledgeAgentTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.drools.agent.RuleAgentTest
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p1.pkg /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p2.pkg
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Configuring with newInstance=false, secondsToRefresh=1
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p1.pkg /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p2.pkg
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p1.pkg /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p2.pkg
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Configuring with newInstance=false, secondsToRefresh=1
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p1.pkg /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p2.pkg
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/-579288222217262430.pkg
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:28 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:30 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:30 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:32 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:32 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:32 CEST 2012): Configuring with newInstance=true, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 13:39:32 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p43_.pkg /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p44_.pkg
RuleAgent(default) INFO (Wed Jul 11 13:39:32 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:32 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 13:39:32 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 13:39:32 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:34 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:34 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 13:39:34 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 13:39:34 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:34 CEST 2012): Configuring with newInstance=true, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 13:39:34 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p43_.pkg /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p44_.pkg
RuleAgent(default) INFO (Wed Jul 11 13:39:34 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:34 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 13:39:34 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 13:39:34 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:36 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:36 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 13:39:36 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 13:39:36 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:36 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 13:39:36 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p43_.pkg /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p44_.pkg
RuleAgent(default) INFO (Wed Jul 11 13:39:36 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:36 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:36 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 13:39:36 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:36 CEST 2012): Removing package called p2
RuleAgent(default) INFO (Wed Jul 11 13:39:38 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:38 CEST 2012): Removing package called p2
RuleAgent(default) INFO (Wed Jul 11 13:39:38 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:38 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:38 CEST 2012): Removing package called p2
RuleAgent(default) INFO (Wed Jul 11 13:39:38 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:38 CEST 2012): Removing package called p2
RuleAgent(default) INFO (Wed Jul 11 13:39:38 CEST 2012): Configuring with newInstance=true, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 13:39:38 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p43_.pkg /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p44_.pkg
RuleAgent(default) INFO (Wed Jul 11 13:39:38 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:38 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 13:39:38 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 13:39:38 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:38 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:38 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 13:39:38 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Adding package called p1
RuleAgent(goo) INFO (Wed Jul 11 13:39:40 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(goo) INFO (Wed Jul 11 13:39:40 CEST 2012): Configuring package provider : DirectoryScanner scanning dir: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages found 2 file(s).
RuleAgent(goo) INFO (Wed Jul 11 13:39:40 CEST 2012): Applying changes to the rulebase.
RuleAgent(goo) INFO (Wed Jul 11 13:39:40 CEST 2012): Adding package called p1
RuleAgent(goo) INFO (Wed Jul 11 13:39:40 CEST 2012): File changes detected in the directory /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/1997065880397410230.pkg
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/1997065880397410230.pkg
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 13:39:40 CEST 2012): Configuring with newInstance=false, secondsToRefresh=1
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.318 sec
Running org.drools.agent.RuleBaseAssemblerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.agent.URLScannerTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.drools.base.BaseClassFieldAccessorFactoryTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec
Running org.drools.base.ClassFieldAccessorTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Running org.drools.base.ClassTypeResolverTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.drools.base.DelegateJavaFactHandlerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 sec
Running org.drools.base.EvaluatorFactoryTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.981 sec
Running org.drools.base.evaluators.BigDecimalEqualityTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.base.evaluators.TimeIntervalParserTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.base.extractors.BooleanClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.drools.base.extractors.ByteClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.base.extractors.CharClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.base.extractors.DoubleClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.base.extractors.FloatClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.base.extractors.IntClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.base.extractors.LongClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.base.extractors.MVELClassFieldExtractorTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.146 sec
Running org.drools.base.extractors.ObjectClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.base.extractors.ShortClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.base.FieldFactoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.base.FieldValueTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.base.mvel.MVELCalendarCoercionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.base.mvel.MVELDateCoercionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.base.TemporalEvaluatorFactoryTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 sec
Running org.drools.base.ValueTypeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.comand.runtime.rule.ExecuteCommandDisconnectedTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.drools.comand.runtime.rule.GetFactHandlesCommandTest
getOneDisconnectedFactHandleTest
Test: getMultipleDisconnectedFactHandleTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.drools.comand.runtime.rule.QueryCommandNoBatchTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.common.AgendaItemTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.common.DefaultBetaConstraintsTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running org.drools.common.DoubleBetaConstraintsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.common.DroolsObjectIOTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.common.EqualityKeyTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.common.LazyTMSEnablingTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.common.QuadroupleBetaConstraintsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
Running org.drools.common.SequentialAgendaTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.common.SingleBetaConstraintsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.common.TripleBetaConstraintsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
Running org.drools.common.UpgradableReentrantReadWriteLockTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.221 sec
Running org.drools.core.util.IndexedHashtableIteratorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.core.util.KeyStoreHelperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.drools.core.util.TripleStoreTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.668 sec
Running org.drools.event.knowledgebase.KnowledgeBaseEventSupportTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
Running org.drools.event.rule.AgendaEventSupportTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.drools.event.rule.WorkingMemoryEventSupportTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.event.RuleBaseEventSupportTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.event.WorkingMemoryEventSupportTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.examples.manners.ReteooMannersTest
find seating : [Seating id=1 , pid=1 , pathDone=false , leftSeat=1, leftGuestName=n5, rightSeat=2, rightGuestName=n3] : [Path id=1, seat=2, guest=n3] : {Chosen id=1, name=n3, hobbies=h1}
find seating : [Seating id=2 , pid=1 , pathDone=false , leftSeat=2, leftGuestName=n3, rightSeat=3, rightGuestName=n4] : [Path id=2, seat=3, guest=n4] : {Chosen id=1, name=n4, hobbies=h1}
find seating : [Seating id=3 , pid=2 , pathDone=false , leftSeat=3, leftGuestName=n4, rightSeat=4, rightGuestName=n3] : [Path id=3, seat=4, guest=n3] : {Chosen id=2, name=n3, hobbies=h3}
find seating : [Seating id=4 , pid=3 , pathDone=false , leftSeat=4, leftGuestName=n3, rightSeat=5, rightGuestName=n5] : [Path id=4, seat=5, guest=n5] : {Chosen id=3, name=n5, hobbies=h1}
all done
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec
Running org.drools.factmodel.ClassBuilderTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
Running org.drools.factmodel.InstancesHashcodedTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.factmodel.JeneratorTest
factmodel.xml
whee/waa/Foobar.class
whee/waa/Baz.class
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.121 sec
Running org.drools.facttemplates.FactTemplateFieldExtractorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.facttemplates.FactTemplateTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.facttemplates.FieldTemplateTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.io.ResourceChangeScannerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.reteoo.AccumulateNodeTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec
Running org.drools.reteoo.AddRemoveTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.reteoo.AgendaTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec
Running org.drools.reteoo.AlphaNodeTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.reteoo.BaseNodeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.reteoo.BetaNodeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.reteoo.builder.BuildUtilsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.reteoo.builder.ReteooRuleBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.reteoo.CompositeObjectSinkAdapterTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.drools.reteoo.CrossProductTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.reteoo.DefaultFactHandleFactoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.reteoo.EvalConditionNodeTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 sec
Running org.drools.reteoo.FactHandleTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.reteoo.FromNodeTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.drools.reteoo.JoinNodeTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec
Running org.drools.reteoo.LeftInputAdapterNodeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.reteoo.LogicalAssertionTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.drools.reteoo.NotNodeTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.drools.reteoo.ObjectSourceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.reteoo.ObjectTypeConfTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.reteoo.ObjectTypeNodeTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.drools.reteoo.OtherwiseTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.003 sec
Running org.drools.reteoo.PartitionTaskManagerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0.001 sec
Running org.drools.reteoo.PropertyChangeListenerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.reteoo.QueryElementNodeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec
Running org.drools.reteoo.QueryTerminalNodeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.reteoo.ReteooBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.reteoo.ReteooRuleBaseMultiThreadedTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.drools.reteoo.ReteooRuleBaseTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.drools.reteoo.ReteooWorkingMemoryTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.reteoo.ReteTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.drools.reteoo.SchedulerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.806 sec
Running org.drools.reteoo.test.NodeSuiteTest
Tests run: 48, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.774 sec
Running org.drools.reteoo.test.ReteDslTestEngineTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec
Running org.drools.reteoo.TupleIterationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.reteoo.TupleSourceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.rule.DeclarationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.rule.EnumSerialiationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.rule.FieldConstraintTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.drools.rule.FixedDurationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.rule.GroupElementTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.rule.LogicTransformerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec
Running org.drools.rule.PackageCompilationDataTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.rule.PatternTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.rule.RuleTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.RuleBaseConfigurationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.RuleBaseFactoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.RuleIntegrationExceptionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.time.impl.CompositeMaxDurationTimerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.time.impl.CronExpressionTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.018 sec
Running org.drools.time.impl.CronJobTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.drools.time.impl.JDKTimerServiceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.009 sec
Running org.drools.time.impl.PseudoClockSchedulerTest
Unable to execute timer job!
java.lang.RuntimeException: for test
at org.drools.time.impl.PseudoClockSchedulerTest$2.execute(PseudoClockSchedulerTest.java:110)
at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:47)
at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:12)
at org.drools.time.impl.PseudoClockScheduler.runCallBacks(PseudoClockScheduler.java:203)
at org.drools.time.impl.PseudoClockScheduler.advanceTime(PseudoClockScheduler.java:156)
at org.drools.time.impl.PseudoClockSchedulerTest.timerIsResetWhenJobThrowsExceptions(PseudoClockSchedulerTest.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
java.lang.RuntimeException: for test
at org.drools.time.impl.PseudoClockSchedulerTest$2.execute(PseudoClockSchedulerTest.java:110)
at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:47)
at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:12)
at org.drools.time.impl.PseudoClockScheduler.runCallBacks(PseudoClockScheduler.java:203)
at org.drools.time.impl.PseudoClockScheduler.advanceTime(PseudoClockScheduler.java:156)
at org.drools.time.impl.PseudoClockSchedulerTest.timerIsResetWhenJobThrowsExceptions(PseudoClockSchedulerTest.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.drools.time.impl.Quartz601Test
[0, 1, 2, 3, 4, 5, 6, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]
[1, 2, 6, 7]
[0, 1, 2, 3, 55, 56, 57, 58, 59]
[0, 1, 2, 56, 57, 58, 59]
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.time.TemporalDistanceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.util.asm.ClassFieldInspectorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.util.asm.MethodComparerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.util.BinaryHeapPriorityQueueTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.133 sec
Running org.drools.util.ClassUtilsTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.util.ConcurrentRightTupleIndexHashTableTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.util.FieldIndexEntryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.util.LeftTupleIndexHashTableIteratorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec
Running org.drools.util.LinkedListTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.util.ObjectHashMapTest
java.util.HashMap put(key,value) ET - 35
Custom ObjectHashMap put(key,value) ET - 46
Custom ObjectHashMap get(key) ET - 14
java.util.HashMap get(key) ET - 36
Custom ObjectHashMap iterate ET - 9
java.util.HashMap iterate ET - 10
Custom ObjectHashMap dup false ET - 40
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.568 sec
Running org.drools.util.PrimitiveLongMapTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.util.RightTupleIndexHashTableIteratorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.drools.util.RightTupleIndexHashTableTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.util.RightTupleListTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.world.impl.ShadowContextTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
Running org.drools.xml.XmlChangeSetReaderTest
(null: 6, 100): cvc-complex-type.3.2.2: Attribute 'name' is not allowed to appear in element 'resource'.
(null: 9, 214): cvc-complex-type.3.2.2: Attribute 'name' is not allowed to appear in element 'resource'.
(null: 9, 214): cvc-complex-type.3.2.2: Attribute 'description' is not allowed to appear in element 'resource'.
(null: 9, 214): cvc-complex-type.3.2.2: Attribute 'basic-authentication' is not allowed to appear in element 'resource'.
(null: 10, 118): cvc-complex-type.3.2.2: Attribute 'description' is not allowed to appear in element 'resource'.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.52 sec
Results :
Tests run: 637, Failures: 0, Errors: 0, Skipped: 12
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Compiler 5.4.0.Final
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ drools-compiler ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ drools-compiler ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 21 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ drools-compiler ---
[INFO] Compiling 355 source files to /Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes
[INFO]
[INFO] --- maven-bundle-plugin:2.1.0:manifest (manifest) @ drools-compiler ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ drools-compiler ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 610 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ drools-compiler ---
[INFO] Compiling 303 source files to /Users/kjellski/lib/java/drools-dev/drools-compiler/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ drools-compiler ---
[INFO] Surefire report directory: /Users/kjellski/lib/java/drools-dev/drools-compiler/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.agent.KnowledgeAgentCustomClassLoaderTest
Unable to resolve ObjectType 'KnowledgeAgentInstance'
Error importing : 'org.drools.agent.test.KnowledgeAgentInstance'
Rule Compilation error Only a type can be imported. org.drools.agent.test.KnowledgeAgentInstance resolves to a package
$id cannot be resolved
Unable to resolve ObjectType 'KnowledgeAgentInstance'
Error importing : 'org.drools.agent.test.KnowledgeAgentInstance'
Rule Compilation error Only a type can be imported. org.drools.agent.test.KnowledgeAgentInstance resolves to a package
$id cannot be resolved
Unable to resolve ObjectType 'KnowledgeAgentInstance'
Error importing : 'org.drools.agent.test.KnowledgeAgentInstance'
Rule Compilation error Only a type can be imported. org.drools.agent.test.KnowledgeAgentInstance resolves to a package
$id cannot be resolved
Unable to resolve ObjectType 'KnowledgeAgentInstance'
Error importing : 'org.drools.agent.test.KnowledgeAgentInstance'
Rule Compilation error Only a type can be imported. org.drools.agent.test.KnowledgeAgentInstance resolves to a package
$id cannot be resolved
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.679 sec
Running org.drools.agent.KnowledgeAgentDisposeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.184 sec
Running org.drools.agent.KnowledgeAgentDSLTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.916 sec
Running org.drools.agent.KnowledgeAgentDuplicatedTypeDeclarationsTest
package org.drools.test
global java.util.List list
declare ClassA
field1 : String
end
rule ruleA
when
$a : ClassA( field1 == "foo")
then
list.add($a.getField1());
end
package org.drools.test
global java.util.List list
declare ClassA
field1 : String
end
rule "ruleA Insert"
when
then
ClassA a = new ClassA();
a.setField1("foo");
insert(a);
end
[2012-07-11 13:40:55,867:info] KnowledgeAgent applying ChangeSet
[2012-07-11 13:40:55,873:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='http://localhost:1024/rules1.drl']
[2012-07-11 13:40:55,873:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:40:55,875:info] KnowledgeAgent performing an incremental build of the ChangeSet
[2012-07-11 13:40:55,893:debug] KnowledgeAgent building resource map
[2012-07-11 13:40:55,893:debug] KnowledgeAgent no resource mapped for rule=[Rule name=ruleA Insert, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:40:55,893:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules1.drl'] to KnowledgeDefinition=[Rule name=ruleA Insert, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:40:55,893:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules1.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='ClassA', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 13:40:55,893:info] KnowledgeAgent incremental build of KnowledgeBase finished and in use
[2012-07-11 13:40:55,893:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
Firing 'ruleA Insert'
----------------
[2012-07-11 13:40:56,087:info] KnowledgeAgent applying ChangeSet
[2012-07-11 13:40:56,087:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='http://localhost:1024/rules2.drl']
[2012-07-11 13:40:56,087:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:40:56,089:info] KnowledgeAgent performing an incremental build of the ChangeSet
[2012-07-11 13:40:56,110:debug] KnowledgeAgent building resource map
[2012-07-11 13:40:56,110:debug] KnowledgeAgent no resource mapped for rule=[Rule name=ruleA Insert, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:40:56,110:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=[Rule name=ruleA, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:40:56,110:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='ClassA', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 13:40:56,110:info] KnowledgeAgent incremental build of KnowledgeBase finished and in use
[2012-07-11 13:40:56,110:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
ruleA Insert
ruleA
[2012-07-11 13:40:56,112:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='http://localhost:1024/rules2.drl']
[2012-07-11 13:40:56,112:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='http://localhost:1024/rules1.drl']
[2012-07-11 13:40:56,408:info] KnowledgeAgent applying ChangeSet
[2012-07-11 13:40:56,408:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='http://localhost:1024/rules1.drl']
[2012-07-11 13:40:56,408:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:40:56,410:info] KnowledgeAgent performing an incremental build of the ChangeSet
[2012-07-11 13:40:56,429:debug] KnowledgeAgent building resource map
[2012-07-11 13:40:56,429:debug] KnowledgeAgent no resource mapped for rule=[Rule name=ruleA, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:40:56,429:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules1.drl'] to KnowledgeDefinition=[Rule name=ruleA, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:40:56,429:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules1.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='ClassA', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 13:40:56,429:info] KnowledgeAgent incremental build of KnowledgeBase finished and in use
[2012-07-11 13:40:56,430:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
----------------
[2012-07-11 13:40:56,618:info] KnowledgeAgent applying ChangeSet
[2012-07-11 13:40:56,618:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='http://localhost:1024/rules2.drl']
[2012-07-11 13:40:56,618:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:40:56,619:info] KnowledgeAgent performing an incremental build of the ChangeSet
[2012-07-11 13:40:56,633:debug] KnowledgeAgent building resource map
[2012-07-11 13:40:56,633:debug] KnowledgeAgent no resource mapped for rule=[Rule name=ruleA, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:40:56,633:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=[Rule name=ruleA Insert, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:40:56,633:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='ClassA', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 13:40:56,633:info] KnowledgeAgent incremental build of KnowledgeBase finished and in use
[2012-07-11 13:40:56,633:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
ruleA
ruleA Insert
Firing 'ruleA Insert'
[2012-07-11 13:40:56,636:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='http://localhost:1024/rules2.drl']
[2012-07-11 13:40:56,636:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='http://localhost:1024/rules1.drl']
[2012-07-11 13:40:56,939:info] KnowledgeAgent applying ChangeSet
[2012-07-11 13:40:56,939:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='http://localhost:1024/rules1.drl']
[2012-07-11 13:40:56,940:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:40:56,941:info] KnowledgeAgent performing an incremental build of the ChangeSet
[2012-07-11 13:40:56,948:debug] KnowledgeAgent building resource map
[2012-07-11 13:40:56,948:debug] KnowledgeAgent no resource mapped for type=TypeDeclaration{typeName='Bean', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 13:40:56,949:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules1.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='Bean', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 13:40:56,949:info] KnowledgeAgent incremental build of KnowledgeBase finished and in use
[2012-07-11 13:40:56,949:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
----------------
[2012-07-11 13:40:57,147:info] KnowledgeAgent applying ChangeSet
[2012-07-11 13:40:57,147:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='http://localhost:1024/rules2.drl']
[2012-07-11 13:40:57,147:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:40:57,149:info] KnowledgeAgent performing an incremental build of the ChangeSet
[2012-07-11 13:40:57,182:debug] KnowledgeAgent building resource map
[2012-07-11 13:40:57,182:debug] KnowledgeAgent no resource mapped for type=TypeDeclaration{typeName='Person', role=EVENT, format=POJO, kind=CLASS, nature=DECLARATION}
[2012-07-11 13:40:57,182:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='Person', role=EVENT, format=POJO, kind=CLASS, nature=DECLARATION}
[2012-07-11 13:40:57,182:debug] KnowledgeAgent no resource mapped for type=TypeDeclaration{typeName='Bean', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 13:40:57,182:debug] KnowledgeAgent no resource mapped for rule=[Rule name=Data, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:40:57,182:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=[Rule name=Data, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:40:57,182:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=[Rule name=Init, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:40:57,183:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='Bean2', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 13:40:57,183:info] KnowledgeAgent incremental build of KnowledgeBase finished and in use
[2012-07-11 13:40:57,183:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:40:57,186:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='http://localhost:1024/rules2.drl']
[2012-07-11 13:40:57,186:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='http://localhost:1024/rules1.drl']
[2012-07-11 13:40:57,488:info] KnowledgeAgent applying ChangeSet
[2012-07-11 13:40:57,488:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='http://localhost:1024/rules1.drl']
[2012-07-11 13:40:57,488:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:40:57,490:info] KnowledgeAgent performing an incremental build of the ChangeSet
[2012-07-11 13:40:57,496:debug] KnowledgeAgent building resource map
[2012-07-11 13:40:57,496:debug] KnowledgeAgent no resource mapped for type=TypeDeclaration{typeName='Bean', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 13:40:57,496:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules1.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='Bean', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 13:40:57,496:info] KnowledgeAgent incremental build of KnowledgeBase finished and in use
[2012-07-11 13:40:57,496:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
----------------
[2012-07-11 13:40:57,686:info] KnowledgeAgent applying ChangeSet
[2012-07-11 13:40:57,687:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='http://localhost:1024/rules2.drl']
[2012-07-11 13:40:57,687:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:40:57,688:info] KnowledgeAgent performing an incremental build of the ChangeSet
[2012-07-11 13:40:57,710:debug] KnowledgeAgent building resource map
[2012-07-11 13:40:57,710:debug] KnowledgeAgent no resource mapped for type=TypeDeclaration{typeName='Bean', role=EVENT, format=POJO, kind=CLASS, nature=DECLARATION}
[2012-07-11 13:40:57,710:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='Bean', role=EVENT, format=POJO, kind=CLASS, nature=DECLARATION}
[2012-07-11 13:40:57,710:debug] KnowledgeAgent no resource mapped for rule=[Rule name=Data, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:40:57,710:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=[Rule name=Data, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:40:57,710:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=[Rule name=Init, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:40:57,710:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='Bean2', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 13:40:57,710:info] KnowledgeAgent incremental build of KnowledgeBase finished and in use
[2012-07-11 13:40:57,710:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:40:57,712:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='http://localhost:1024/rules2.drl']
[2012-07-11 13:40:57,712:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='http://localhost:1024/rules1.drl']
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.488 sec
Running org.drools.agent.KnowledgeAgentEventListenerTest
[8] No mapping entries for expanding: There is a Person
[8] Unable to expand: There is a Person
[10] No mapping entries for expanding: add rule's name to list
[10] Unable to expand: add rule's name to list
[13,0]: [ERR 102] Line 13:0 mismatched input ''
[8,6]: [ERR 102] Line 8:6 mismatched input 'is' in rule "Rule1"
[13,0]: [ERR 102] Line 13:0 mismatched input '<eof>' in rule
[8] No mapping entries for expanding: There is a Person
[8] Unable to expand: There is a Person
[10] No mapping entries for expanding: add rule's name to list
[10] Unable to expand: add rule's name to list
[13,0]: [ERR 102] Line 13:0 mismatched input ''
[8,6]: [ERR 102] Line 8:6 mismatched input 'is' in rule "Rule1"
[13,0]: [ERR 102] Line 13:0 mismatched input '<eof>' in rule
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.859 sec
Running org.drools.agent.KnowledgeAgentIncrementalChangeSetTest
package org.drools.test
import org.drools.Person;
global java.util.List list
rule rule1
when
String()
then
list.add( drools.getRule().getName()+"-V3");
end
rule rule3
when
String()
then
list.add( drools.getRule().getName() );
end
rule rule4
when
String()
then
list.add( drools.getRule().getName() );
end
Rule Compilation error The method function1(List, String) is undefined for the type Rule_rule1_787e6d5b519945b9825dda76c932b9a9
Row= Some String
Row= Some Other String
java.lang.RuntimeException: Unable to compile Knowledge[6,8]: [ERR 102] Line 6:8 mismatched input ')' in rule "rule1"
[0,0]: Parser returned a null Package
Tests run: 15, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 25.675 sec
Running org.drools.agent.KnowledgeAgentTest
java.lang.RuntimeException: Unable to parse ChangeSet
at org.drools.agent.impl.KnowledgeAgentImpl.getChangeSet(KnowledgeAgentImpl.java:448)
at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:180)
at org.drools.agent.KnowledgeAgentTest.testMissingChangeset(KnowledgeAgentTest.java:891)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Caused by: java.net.UnknownHostException: tmp
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.NetworkClient.openServer(NetworkClient.java:118)
at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)
at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:352)
at org.drools.io.impl.UrlResource.grabStream(UrlResource.java:210)
at org.drools.io.impl.UrlResource.getInputStream(UrlResource.java:146)
at org.drools.io.impl.UrlResource.getReader(UrlResource.java:214)
at org.drools.agent.impl.KnowledgeAgentImpl.getChangeSet(KnowledgeAgentImpl.java:446)
... 33 more
java.lang.RuntimeException: Unable to parse ChangeSet
at org.drools.agent.impl.KnowledgeAgentImpl.getChangeSet(KnowledgeAgentImpl.java:453)
at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:180)
at org.drools.agent.KnowledgeAgentTest.testMissingChangeset(KnowledgeAgentTest.java:891)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.589 sec
Running org.drools.agent.QueryRemotionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.461 sec
Running org.drools.agent.UrlResourceTest
root : /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__drools__4da1ec87-1e9a-4dfb-91aa-deff695c0c7a
target file: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__drools__4da1ec87-1e9a-4dfb-91aa-deff695c0c7a/rule1.drl
lm_ : 1342006908000 lm : 1342006907000
root : /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__drools__df9fadba-a1b2-40db-83b2-5ae7664ba19e
target file: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__drools__df9fadba-a1b2-40db-83b2-5ae7664ba19e/rule1.drl
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.434 sec
Running org.drools.api.KnowledgeBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running org.drools.api.KnowledgeSessionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.drools.builder.KnowledgeBuilderConfigurationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.drools.command.KBuilderBatchExecutionTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
Running org.drools.command.MoreBatchExecutionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec
Running org.drools.command.RegisterWorkItemHandlerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.drools.command.SimpleBatchExecutionTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
Running org.drools.common.ActivationIteratorTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.421 sec
Running org.drools.common.ActiveActivationsIteratorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec
Running org.drools.common.TerminalNodeIteratorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.drools.compiler.CompilerPerfProfileTest
Time taken for MVEL : 376Time taken for JDT : 733Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.252 sec
Running org.drools.compiler.DrlParserTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.043 sec
Running org.drools.compiler.Java5Test
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.145 sec
Running org.drools.compiler.PackageBuilderConfigurationTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running org.drools.compiler.PackageBuilderTest
Tests run: 35, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.482 sec
Running org.drools.compiler.QueryBuilderTest
age: 75
age: 80
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running org.drools.compiler.RuleBaseLoaderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 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 sec
Running org.drools.compiler.RuleFlowErrorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.compiler.SourcePackageProviderTest
RuleAgent(default) INFO (Wed Jul 11 13:41:55 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 13:41:55 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/Something.drl
RuleAgent(default) INFO (Wed Jul 11 13:41:55 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:41:55 CEST 2012): Adding package called HelloWorld
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Running org.drools.compiler.TypeDeclarationMergingTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
Running org.drools.compiler.TypeDeclarationTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running org.drools.compiler.xml.changeset.ChangeSetTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.585 sec
Running org.drools.compiler.xml.rules.DumperTest
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="import java.util.List"/>
<import name="org.drools.Person" />
<import name="org.drools.Cheese" />
<import name="org.drools.Cheesery" />
<global identifier="cheesery" type="Cheesery" />
<global identifier="list1" type="List" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<lhs>
<pattern identifier="cheese" object-type="Cheese">
<from>
<accumulate>
<pattern object-type="Person"></pattern>
<init>
int total = 0;
</init>
<action>
total += $cheese.getPrice();
</action>
<result>
new Integer( total ) );
</result>
</accumulate>
</from>
</pattern>
<pattern identifier="max" object-type="Number">
<from>
<accumulate>
<pattern identifier="cheese" object-type="Cheese"></pattern>
<external-function evaluator="max" expression="$price"/>
</accumulate>
</from>
</pattern>
</lhs>
<rhs>
list1.add( $cheese );
</rhs>
</rule>
<rule name="multipatternaccumulate_rule">
<rule-attribute name="salience" value="10" />
<lhs>
<pattern identifier="cheese" object-type="Cheese">
<from>
<accumulate>
<and-conditional-element>
<pattern object-type="Milk"></pattern>
<pattern object-type="Cup"></pattern>
</and-conditional-element>
<init>
int total = 0;
</init>
<action>
total += $cheese.getPrice();
</action>
<result>
new Integer( total ) );
</result>
</accumulate>
</from>
</pattern>
</lhs>
<rhs>
list1.add( $cheese );
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="import java.util.List" />
<import name="org.drools.Person" />
<import name="org.drools.Cheese" />
<import name="org.drools.Cheesery" />
<global identifier="cheesery" type="Cheesery" />
<global identifier="list1" type="List" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<lhs><pattern identifier="cheese" object-type="Cheese" >
<from> <accumulate> <pattern object-type="Person" >
</pattern>
<init>int total = 0;</init><action>total += $cheese.getPrice();</action><result>new Integer( total ) );</result> </accumulate> </from> </pattern>
<pattern identifier="max" object-type="Number" >
<from> <accumulate> <pattern identifier="cheese" object-type="Cheese" >
</pattern>
<external-function evaluator="max" expression="$price"/> </accumulate> </from> </pattern>
</lhs><rhs>
list1.add( $cheese );
</rhs>
</rule><rule name="multipatternaccumulate_rule">
<rule-attribute name="salience" value="10" />
<lhs><pattern identifier="cheese" object-type="Cheese" >
<from> <accumulate> <and-conditional-element><pattern object-type="Milk" >
</pattern>
<pattern object-type="Cup" >
</pattern>
</and-conditional-element><init>int total = 0;</init><action>total += $cheese.getPrice();</action><result>new Integer( total ) );</result> </accumulate> </from> </pattern>
</lhs><rhs>
list1.add( $cheese );
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample" xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="import java.util.List" />
<import name="org.drools.Cheese" />
<import name="org.drools.Cheesery" />
<global identifier="cheesery" type="Cheesery" />
<global identifier="list" type="List" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<lhs>
<pattern identifier="cheese" object-type="Cheese">
<expr>
type == 1
</expr>
<from>
<collect>
<pattern object-type="Person">
<expr>
hair == &quot;pink&quot;
</expr>
</pattern>
</collect>
</from>
</pattern>
</lhs>
<rhs> list.add( $cheese ); </rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="import java.util.List" />
<import name="org.drools.Cheese" />
<import name="org.drools.Cheesery" />
<global identifier="cheesery" type="Cheesery" />
<global identifier="list" type="List" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<lhs><pattern identifier="cheese" object-type="Cheese" >
<expr>
type == 1
</expr>
<from> <collect><pattern object-type="Person" >
<expr>
hair == &quot;pink&quot;
</expr>
</pattern>
</collect> </from> </pattern>
</lhs><rhs> list.add( $cheese ); </rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample" xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<rule name="simple_rule">
<lhs>
<exists>
<pattern object-type="Person">
<expr>
likes == type
</expr>
</pattern>
</exists>
<not>
<exists>
<pattern object-type="Cheese">
<expr>
likes == type
</expr>
</pattern>
</exists>
</not>
</lhs>
<rhs> list.add( $cheese ); </rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<rule name="simple_rule">
<lhs><exists><pattern object-type="Person" >
<expr>
likes == type
</expr>
</pattern>
</exists>
<not><exists><pattern object-type="Cheese" >
<expr>
likes == type
</expr>
</pattern>
</exists>
</not>
</lhs><rhs> list.add( $cheese ); </rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<global identifier="results" type="java.util.List" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<lhs>
<forall>
<pattern object-type="State">
<field-binding field-name="state" identifier="state" />
</pattern>
<pattern object-type="Person">
<expr>
status == state
</expr>
<field-binding field-name="likes" identifier="likes" />
</pattern>
<pattern object-type="Cheese">
<field-binding field-name="type" identifier="likes" />
</pattern>
</forall>
</lhs>
<rhs>
results.add("OK");
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<global identifier="results" type="java.util.List" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<lhs><forall><pattern object-type="State" >
<field-binding field-name="state" identifier="state" />
</pattern>
<pattern object-type="Person" >
<expr>
status == state
</expr>
<field-binding field-name="likes" identifier="likes" />
</pattern>
<pattern object-type="Cheese" >
<field-binding field-name="type" identifier="likes" />
</pattern>
</forall>
</lhs><rhs>
results.add("OK");
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="import java.util.List"/>
<import name="org.drools.Cheese" />
<import name="org.drools.Cheesery" />
<global identifier="cheesery" type="Cheesery" />
<global identifier="list1" type="List" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<lhs>
<pattern identifier="cheese" object-type="Cheese" >
<from>
<expression>
cheesery.getCheeses(i+4)
</expression>
</from>
</pattern>
</lhs>
<rhs>
list1.add( $cheese );
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="import java.util.List" />
<import name="org.drools.Cheese" />
<import name="org.drools.Cheesery" />
<global identifier="cheesery" type="Cheesery" />
<global identifier="list1" type="List" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<lhs><pattern identifier="cheese" object-type="Cheese" >
<from> <expression> cheesery.getCheeses(i+4) </expression> </from> </pattern>
</lhs><rhs>
list1.add( $cheese );
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="foo" xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="java.util.HashMap" />
<import name="java.util.HashSet" />
<import name="java.utilArrayList" />
<global identifier="m" type="HashMap" />
<global identifier="s" type="HashSet" />
<global identifier="p" type="org.drools.Person" />
<importfunction name="org.drools.xml.DumperTest.testStaticMethod1" />
<importfunction name="org.drools.xml.DumperTest.testStaticMethod2" />
<importfunction name="org.drools.xml.DumperTest.testStaticMethod3" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<rule-attribute name="ruleflow-group" value="xxx" />
<rule-attribute name="lock-on-active" value="true" />
<rule-attribute name="auto-focus" value="true" />
<rule-attribute name="date-effective" value="01-Jan-2007" />
<rule-attribute name="date-expires" value="01-Feb-2007" />
<lhs><pattern identifier="foo2" object-type="Bar" >
<expr>
((a (&gt; 60 &amp;&amp; &lt; 70) || (&gt; 50 &amp;&amp; &lt; 55)) &amp;&amp; (a3 == &quot;black&quot;)) || ((a == 40) &amp;&amp; (a3 == &quot;pink&quot;)) || ((a == 12) &amp;&amp; (a3 == &quot;yellow&quot;)) || (a3 == &quot;blue&quot;)
</expr>
</pattern>
<pattern identifier="foo3" object-type="Bar" >
<expr>
a == 3 || == 4
</expr>
<expr>
a3 == &quot;hello&quot;
</expr>
<expr>
a4 == null
</expr>
</pattern>
<pattern identifier="foo4" object-type="Bar" >
<expr>
a != 4 &amp;&amp; != 5
</expr>
<field-binding field-name="a" identifier="a4" />
</pattern>
<pattern identifier="foo5" object-type="Bar" >
<expr>
b == (a4
+ 1) || &gt; a4
</expr>
</pattern>
<pattern identifier="foo6" object-type="Bar" >
<expr>
b == 6
</expr>
<field-binding field-name="a" identifier="a4" />
</pattern>
<pattern identifier="foo7" object-type="Bar" >
<field-binding field-name="a" identifier="a4" />
<field-binding field-name="b" identifier="b4" />
</pattern>
<pattern identifier="$cheeseList" object-type="ArrayList" >
<expr>
size &gt; 2
</expr>
<from> <collect><pattern object-type="Cheese" >
<expr>
type == $likes
</expr>
</pattern>
</collect> </from> </pattern>
<pattern object-type="Baz" >
</pattern>
</lhs><rhs> if ( a == b ) {
assert( foo3 );
} else {
retract( foo4 );
}
System.out.println( a4 );
testStaticMethod1();
testStaticMethod2();
testStaticMethod3();
</rhs>
</rule><rule name="simple_rule2">
<rule-attribute name="salience" value="(10 + a)" />
<rule-attribute name="dialect" value="mvel" />
<lhs><pattern identifier="foo4" object-type="Bar" >
<expr>
a != 4 &amp;&amp; != 5
</expr>
<field-binding field-name="a" identifier="a4" />
</pattern>
</lhs><rhs> if ( a == b ) {
assert( foo3 );
} else {
retract( foo4 );
}
System.out.println( a4 );
testStaticMethod1();
testStaticMethod2();
testStaticMethod3();
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="foo"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="java.util.HashMap" />
<import name="java.util.HashSet" />
<import name="java.utilArrayList" />
<global identifier="m" type="HashMap" />
<global identifier="s" type="HashSet" />
<global identifier="p" type="org.drools.Person" />
<importfunction name="org.drools.xml.DumperTest.testStaticMethod1"/>
<importfunction name="org.drools.xml.DumperTest.testStaticMethod2"/>
<importfunction name="org.drools.xml.DumperTest.testStaticMethod3"/>
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<rule-attribute name="ruleflow-group" value="xxx" />
<rule-attribute name="lock-on-active" value="true" />
<rule-attribute name="auto-focus" value="true" />
<rule-attribute name="date-effective" value="01-Jan-2007" />
<rule-attribute name="date-expires" value="01-Feb-2007" />
<lhs><pattern identifier="foo2" object-type="Bar" >
<expr>
((a (&gt; 60 &amp;&amp; &lt; 70) || (&gt; 50 &amp;&amp; &lt; 55)) &amp;&amp; (a3 == &quot;black&quot;)) || ((a == 40) &amp;&amp; (a3 == &quot;pink&quot;)) || ((a == 12) &amp;&amp; (a3 == &quot;yellow&quot;)) || (a3 == &quot;blue&quot;)
</expr>
</pattern>
<pattern identifier="foo3" object-type="Bar" >
<expr>
a == 3 || == 4
</expr>
<expr>
a3 == &quot;hello&quot;
</expr>
<expr>
a4 == null
</expr>
</pattern>
<pattern identifier="foo4" object-type="Bar" >
<expr>
a != 4 &amp;&amp; != 5
</expr>
<field-binding field-name="a" identifier="a4" />
</pattern>
<pattern identifier="foo5" object-type="Bar" >
<expr>
b == (a4
+ 1) || &gt; a4
</expr>
</pattern>
<pattern identifier="foo6" object-type="Bar" >
<expr>
b == 6
</expr>
<field-binding field-name="a" identifier="a4" />
</pattern>
<pattern identifier="foo7" object-type="Bar" >
<field-binding field-name="a" identifier="a4" />
<field-binding field-name="b" identifier="b4" />
</pattern>
<pattern identifier="$cheeseList" object-type="ArrayList" >
<expr>
size &gt; 2
</expr>
<from> <collect><pattern object-type="Cheese" >
<expr>
type == $likes
</expr>
</pattern>
</collect> </from> </pattern>
<pattern object-type="Baz" >
</pattern>
</lhs><rhs> if ( a == b ) {
assert( foo3 );
} else {
retract( foo4 );
}
System.out.println( a4 );
testStaticMethod1();
testStaticMethod2();
testStaticMethod3();
</rhs>
</rule><rule name="simple_rule2">
<rule-attribute name="salience" value="(10 + a)" />
<rule-attribute name="dialect" value="mvel" />
<lhs><pattern identifier="foo4" object-type="Bar" >
<expr>
a != 4 &amp;&amp; != 5
</expr>
<field-binding field-name="a" identifier="a4" />
</pattern>
</lhs><rhs> if ( a == b ) {
assert( foo3 );
} else {
retract( foo4 );
}
System.out.println( a4 );
testStaticMethod1();
testStaticMethod2();
testStaticMethod3();
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="pt.inescporto.cec.rules"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="pt.inescporto.cec.entities.SetupInUse" />
<import name="pt.inescporto.cec.entities.SetupUse" />
<import name="pt.inescporto.cec.entities.ArtigoProducao" />
<import name="pt.inescporto.cec.entities.Parameter" />
<import name="pt.inescporto.cec.entities.BestParms" />
<import name="pt.inescporto.cec.entities.AccaoInspeccaoOperacao" />
<import name="pt.inescporto.cec.entities.MelhorEmNaoConformidades" />
<import name="pt.inescporto.cec.entities.OtherInspectionMethod" />
<import name="pt.inescporto.cec.entities.AccaoInspeccao" />
<rule name="ruleBestProductionOrderCreator">
<lhs><pattern object-type="AccaoInspeccao" >
<expr>
artigoID == 3
</expr>
<field-binding field-name="recursoID" identifier="resource" />
<field-binding field-name="operacaoID" identifier="operation" />
<field-binding field-name="ordemProducaoID" identifier="ProductionOrder" />
<field-binding field-name="recursoID" identifier="resourceID" />
<field-binding field-name="accaoInspeccaoID" identifier="InspectionAction" />
</pattern>
<pattern object-type="AccaoInspeccaoOperacao" >
<expr>
inspectionActionID == InspectionAction
</expr>
<field-binding field-name="inspAccaoOperacaoID" identifier="inspectionActionOperation" />
</pattern>
<pattern object-type="OtherInspectionMethod" >
<expr>
inspAccaoOperacaoID == inspectionActionOperation
</expr>
<field-binding field-name="numeroNaoConformidades" identifier="NCNumber" />
</pattern>
<not><pattern object-type="MelhorEmNaoConformidades" >
<expr>
operacaoID == operation
</expr>
<expr>
recursoID == resource
</expr>
</pattern>
</not>
</lhs><rhs>insert(new MelhorEmNaoConformidades(ProductionOrder,NCNumber,operation,resource));</rhs>
</rule><rule name="Best Checker">
<lhs><pattern object-type="AccaoInspeccao" >
<expr>
artigoID == 3
</expr>
<field-binding field-name="recursoID" identifier="resource" />
<field-binding field-name="operacaoID" identifier="operation" />
<field-binding field-name="ordemProducaoID" identifier="ProductionOrder" />
<field-binding field-name="recursoID" identifier="resourceID" />
<field-binding field-name="accaoInspeccaoID" identifier="InspectionAction" />
</pattern>
<pattern object-type="AccaoInspeccaoOperacao" >
<expr>
inspectionActionID == InspectionAction
</expr>
<field-binding field-name="inspAccaoOperacaoID" identifier="inspectionActionOperation" />
</pattern>
<pattern object-type="OtherInspectionMethod" >
<expr>
inspAccaoOperacaoID == inspectionActionOperation
</expr>
<field-binding field-name="numeroNaoConformidades" identifier="NCNumber" />
</pattern>
<pattern identifier="TheBest" object-type="MelhorEmNaoConformidades" >
<expr>
operacaoID == operation
</expr>
<expr>
recursoID == resource
</expr>
<expr>
numeroDefeitos &gt; NCNumber
</expr>
</pattern>
</lhs><rhs>TheBest.setNumeroDefeitos(NCNumber);
TheBest.setOrdemProducaoID(ProductionOrder);
update(TheBest);
</rhs>
</rule><rule name="ruleBestParametersCreator">
<rule-attribute name="salience" value="-100" />
<lhs><pattern object-type="MelhorEmNaoConformidades" >
<field-binding field-name="ordemProducaoID" identifier="$poID" />
<field-binding field-name="numeroDefeitos" identifier="$NC" />
</pattern>
<pattern object-type="SetupInUse" >
<expr>
productionOrderID == $poID
</expr>
<field-binding field-name="setupUseID" identifier="$setup" />
</pattern>
<pattern identifier="$p" object-type="Parameter" >
<expr>
setupUseID == $setup
</expr>
<field-binding field-name="parameterID" identifier="$parID" />
</pattern>
<not><pattern object-type="BestParms" >
<expr>
parameterID == $parID
</expr>
</pattern>
</not>
</lhs><rhs>BestParms newBest=new BestParms();
newBest.setParameterID($parID);
newBest.setNominalValue(new Float($p.getNominalValue()));
newBest.setMaxLimit(new Float($p.getMaxLimit()));
newBest.setMinLimit(new Float($p.getMinLimit()));
newBest.setMaxLimitAlarm(new Float($p.getMaxLimitAlarm()));
newBest.setMinLimitAlarm(new Float($p.getMinLimitAlarm()));
newBest.setNonConformities(new Float($NC));
insert(newBest);
</rhs>
</rule><rule name="ruleBestParametersChecker">
<rule-attribute name="salience" value="-100" />
<lhs><pattern object-type="MelhorEmNaoConformidades" >
<field-binding field-name="ordemProducaoID" identifier="$poID" />
<field-binding field-name="numeroDefeitos" identifier="$NC" />
</pattern>
<pattern object-type="SetupInUse" >
<expr>
productionOrderID == $poID
</expr>
<field-binding field-name="setupUseID" identifier="$setup" />
</pattern>
<pattern identifier="$p" object-type="Parameter" >
<expr>
setupUseID == $setup
</expr>
<field-binding field-name="parameterID" identifier="$parID" />
</pattern>
<pattern identifier="$newBest" object-type="Parameter" >
<expr>
parameterID == $parID
</expr>
<expr>
nonConformities &gt; $NC
</expr>
</pattern>
</lhs><rhs>$newBest.setNominalValue(new Float(p.getNominalValue()));
$newBest.setMaxLimit(new Float(p.getMaxLimit()));
$newBest.setMinLimit(new Float(p.getMinLimit()));
$newBest.setMaxLimitAlarm(new Float(p.getMaxLimitAlarm()));
$newBest.setMinLimitAlarm(new Float(p.getMinLimitAlarm()));
$newBest.setNonConformities(new Float($NC));
update($newBest);
</rhs>
</rule><rule name="print">
<rule-attribute name="salience" value="-110" />
<lhs><pattern identifier="bp" object-type="BestParms" >
</pattern>
</lhs><rhs>System.out.println("Parameter: "+bp.getParameterID()+" Value: "+bp.getNominalValue()+" NC: "+bp.getNonConformities());
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="pt.inescporto.cec.rules"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="pt.inescporto.cec.entities.SetupInUse" />
<import name="pt.inescporto.cec.entities.SetupUse" />
<import name="pt.inescporto.cec.entities.ArtigoProducao" />
<import name="pt.inescporto.cec.entities.Parameter" />
<import name="pt.inescporto.cec.entities.BestParms" />
<import name="pt.inescporto.cec.entities.AccaoInspeccaoOperacao" />
<import name="pt.inescporto.cec.entities.MelhorEmNaoConformidades" />
<import name="pt.inescporto.cec.entities.OtherInspectionMethod" />
<import name="pt.inescporto.cec.entities.AccaoInspeccao" />
<rule name="ruleBestProductionOrderCreator">
<lhs><pattern object-type="AccaoInspeccao" >
<expr>
artigoID == 3
</expr>
<field-binding field-name="recursoID" identifier="resource" />
<field-binding field-name="operacaoID" identifier="operation" />
<field-binding field-name="ordemProducaoID" identifier="ProductionOrder" />
<field-binding field-name="recursoID" identifier="resourceID" />
<field-binding field-name="accaoInspeccaoID" identifier="InspectionAction" />
</pattern>
<pattern object-type="AccaoInspeccaoOperacao" >
<expr>
inspectionActionID == InspectionAction
</expr>
<field-binding field-name="inspAccaoOperacaoID" identifier="inspectionActionOperation" />
</pattern>
<pattern object-type="OtherInspectionMethod" >
<expr>
inspAccaoOperacaoID == inspectionActionOperation
</expr>
<field-binding field-name="numeroNaoConformidades" identifier="NCNumber" />
</pattern>
<not><pattern object-type="MelhorEmNaoConformidades" >
<expr>
operacaoID == operation
</expr>
<expr>
recursoID == resource
</expr>
</pattern>
</not>
</lhs><rhs>insert(new MelhorEmNaoConformidades(ProductionOrder,NCNumber,operation,resource));</rhs>
</rule><rule name="Best Checker">
<lhs><pattern object-type="AccaoInspeccao" >
<expr>
artigoID == 3
</expr>
<field-binding field-name="recursoID" identifier="resource" />
<field-binding field-name="operacaoID" identifier="operation" />
<field-binding field-name="ordemProducaoID" identifier="ProductionOrder" />
<field-binding field-name="recursoID" identifier="resourceID" />
<field-binding field-name="accaoInspeccaoID" identifier="InspectionAction" />
</pattern>
<pattern object-type="AccaoInspeccaoOperacao" >
<expr>
inspectionActionID == InspectionAction
</expr>
<field-binding field-name="inspAccaoOperacaoID" identifier="inspectionActionOperation" />
</pattern>
<pattern object-type="OtherInspectionMethod" >
<expr>
inspAccaoOperacaoID == inspectionActionOperation
</expr>
<field-binding field-name="numeroNaoConformidades" identifier="NCNumber" />
</pattern>
<pattern identifier="TheBest" object-type="MelhorEmNaoConformidades" >
<expr>
operacaoID == operation
</expr>
<expr>
recursoID == resource
</expr>
<expr>
numeroDefeitos &gt; NCNumber
</expr>
</pattern>
</lhs><rhs>TheBest.setNumeroDefeitos(NCNumber);
TheBest.setOrdemProducaoID(ProductionOrder);
update(TheBest);
</rhs>
</rule><rule name="ruleBestParametersCreator">
<rule-attribute name="salience" value="-100" />
<lhs><pattern object-type="MelhorEmNaoConformidades" >
<field-binding field-name="ordemProducaoID" identifier="$poID" />
<field-binding field-name="numeroDefeitos" identifier="$NC" />
</pattern>
<pattern object-type="SetupInUse" >
<expr>
productionOrderID == $poID
</expr>
<field-binding field-name="setupUseID" identifier="$setup" />
</pattern>
<pattern identifier="$p" object-type="Parameter" >
<expr>
setupUseID == $setup
</expr>
<field-binding field-name="parameterID" identifier="$parID" />
</pattern>
<not><pattern object-type="BestParms" >
<expr>
parameterID == $parID
</expr>
</pattern>
</not>
</lhs><rhs>BestParms newBest=new BestParms();
newBest.setParameterID($parID);
newBest.setNominalValue(new Float($p.getNominalValue()));
newBest.setMaxLimit(new Float($p.getMaxLimit()));
newBest.setMinLimit(new Float($p.getMinLimit()));
newBest.setMaxLimitAlarm(new Float($p.getMaxLimitAlarm()));
newBest.setMinLimitAlarm(new Float($p.getMinLimitAlarm()));
newBest.setNonConformities(new Float($NC));
insert(newBest);
</rhs>
</rule><rule name="ruleBestParametersChecker">
<rule-attribute name="salience" value="-100" />
<lhs><pattern object-type="MelhorEmNaoConformidades" >
<field-binding field-name="ordemProducaoID" identifier="$poID" />
<field-binding field-name="numeroDefeitos" identifier="$NC" />
</pattern>
<pattern object-type="SetupInUse" >
<expr>
productionOrderID == $poID
</expr>
<field-binding field-name="setupUseID" identifier="$setup" />
</pattern>
<pattern identifier="$p" object-type="Parameter" >
<expr>
setupUseID == $setup
</expr>
<field-binding field-name="parameterID" identifier="$parID" />
</pattern>
<pattern identifier="$newBest" object-type="Parameter" >
<expr>
parameterID == $parID
</expr>
<expr>
nonConformities &gt; $NC
</expr>
</pattern>
</lhs><rhs>$newBest.setNominalValue(new Float(p.getNominalValue()));
$newBest.setMaxLimit(new Float(p.getMaxLimit()));
$newBest.setMinLimit(new Float(p.getMinLimit()));
$newBest.setMaxLimitAlarm(new Float(p.getMaxLimitAlarm()));
$newBest.setMinLimitAlarm(new Float(p.getMinLimitAlarm()));
$newBest.setNonConformities(new Float($NC));
update($newBest);
</rhs>
</rule><rule name="print">
<rule-attribute name="salience" value="-110" />
<lhs><pattern identifier="bp" object-type="BestParms" >
</pattern>
</lhs><rhs>System.out.println("Parameter: "+bp.getParameterID()+" Value: "+bp.getNominalValue()+" NC: "+bp.getNonConformities());
</rhs>
</rule>
</package>
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.464 sec
Running org.drools.compiler.xml.rules.XmlPackageReaderTest
(null: 5, 85): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 5, 85): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 7, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 8, 33): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 9, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 7, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 8, 33): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 11, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 12, 54): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 7, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 8, 33): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 10, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 11, 54): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 13, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 14, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 15, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 17, 13): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 79): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 79): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 7, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 8, 34): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 10, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 11, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 13, 47): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 14, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 15, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 17, 13): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 22, 29): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 23, 52): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 24, 53): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 25, 66): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 26, 74): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 28, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 29, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 30, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 31, 43): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 32, 52): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 33, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 34, 53): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 36, 61): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 38, 61): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 40, 53): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 42, 61): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 44, 61): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 49, 53): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 51, 41): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 55, 43): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 56, 52): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 58, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 61, 53): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 63, 40): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 67, 43): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 68, 52): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 70, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 73, 53): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 74, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 76, 60): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 78, 58): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 85, 15): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 86, 43): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 87, 53): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 89, 42): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 93, 21): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 94, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 95, 56): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 97, 60): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 103, 34): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 104, 58): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 105, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 106, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 108, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 110, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 113, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 115, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 117, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 119, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 123, 58): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 124, 64): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 125, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 127, 34): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 129, 34): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 134, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 135, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 136, 43): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 138, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 140, 40): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 142, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 149, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 150, 61): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 151, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 153, 31): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 157, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 158, 61): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 159, 61): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 161, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 164, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 174, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 176, 59): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 178, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 179, 41): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 181, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 182, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 185, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 189, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 192, 33): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 201, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 79): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 79): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 7, 36): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 8, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 10, 44): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 12, 30): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 13, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 14, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 15, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 17, 35): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 21, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 26, 30): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 27, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 28, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 29, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 30, 43): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 32, 35): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 34, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 39, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 44, 30): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 45, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 46, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 47, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 48, 43): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 50, 35): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 51, 47): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 53, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 55, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 61, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 67, 30): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 68, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 69, 58): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 71, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 72, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 74, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 78, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 83, 30): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 84, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 85, 58): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 87, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 88, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 89, 52): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 91, 40): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 94, 51): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 95, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 97, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 98, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 100, 57): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 102, 57): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 109, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 114, 30): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 115, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 116, 58): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 118, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 119, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 120, 52): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 122, 40): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 125, 43): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 126, 54): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 128, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 130, 54): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 132, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 134, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 136, 40): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 142, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 7, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 8, 33): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 10, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 11, 54): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 13, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 14, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 15, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 17, 13): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 22, 24): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 23, 10): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 25, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 27, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 29, 41): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 32, 52): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 35, 34): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 36, 64): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 37, 47): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 38, 72): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 39, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 40, 75): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 43, 58): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 46, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 47, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 50, 15): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 51, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 54, 32): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 55, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 56, 41): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 57, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 62, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 63, 45): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 64, 42): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 65, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 68, 13): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 71, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 7, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 8, 33): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 10, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 11, 54): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 13, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 14, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 15, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 17, 13): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 22, 24): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 23, 10): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 26, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 6, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 7, 33): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 9, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 10, 54): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 12, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 13, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 14, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 16, 13): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 21, 26): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 22, 10): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 23, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.353 sec
Running org.drools.conf.KnowledgeBaseConfigurationTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec
Running org.drools.conf.KnowledgeSessionConfigurationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.core.reteoo.BinaryHeapQueueTest
Running setup
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.definitions.KnowledgePackageMetaDataTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec
Running org.drools.factmodel.traits.TraitTest
X
>>> 0
[0, 8, 9, 7, 6, 5, 3, 4, 2, 1]
(@org.test.PersonorgtestImpProxy) : [<<name=adam>>, <<code=456>>, <<code=code123>>]
(@org.drools.factmodel.traits.IStudentorgdroolsfactmodeltraitsEntityProxy) : [<<age=30>>, <<roleName=john>>, <<name=john>>, <<school=skol>>]
(@org.test.PersonorgdroolsfactmodeltraitsEntityProxy) : [<<age=30>>, <<roleName=john>>, <<school=skol>>, <<name=john>>]
(@org.test.WorkerorgdroolsfactmodeltraitsEntityProxy) : [<<roleName=john>>, <<school=skol>>, <<name=john>>, <<age=30>>]
(@org.drools.factmodel.traits.IPersonorgdroolsfactmodeltraitsEntityProxy) : [<<school=skol>>, <<roleName=john>>, <<age=30>>, <<name=john>>]
(@org.drools.factmodel.traits.IRole_Trait__ExtensionorgdroolsfactmodeltraitsEntityProxy) : [<<school=skol>>, <<roleName=john>>, <<age=30>>, <<name=john>>]
John the IRole is here
John the IStudent is here
John the IPerson is here
John the Worker is here
John the Person is here
-------------- 7 ----------------
org.drools.factmodel.traits.Entity@10172bf1
(@org.test.PersonorgdroolsfactmodeltraitsEntityProxy) : [<<roleName=john>>, <<age=30>>, <<school=skol>>, <<name=john>>]
(@org.drools.factmodel.traits.IStudentorgdroolsfactmodeltraitsEntityProxy) : [<<roleName=john>>, <<name=john>>, <<age=30>>, <<school=skol>>]
(@org.drools.factmodel.traits.IPersonorgdroolsfactmodeltraitsEntityProxy) : [<<roleName=john>>, <<name=john>>, <<school=skol>>, <<age=30>>]
(@org.drools.factmodel.traits.ThingorgdroolsfactmodeltraitsEntityProxy) : [<<name=john>>, <<school=skol>>, <<age=30>>, <<roleName=john>>]
(@org.test.WorkerorgdroolsfactmodeltraitsEntityProxy) : [<<name=john>>, <<roleName=john>>, <<school=skol>>, <<age=30>>]
(@org.drools.factmodel.traits.IRole_Trait__ExtensionorgdroolsfactmodeltraitsEntityProxy) : [<<roleName=john>>, <<name=john>>, <<school=skol>>, <<age=30>>]
-------------- ----------------
[OK5, OK4, OK3, OK2, OK]
-------------- ----------------
(@org.test.ComplexTraitorgtestBeanProxy) : [<<nested=(@org.test.SimpleTraitorgdroolsfactmodeltraitsEntityProxy) : [<<name=xyz>>]>>, <<id=asd>>, <<addrex=[here]>>, <<nest2=(@org.test.AnotherTraitorgdroolsfactmodeltraitsEntityProxy) : [<<field=[aaa]>>]>>, <<ages=[22, 18]>>]
-------------- 7 ----------------
(@org.test.AnotherTraitorgdroolsfactmodeltraitsEntityProxy) : [<<field=[aaa]>>]
(@org.test.SimpleTraitorgdroolsfactmodeltraitsEntityProxy) : [<<name=xyz>>]
Bean( id=asd, addrex=[here] )
(@org.drools.factmodel.traits.ThingorgdroolsfactmodeltraitsEntityProxy) : [<<field=[aaa]>>]
(@org.test.ComplexTraitorgtestBeanProxy) : [<<ages=[22, 18]>>, <<addrex=[here]>>, <<id=asd>>, <<nest2=(@org.test.AnotherTraitorgdroolsfactmodeltraitsEntityProxy) : [<<field=[aaa]>>]>>, <<nested=(@org.test.SimpleTraitorgdroolsfactmodeltraitsEntityProxy) : [<<name=xyz>>]>>]
(@org.drools.factmodel.traits.ThingorgtestBeanProxy) : [<<ages=[22, 18]>>, <<nested=(@org.test.SimpleTraitorgdroolsfactmodeltraitsEntityProxy) : [<<name=xyz>>]>>, <<addrex=[here]>>, <<nest2=(@org.test.AnotherTraitorgdroolsfactmodeltraitsEntityProxy) : [<<field=[aaa]>>]>>, <<id=asd>>]
(@org.drools.factmodel.traits.ThingorgdroolsfactmodeltraitsEntityProxy) : [<<name=xyz>>]
-------------- ----------------
[OK]
-------------- ----------------
Person trait : (@org.test.PersonorgdroolsfactmodeltraitsImpWrapperProxy) : [<<school=null>>, <<age=0>>, <<age=30>>, <<name=john>>]
John the Person is here >>> (@org.test.PersonorgdroolsfactmodeltraitsImpWrapperProxy) : [<<name=john>>, <<age=0>>, <<age=30>>, <<school=null>>]
John the Role is here >>> myRole
John the Role is here >>> (@org.drools.factmodel.traits.IRole_Trait__ExtensionorgdroolsfactmodeltraitsImpWrapperProxy) : [<<school=null>>, <<roleName=myRole>>, <<name=john>>, <<age=0>>, <<age=30>>]
-------------- 5 ----------------
Imp{name='john', school='null'}
(@org.drools.factmodel.traits.ThingorgdroolsfactmodeltraitsImpWrapperProxy) : [<<age=30>>, <<name=john>>, <<school=null>>, <<roleName=myRole>>, <<age=0>>]
(@org.test.PersonorgdroolsfactmodeltraitsImpWrapperProxy) : [<<age=0>>, <<school=null>>, <<roleName=myRole>>, <<age=30>>, <<name=john>>]
(@org.drools.factmodel.traits.ThingorgdroolsfactmodeltraitsImpWrapperProxy) : [<<roleName=myRole>>, <<age=0>>, <<age=30>>, <<name=john>>, <<school=null>>]
(@org.drools.factmodel.traits.IRole_Trait__ExtensionorgdroolsfactmodeltraitsImpWrapperProxy) : [<<age=0>>, <<age=30>>, <<school=null>>, <<roleName=myRole>>, <<name=john>>]
-------------- ----------------
[OK, OK2]
-------------- ----------------
Compare (@org.test.StudentorgtestImpProxy) : [<<name=alan>>, <<dcode=3.47>>, <<code=33>>, <<school=zkl>>, <<age=12>>] vs (@org.test.StudentorgtestImpProxy) : [<<code=33>>, <<age=0>>, <<dcode=3.44>>, <<school=squola>>, <<name=alan>>]
Log org.drools.reteoo.InitialFactImpl@4dde85f0
Log (@org.test.TrueTraitorgtestDeclaredFactProxy) : [<<id=1>>, <<flag=true>>]
Log (@org.drools.factmodel.traits.ThingorgtestDeclaredFactProxy) : [<<id=1>>, <<flag=true>>]
Log DeclaredFact( id=2, flag=false )
Log DeclaredFact( id=1, flag=true )
!!QQE!
old
unread
Hello World
Starting execution...
Student is attending Masaryk University
Person is a student: [Person name='student age='18' likes='null']
Finished...
TIME : 1399
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.4 sec
Running org.drools.factmodel.traits.TripleBasedTraitsTest
TIME : 49
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec
Running org.drools.integrationtests.AccumulateTest
3
9.0
ok
We have a sum 0.0
We have a sum 0.0
We have a sum 1.0
We have a sum 3.0
We have a sum 6.0
We have a sum 10.0
We have a sum 15.0
We have a sum 21.0
We have a sum 28.0
We have a sum 36.0
We have a sum 45.0
We have a sum 55.0
We have a sum 65.0
We have a sum 75.0
We have a sum 85.0
We have a sum 95.0
We have a sum 105.0
We have a sum 115.0
We have a sum 125.0
We have a sum 135.0
We have a sum 145.0
We have a sum 155.0
We have a sum 165.0
We have a sum 175.0
We have a sum 185.0
We have a sum 195.0
We have a sum 205.0
We have a sum 215.0
We have a sum 225.0
We have a sum 235.0
We have a sum 245.0
We have a sum 255.0
We have a sum 265.0
We have a sum 275.0
We have a sum 0.0
We have a sum 0.0
We have a sum 1.0
We have a sum 3.0
We have a sum 6.0
We have a sum 10.0
We have a sum 15.0
We have a sum 21.0
We have a sum 28.0
We have a sum 36.0
We have a sum 45.0
We have a sum 55.0
We have a sum 66.0
We have a sum 78.0
We have a sum 91.0
We have a sum 105.0
We have a sum 120.0
We have a sum 136.0
We have a sum 153.0
We have a sum 171.0
We have a sum 190.0
We have a sum 210.0
We have a sum 231.0
We have a sum 253.0
We have a sum 276.0
We have a sum 300.0
We have a sum 325.0
We have a sum 351.0
We have a sum 378.0
We have a sum 406.0
We have a sum 435.0
We have a sum 465.0
We have a sum 496.0
We have a sum 528.0
We have a sum 0.0
We have a sum 0.0
We have a sum 1.0
We have a sum 3.0
We have a sum 6.0
We have a sum 10.0
We have a sum 15.0
We have a sum 21.0
We have a sum 28.0
We have a sum 36.0
We have a sum 45.0
We have a sum 55.0
We have a sum 65.0
We have a sum 75.0
We have a sum 85.0
We have a sum 95.0
We have a sum 105.0
We have a sum 115.0
We have a sum 125.0
We have a sum 135.0
We have a sum 145.0
We have a sum 155.0
We have a sum 165.0
We have a sum 175.0
We have a sum 185.0
We have a sum 195.0
We have a sum 205.0
We have a sum 215.0
We have a sum 225.0
We have a sum 235.0
We have a sum 245.0
We have a sum 255.0
We have a sum 265.0
We have a sum 275.0
Tests run: 51, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.038 sec
Running org.drools.integrationtests.AlphaNetworkModifyTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 sec
Running org.drools.integrationtests.AnnotationsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.091 sec
Running org.drools.integrationtests.ArrayContainsTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.491 sec
Running org.drools.integrationtests.BackwardChainingTest
You are in the kitchen
You can see [apple, broccoli, crackers]
You can eat [apple, crackers]
You can go to [office, cellar, dining room]
You are in the office
You can see [desk, computer]
You can eat [apple]
You can go to [hall, kitchen]
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.526 sec
Running org.drools.integrationtests.CepEspTest
StockTick( 2 : B : 10.0 )
StockTick( 3 : B : 10.0 )
StockTick( 1 : A : 10.0 )
StockTick( 2 : B : 10.0 )
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.978 sec
Running org.drools.integrationtests.ConsequenceOffsetTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 sec
Running org.drools.integrationtests.DateComparisonTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
Running org.drools.integrationtests.DeclarativeAgendaTest
[blockerAllSalesRules1:rule0:go1, blockerAllSalesRules2:rule0:go2, blockerAllSalesRules3:rule0:go3]
[]
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.306 sec
Running org.drools.integrationtests.DroolsEventListTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec
Running org.drools.integrationtests.DroolsTest
20:passed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
Running org.drools.integrationtests.DslTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.131 sec
Running org.drools.integrationtests.DynamicRulesChangesTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0 sec
Running org.drools.integrationtests.DynamicRulesTest
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.782 sec
Running org.drools.integrationtests.EnumTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.074 sec
Running org.drools.integrationtests.eventgenerator.SimpleEventGeneratorTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.223 sec
Running org.drools.integrationtests.ExecutionFlowControlTest
Holds: 1
setting 1
Holds: null
setting null
Holds: 0
setting 0
Clearing ruleflow-group
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.47 sec
Running org.drools.integrationtests.ExpressionConstraintsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec
Running org.drools.integrationtests.ExtendsTest
Equality found Student( name=adam, age=14, school=AnotherSchool ) vs Student( name=adam, age=14, school=AnotherSchool )
Found person : Student( name=adam, age=14, school=AnotherSchool )
Equality found Student( name=adam, age=14, school=Zkool ) vs Student( name=adam, age=14, school=Zkool )
Equality found Student( name=adam, age=8, school=Zkool ) vs Student( name=adam, age=14, school=Zkool )
Equality found Student( name=adam, age=14, school=Zkool ) vs Student( name=adam, age=8, school=Zkool )
Found person : Student( name=adam, age=14, school=Zkool )
Equality found Student( name=adam, age=8, school=Zkool ) vs Student( name=adam, age=8, school=Zkool )
Found person : Student( name=adam, age=8, school=Zkool )
Equality found Person( name=john, age=30 ) vs Person( name=john, age=30 )
Equality found Person( name=john, age=42 ) vs Person( name=john, age=30 )
Equality found Person( name=john, age=30 ) vs Person( name=john, age=42 )
Found person : Person( name=john, age=30 )
Equality found Person( name=john, age=42 ) vs Person( name=john, age=42 )
Found person : Person( name=john, age=42 )
Equality found Person( name=joe, age=18 ) vs Person( name=joe, age=18 )
Found person : Person( name=joe, age=18 )
New declaration of org.drools.LegacyBean can't declare new fields
Error creating field accessors for TypeDeclaration 'LegacyBean' for type 'LegacyBean'
BetterLegacy( doubleField=3.3, decimalField=null, intField=245, objField=null, strField=XX, prop=true, oneMoreField=Hello )
Bean2( fld=4, myField=xxx, moref=0.0 )
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.218 sec
Running org.drools.integrationtests.FailureOnRemovalTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec
Running org.drools.integrationtests.FireAllRulesCommandTest
Cheese( type='stilton', price=0 )
Cheese( type='limburger', price=0 )
Cheese( type='stinky', price=0 )
Cheese( type='cheddar', price=0 )
Cheese( type='gruyere', price=0 )
Cheese( type='stilton', price=0 )
Cheese( type='stilton', price=0 )
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec
Running org.drools.integrationtests.FirstOrderLogicTest
ACTIVATION CREATED rule:Setup activationId:Setup [0] declarations:
BEFORE ACTIVATION FIRED rule:Setup activationId:Setup [0] declarations:
OBJECT ASSERTED value:A( id=1 ) factId: 1
OBJECT ASSERTED value:A( id=1 ) factId: 2
OBJECT ASSERTED value:B( id=1 ) factId: 3
OBJECT ASSERTED value:C( id=1 ) factId: 4
OBJECT ASSERTED value:B( id=2 ) factId: 5
ACTIVATION CREATED rule:Trigger activationId:Trigger [6, 4, 1] declarations: $c1=C( id=1 )(4); $c4=C( id=4 )(6); $a=A( id=1 )(1)
ACTIVATION CREATED rule:Trigger activationId:Trigger [6, 4, 2] declarations: $c1=C( id=1 )(4); $c4=C( id=4 )(6); $a=A( id=1 )(2)
ACTIVATION CREATED rule:Offending activationId:Offending [4, 3, 1] declarations: $id=1(1)
ACTIVATION CREATED rule:Offending activationId:Offending [4, 3, 2] declarations: $id=1(2)
ACTIVATION CREATED rule:Offending activationId:Offending [4, 5, 1] declarations: $id=1(1)
ACTIVATION CREATED rule:Offending activationId:Offending [4, 5, 2] declarations: $id=1(2)
OBJECT ASSERTED value:C( id=4 ) factId: 6
AFTER ACTIVATION FIRED rule:Setup activationId:Setup [0] declarations:
BEFORE ACTIVATION FIRED rule:Trigger activationId:Trigger [6, 4, 2] declarations: $c1=C( id=1 )(4); $c4=C( id=4 )(6); $a=A( id=1 )(2)
OBJECT MODIFIED value:A( id=1 ) factId: 2
OBJECT MODIFIED value:C( id=1 ) factId: 4
ACTIVATION CANCELLED rule:Trigger activationId:Trigger [6, 4, 1] declarations: $c1=C( id=1 )(4); $c4=C( id=5 )(6); $a=A( id=1 )(1)
ACTIVATION CANCELLED rule:Offending activationId:Offending [4, 3, 1] declarations: $id=1(1)
ACTIVATION CANCELLED rule:Offending activationId:Offending [4, 5, 1] declarations: $id=1(1)
ACTIVATION CANCELLED rule:Offending activationId:Offending [4, 3, 2] declarations: $id=1(2)
ACTIVATION CANCELLED rule:Offending activationId:Offending [4, 5, 2] declarations: $id=1(2)
OBJECT MODIFIED value:C( id=5 ) factId: 6
AFTER ACTIVATION FIRED rule:Trigger activationId:Trigger [6, 4, 2] declarations: $c1=C( id=1 )(4); $c4=C( id=5 )(6); $a=A( id=1 )(2)
0 11/07 13:42:12,180[main] INFO drools.integrationtests.FirstOrderLogicTest.testLotsOfOrs - package org.drools.test
import org.drools.integrationtests.FirstOrderLogicTest.Field;
rule "test"
when
(
(
a : Field( name == "a") and
eval( !a.getValue().equals("a") ) and
b : Field( name == "b" ) and
eval( b.intValue()>10 )
)
or
(
b2 : Field( name == "b" ) and
eval( b2.intValue()<10 )
)
)
and
(
t : Field( name == "t" ) and
eval( t.getValue().equals("Y") )
)
and (
(
c : Field( name == "c" ) and
eval( c.getValue().equals("c") ) and
d : Field( name == "d" ) and
eval( d.intValue()<5 )
)
or
(
c : Field( name == "c" ) and
eval( c.getValue().equals("c") ) and
d : Field( name == "d" ) and
eval( d.intValue()<20 )
)
or
(
c : Field( name == "c") and
eval( c.getValue().equals("d") ) and
d : Field( name == "d" ) and
eval( d.intValue()<20 )
)
)
then
System.out.println( "Worked!" );
end
Tests run: 33, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.873 sec
Running org.drools.integrationtests.FunctionsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.128 sec
Running org.drools.integrationtests.FusionIncrementalKbaseTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.432 sec
Running org.drools.integrationtests.HelloWorldTest
Hello World
Goodbye cruel world
onBreak
onBreak
Hello World
onBreak
Goodbye cruel world
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec
Running org.drools.integrationtests.I18nTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.014 sec
Running org.drools.integrationtests.IndexingTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 sec
Running org.drools.integrationtests.IntegrationInterfacesTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.113 sec
Running org.drools.integrationtests.KnowledgeBuilderTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.176 sec
Running org.drools.integrationtests.LargeRuleBaseSerializationTest
Generating 525 rules
Parsing 525 rules
Tests run: 5, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 14.651 sec
Running org.drools.integrationtests.LRUnlinkingTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running org.drools.integrationtests.marshalling.FactHandleMarshallingTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.integrationtests.marshalling.InputStreamMarkResetTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.integrationtests.marshalling.MarshallingIssuesTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
Running org.drools.integrationtests.marshalling.MarshallingTest
[[Person name='bob age='0' likes=''], [Person name='help age='0' likes='']]
[fired1, fired2]
[[Person name='help age='0' likes=''], [Person name='bob age='0' likes='']]
Tests run: 39, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0.975 sec
Running org.drools.integrationtests.marshalling.WorkItemMarshallingTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.integrationtests.MBeansMonitoringTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.drools.integrationtests.MiscTest
21185 11/07 13:42:33,365[main] WARN drools.integrationtests.MiscTest.testMissingImport - Unable to resolve ObjectType 'MissingClass' : [Rule name='rule1']
21192 11/07 13:42:33,372[main] WARN drools.integrationtests.MiscTest.testInvalidModify1 - Rule Compilation error : [Rule name='rule1']
org/drools/Rule_rule1_9af7be2915114612a7129558e30a9253.java (7:421) : The method modify(Cheese) is undefined for the type Rule_rule1_9af7be2915114612a7129558e30a9253
21212 11/07 13:42:33,392[main] WARN drools.integrationtests.MiscTest.testInvalidModify2 - Rule Compilation error : [Rule name='rule1']
org/drools/Rule_rule1_72ea7e1d1d0b4677a7fc451fd624207e.java (7:398) : The method modify(Cheese) is undefined for the type Rule_rule1_72ea7e1d1d0b4677a7fc451fd624207e
org/drools/Rule_rule1_72ea7e1d1d0b4677a7fc451fd624207e.java (7:409) : Syntax error, insert ";" to complete Statement
org/drools/Rule_rule1_72ea7e1d1d0b4677a7fc451fd624207e.java (7:413) : The method setType(String) is undefined for the type Rule_rule1_72ea7e1d1d0b4677a7fc451fd624207e
org/drools/Rule_rule1_72ea7e1d1d0b4677a7fc451fd624207e.java (7:435) : The method setType(String) is undefined for the type Rule_rule1_72ea7e1d1d0b4677a7fc451fd624207e
org/drools/Rule_rule1_72ea7e1d1d0b4677a7fc451fd624207e.java (7:463) : list cannot be resolved
org.drools.impl.StatefulKnowledgeSessionImpl@2fe3d69c
rule6
rule5
rule2
rule1
rule4
rule3
OK!
first
goober
21972 11/07 13:42:34,152[main] INFO drools.integrationtests.MiscTest.testWithInvalidRule2 - [9,0]: [ERR 102] Line 9:0 mismatched input 'then' in rule "not rule test"
[0,0]: Parser returned a null Package
22014 11/07 13:42:34,194[main] INFO drools.integrationtests.MiscTest.testAssertRetract - first
22015 11/07 13:42:34,195[main] INFO drools.integrationtests.MiscTest.testAssertRetract - second
22015 11/07 13:42:34,195[main] INFO drools.integrationtests.MiscTest.testAssertRetract - third
22015 11/07 13:42:34,195[main] INFO drools.integrationtests.MiscTest.testAssertRetract - fourth
22015 11/07 13:42:34,195[main] INFO drools.integrationtests.MiscTest.testAssertRetract - fifth
22890 11/07 13:42:35,070[main] INFO drools.integrationtests.MiscTest.testMatchesNotMatchesCheese - [Cheese( type='stilton', price=12 ), Cheese( type='brie', price=10 ), Cheese( type='aged stilton', price=12 ), Cheese( type='provolone', price=10 )]
ACTIVATION CREATED rule:2. not home == null activationId:2. not home == null [0] declarations:
ACTIVATION CREATED rule:4. not home != null activationId:4. not home != null [0] declarations:
ACTIVATION CREATED rule:6. not work == null activationId:6. not work == null [0] declarations:
ACTIVATION CREATED rule:8. not work != null activationId:8. not work != null [0] declarations:
ACTIVATION CREATED rule:1. home != null activationId:1. home != null [1] declarations:
ACTIVATION CANCELLED rule:4. not home != null activationId:4. not home != null [0] declarations:
ACTIVATION CANCELLED rule:6. not work == null activationId:6. not work == null [0] declarations:
ACTIVATION CREATED rule:7. work == null activationId:7. work == null [1] declarations:
OBJECT ASSERTED value:[Person name='Bob age='0' likes=''] factId: 1
BEFORE ACTIVATION FIRED rule:1. home != null activationId:1. home != null [1] declarations:
AFTER ACTIVATION FIRED rule:1. home != null activationId:1. home != null [1] declarations:
BEFORE ACTIVATION FIRED rule:2. not home == null activationId:2. not home == null [0] declarations:
AFTER ACTIVATION FIRED rule:2. not home == null activationId:2. not home == null [0] declarations:
BEFORE ACTIVATION FIRED rule:7. work == null activationId:7. work == null [1] declarations:
AFTER ACTIVATION FIRED rule:7. work == null activationId:7. work == null [1] declarations:
BEFORE ACTIVATION FIRED rule:8. not work != null activationId:8. not work != null [0] declarations:
AFTER ACTIVATION FIRED rule:8. not work != null activationId:8. not work != null [0] declarations:
[Person name='darth age='15' likes='cheddar']:[Person name='darth age='30' likes='brie']
[Person name='darth age='25' likes='cheddar']:[Person name='darth age='30' likes='brie']
Second class!
First class!
hello person
hello person
hello person
27611 11/07 13:42:39,791[main] INFO drools.integrationtests.MiscTest.testJBRULES2872 - Unable to Analyse Expression enumVal == TestEnum.ONE || enumVal == TestEnum.TWO:
[Error: unable to resolve method using strict-mode: org.drools.FactA.TestEnum()]
[Near : {... enumVal == TestEnum.ONE || enumVal == Tes ....}]
^
[Line: 5, Column: 11] : [Rule name='X']
27666 11/07 13:42:39,846[main] INFO drools.integrationtests.MiscTest.testNonBooleanConstraint - Predicate 'name + name' must be a Boolean expression
[Line: 5, Column: 17] : [Rule name='test']
27790 11/07 13:42:39,970[main] INFO drools.integrationtests.MiscTest.utilMethod - in utilMethod >asdf< >Value1< returns false
27790 11/07 13:42:39,970[main] INFO drools.integrationtests.MiscTest.utilMethod - in utilMethod >asdf< >Value2< returns false
27791 11/07 13:42:39,971[main] INFO drools.integrationtests.MiscTest.utilMethod - in utilMethod >asdf< >Value3< returns false
ID compared values: 3.0, 4.0 - actual ID value: 3.0
test1 1 << 65552 = 10000
test1 1 << 65536 = 1
test1 1 << 65568 = 1
test2 1 << 4294967296 = 1
test2 1 << 65536 = 1
test2 1 << 65552 = 10000
test2 1 << 65568 = 1
test3 1 << 4294967296 = 1
test3 1 << 65536 = 1
test3 1 << 65552 = 10000
test4 1 << 65552 = 10000
test4 1 << 65536 = 1
child
2 > 1
[x]
rule fired
rule fired
[Person name='hungry age='0' likes='null']
[Person name='fine age='0' likes='null']
org.drools.reteoo.InitialFactImpl@4dde85f0
null
Tests run: 287, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 7.741 sec
Running org.drools.integrationtests.MultithreadTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.205 sec
Running org.drools.integrationtests.MVELTest
null
package org.drools
import org.drools.Cheese
dialect "mvel"
rule rule1
when
$c:Cheese(type=="swiss")
then
modify($c){ type = "swiss,good"};
end
package org.drools
import org.drools.Cheese
dialect "mvel"
rule rule1
when
$c:Cheese(type=="swiss")
then
modify($c){ type = "swiss=good"};
end
package org.drools
import org.drools.Cheese
dialect "mvel"
rule rule1
when
$c:Cheese(type=="swiss")
then
modify($c){ type = "swiss|=good"};
end
package org.drools
import org.drools.Cheese
dialect "mvel"
rule rule1
when
$c:Cheese(type=="swiss")
then
modify($c){ type = "swiss*good"};
end
Tests run: 19, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.252 sec
Running org.drools.integrationtests.OutOfMemoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0 sec
Running org.drools.integrationtests.PackageBuilderThreadSafetyTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.167 sec
Running org.drools.integrationtests.ParallelCompilationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.556 sec
Running org.drools.integrationtests.PropertySpecificTest
Move: Hero{position=1} : MoveCommand{move=1}
Move: Hero{position=2} : MoveCommand{move=1}
R1
R2
R3
R4
Tests run: 55, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.371 sec
Running org.drools.integrationtests.Query2Test
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.108 sec
Running org.drools.integrationtests.QueryTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.739 sec
Running org.drools.integrationtests.RulebasePartitioningTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.drools.integrationtests.ScannerChangeSetTest
[2012-07-11 13:42:46,211:info] ResourceChangeScanner reconfigured with interval=1
[2012-07-11 13:42:46,211:info] ResourceChangeScanner reconfigured with interval=1
[2012-07-11 13:42:46,211:info] ResourceChangeNotification scanner has stopped
[2012-07-11 13:42:46,213:info] ResourceChangeNotification scanner has started
[2012-07-11 13:42:46,213:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:42:46,213:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:42:46,214:debug] KnowledgeAgent building resource map
[2012-07-11 13:42:46,214:info] KnowledgeAgent has started listening for ChangeSet notifications
[2012-07-11 13:42:46,214:info] KnowledgeAgent created, with configuration:
monitorChangeSetEvents=true scanResources=true scanDirectories=true newInstance=true
[2012-07-11 13:42:46,610:info] KnowledgeAgent applying ChangeSet
[2012-07-11 13:42:46,610:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg']
[2012-07-11 13:42:46,610:debug] ResourceChangeNotification subscribing listener=org.drools.agent.impl.KnowledgeAgentImpl@6e526323 to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg']
[2012-07-11 13:42:46,611:debug] ResourceChangeScanner subcribing notifier=org.drools.io.impl.ResourceChangeNotifierImpl@6179d854 to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg']
[2012-07-11 13:42:46,611:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:42:46,616:debug] KnowledgeAgent building resource map
[2012-07-11 13:42:46,616:debug] KnowledgeAgent no resource mapped for rule=[Rule name=Hello World, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:42:46,616:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] to KnowledgeDefinition=[Rule name=Hello World, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:42:46,616:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] to KnowledgeDefinition=[Rule name=GoodBye, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:42:46,616:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] to KnowledgeDefinition=TypeDeclaration{typeName='Message', role=FACT, format=POJO, kind=CLASS, nature=DECLARATION}
[2012-07-11 13:42:46,616:info] KnowledgeAgent new KnowledgeBase now built and in use
[2012-07-11 13:42:46,616:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:42:46,617:info] ResourceChangeNotification has started listening for ChangeSet publications
[2012-07-11 13:42:46,617:info] ResourceChangeNotification scanner has started
[2012-07-11 13:42:46,617:debug] ResourceChangeNotification thread is waiting for queue update
[2012-07-11 13:42:46,617:debug] ResourceChangeScanner attempt to scan 2 resources
[2012-07-11 13:42:46,617:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:42:47,214:debug] ResourceChangeScanner attempt to scan 2 resources
[2012-07-11 13:42:47,215:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:42:47,618:debug] ResourceChangeScanner attempt to scan 2 resources
[2012-07-11 13:42:47,618:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:42:48,216:debug] ResourceChangeScanner attempt to scan 2 resources
[2012-07-11 13:42:48,216:debug] ResourceChangeScanner modified resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] : 1342006965000 : 1342006968000
[2012-07-11 13:42:48,216:debug] ResourceChangeNotification received ChangeSet notification
[2012-07-11 13:42:48,216:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:42:48,216:debug] ResourceChangeNotification processing ChangeSet
[2012-07-11 13:42:48,216:debug] ResourceChangeNotification ChangeSet modified resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] for listener=org.drools.agent.impl.KnowledgeAgentImpl@6e526323
[2012-07-11 13:42:48,216:debug] KnowledgeAgent received ChangeSet changed notification
[2012-07-11 13:42:48,216:debug] ResourceChangeNotification thread is waiting for queue update
[2012-07-11 13:42:48,217:info] KnowledgeAgent applying ChangeSet
[2012-07-11 13:42:48,217:debug] KnowledgeAgent removing mappings for resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] with unsubscribe=false
[2012-07-11 13:42:48,217:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:42:48,220:debug] KnowledgeAgent building resource map
[2012-07-11 13:42:48,220:debug] KnowledgeAgent no resource mapped for rule=[Rule name=GoodBye, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:42:48,220:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] to KnowledgeDefinition=[Rule name=GoodBye, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:42:48,220:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] to KnowledgeDefinition=TypeDeclaration{typeName='Message', role=FACT, format=POJO, kind=CLASS, nature=DECLARATION}
[2012-07-11 13:42:48,220:info] KnowledgeAgent new KnowledgeBase now built and in use
[2012-07-11 13:42:48,220:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:42:48,619:debug] ResourceChangeScanner attempt to scan 2 resources
[2012-07-11 13:42:48,620:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:42:49,217:debug] ResourceChangeScanner attempt to scan 2 resources
[2012-07-11 13:42:49,217:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:42:49,619:info] ResourceChangeNotification scanner has stopped
[2012-07-11 13:42:49,620:info] ResourceChangeNotification has stopped listening for ChangeSet publications
[2012-07-11 13:42:49,620:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg']
[2012-07-11 13:42:49,620:debug] ResourceChangeNotification unsubscribing listener=org.drools.agent.impl.KnowledgeAgentImpl@6e526323 to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg']
[2012-07-11 13:42:49,620:debug] ResourceChangeScanner unsubcribing notifier=org.drools.io.impl.ResourceChangeNotifierImpl@6179d854 to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg']
[2012-07-11 13:42:49,620:debug] ResourceChangeScanner resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] now has no subscribers
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.517 sec
Running org.drools.integrationtests.sequential.SequentialTest
[2012-07-11 13:42:49,620:info] KnowledgeAgent has stopped listening for ChangeSet notifications
org.drools.impl.StatefulKnowledgeSessionImpl@6a2fd86a
org.drools.impl.StatefulKnowledgeSessionImpl@4a4597c7
[2012-07-11 13:42:50,218:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:42:50,218:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Time for Sequential mode:218
[2012-07-11 13:42:51,219:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:42:51,220:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Time for Sequential mode:189
[2012-07-11 13:42:52,224:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:42:52,224:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:42:53,225:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:42:53,225:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Time for Normal RETE mode:187
Time for Normal RETE mode:188
[2012-07-11 13:42:54,516:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:42:54,516:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:42:55,517:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:42:55,517:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:42:56,518:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:42:56,518:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Iterations in for SEQUENTIAL : 52
[2012-07-11 13:42:57,520:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:42:57,520:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:42:58,527:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:42:58,527:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:42:59,527:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:42:59,528:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Iterations in for RETE : 33
[2012-07-11 13:43:00,529:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:00,529:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:43:01,530:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:01,530:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:43:02,531:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:02,531:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Iterations in for JDT : 53
[2012-07-11 13:43:03,532:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:03,532:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:43:04,533:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:04,533:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Iterations in for MVEL : 52
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.572 sec
Running org.drools.integrationtests.SerializedPackageMergeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 sec
Running org.drools.integrationtests.StatefulSessionTest
[2012-07-11 13:43:05,534:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:05,534:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.902 sec
Running org.drools.integrationtests.StatelessSessionTest
[2012-07-11 13:43:06,535:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:06,535:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.709 sec
Running org.drools.integrationtests.StatelessStressTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.drools.integrationtests.StreamsTest
[30.0, 110.0]
[2012-07-11 13:43:07,536:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:07,537:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.193 sec
Running org.drools.integrationtests.StrEvaluatorTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.135 sec
Running org.drools.integrationtests.TimerAndCalendarTest
[2012-07-11 13:43:08,537:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:08,539:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:43:09,541:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:09,541:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:43:10,543:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:10,543:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:43:11,544:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:11,544:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:43:12,545:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:12,545:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:43:13,545:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:13,546:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:43:14,546:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:14,547:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:43:15,547:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:15,548:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:43:16,549:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:16,549:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.882 sec
Running org.drools.integrationtests.TruthMaintenanceTest
ShiftAssignment set from 100 to 101
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 100, staffingRequired: 2 covered by 1 ShiftAssignment(s)
intervalRequirementNotCovered -> IntervalRequirement: interval: 103, staffingRequired: 2
intervalRequirementNotCovered -> IntervalRequirement: interval: 102, staffingRequired: 2
intervalRequirementNotCovered -> IntervalRequirement: interval: 101, staffingRequired: 2
ShiftAssignment set from 100 to 103
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 101, staffingRequired: 2 covered by 1 ShiftAssignment(s)
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 102, staffingRequired: 2 covered by 1 ShiftAssignment(s)
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 100, staffingRequired: 2 covered by 1 ShiftAssignment(s)
ShiftAssignment set from 100 to 102
intervalRequirementNotCovered -> IntervalRequirement: interval: 102, staffingRequired: 2
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 101, staffingRequired: 2 covered by 1 ShiftAssignment(s)
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 100, staffingRequired: 2 covered by 1 ShiftAssignment(s)
ShiftAssignment set from 100 to 104
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 102, staffingRequired: 2 covered by 1 ShiftAssignment(s)
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 103, staffingRequired: 2 covered by 1 ShiftAssignment(s)
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 101, staffingRequired: 2 covered by 1 ShiftAssignment(s)
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 100, staffingRequired: 2 covered by 1 ShiftAssignment(s)
ShiftAssignment set from 100 to 101
intervalRequirementNotCovered -> IntervalRequirement: interval: 103, staffingRequired: 2
intervalRequirementNotCovered -> IntervalRequirement: interval: 102, staffingRequired: 2
intervalRequirementNotCovered -> IntervalRequirement: interval: 101, staffingRequired: 2
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 100, staffingRequired: 2 covered by 1 ShiftAssignment(s)
[2012-07-11 13:43:17,550:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:17,550:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Tests run: 19, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.468 sec
Running org.drools.integrationtests.UnmarshallingTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec
Running org.drools.integrationtests.VarargsTest
[z, y, x]
[two, one, three, four, z]
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Running org.drools.integrationtests.waltz.ReteOOWaltzTest
[2012-07-11 13:43:18,551:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:18,551:debug] ResourceChangeScanner thread is waiting for 1 seconds.
1183
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.369 sec
Running org.drools.integrationtests.WorkingMemoryLoggerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.drools.lang.api.DescrBuilderTest
foo
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.114 sec
Running org.drools.lang.descr.AndDescrTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.lang.descr.ConnectiveDescrTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.lang.descr.PackageDescrTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.lang.DRLExprParserTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.lang.DRLIncompleteCodeTest
[[1,22]: [ERR 107] Line 1:22 mismatched input '.1111' expecting one of the following tokens: '[package, import, global, declare, function, rule, query]'.]
Tests run: 13, Failures: 0, Errors: 0, Skipped: 5, Time elapsed: 0.005 sec
Running org.drools.lang.DroolsSoftKeywordsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.lang.dsl.ANTLRDSLTest
rule 'x'
when
u : User() and exists (a: Address( name == "foo" , age == "32" ) from u.addresses)
then
end
SIMPLE MATCHER matches: false
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.lang.dsl.DefaultExpanderTest
rule x
when
Foo( attr==1 )
Foo( attr==2 )
then
end
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.251 sec
Running org.drools.lang.dsl.DSLMappingEntryTest
when: String is "{value}"
(?:(?<=^)|(?<=\W))String\s+is\s+"(.*?)"(?=\W|$)
to expand: |String is "0_sp"|
matches: (?:(?<=^)|(?<=\W))String\s+is\s+"(.*?)"(?=\W|$)
result: |SomeFact(value=="0_sp")|
to expand: |String is " 1_sp"|
matches: (?:(?<=^)|(?<=\W))String\s+is\s+"(.*?)"(?=\W|$)
result: |SomeFact(value==" 1_sp")|
to expand: |String is " 3_sp"|
matches: (?:(?<=^)|(?<=\W))String\s+is\s+"(.*?)"(?=\W|$)
result: |SomeFact(value==" 3_sp")|
to expand: |String is "0_sp_1 "|
matches: (?:(?<=^)|(?<=\W))String\s+is\s+"(.*?)"(?=\W|$)
result: |SomeFact(value=="0_sp_1 ")|
to expand: |String is "0_sp_3 "|
matches: (?:(?<=^)|(?<=\W))String\s+is\s+"(.*?)"(?=\W|$)
result: |SomeFact(value=="0_sp_3 ")|
to expand: |String is "0_sp 1_sp 2_sp"|
matches: (?:(?<=^)|(?<=\W))String\s+is\s+"(.*?)"(?=\W|$)
result: |SomeFact(value=="0_sp 1_sp 2_sp")|
to expand: |String is " 3_sp 3_sp 1_sp 1_sp_2 "|
matches: (?:(?<=^)|(?<=\W))String\s+is\s+"(.*?)"(?=\W|$)
result: |SomeFact(value==" 3_sp 3_sp 1_sp 1_sp_2 ")|
=== DRL xpanded from DSLR ===
1 rule x
2 when
3 SomeFact(value=="0_sp")
4 SomeFact(value==" 1_sp")
5 SomeFact(value==" 3_sp")
6 SomeFact(value=="0_sp_1 ")
7 SomeFact(value=="0_sp_3 ")
8 SomeFact(value=="0_sp 1_sp 2_sp")
9 SomeFact(value==" 3_sp 3_sp 1_sp 1_sp_2 ")
10 then
11 end
=============================
when: - {prop} is not {val}
(?:(?<=^)|(?<=\W))-\s*\s+(.*?)\s+is\s+not\s+(.*?)$
when: - {prop} is {val}
(?:(?<=^)|(?<=\W))-\s*\s+(.*?)\s+is\s+(.*?)$
when: - {prop} is_not {val}
(?:(?<=^)|(?<=\W))-\s*\s+(.*?)\s+is_not\s+(.*?)$
to expand: |- type1 is ClientServiceType.TypeGOLD|
matches: (?:(?<=^)|(?<=\W))-\s*\s+(.*?)\s+is\s+(.*?)$
result: |type1 == ClientServiceType.TypeGOLD|
to expand: |- type2 is_not ClientServiceType.TypeGOLD|
matches: (?:(?<=^)|(?<=\W))-\s*\s+(.*?)\s+is_not\s+(.*?)$
result: |type2 != ClientServiceType.TypeGOLD|
to expand: |- type3 is not ClientServiceType.TypeGOLD|
matches: (?:(?<=^)|(?<=\W))-\s*\s+(.*?)\s+is\s+not\s+(.*?)$
result: |type3 != ClientServiceType.TypeGOLD|
=== DRL xpanded from DSLR ===
1 rule x
2 when
3 Foo(type1 == ClientServiceType.TypeGOLD, type2 != ClientServiceType.TypeGOLD, type3 != ClientServiceType.TypeGOLD)
4 then
5 end
=============================
rule x
when
> Foo()
- type1 is ClientServiceType.TypeGOLD
- type2 is_not ClientServiceType.TypeGOLD
- type3 is not ClientServiceType.TypeGOLD
then
end
rule x
when
Foo(type1 == ClientServiceType.TypeGOLD, type2 != ClientServiceType.TypeGOLD, type3 != ClientServiceType.TypeGOLD)
then
end
when: attr {attr_name} is in \[ {values} \]
(?:(?<=^)|(?<=\W))attr\s+(.*?)\s+is\s+in\s+\[\s+(.*?)\s+\](?=\W|$)
when: ((H|h)e|(S|s)he) \(is\) (a|an) $xx {attribute} (man|woman)
(?:(?<=^)|(?<=\W))((H|h)e|(S|s)he)\s+\(is\)\s+(a|an)\s+\$xx\s+(.*?)\s+(man|woman)(?=\W|$)
when: DSL sentence with {key1} {key2}
(?:(?<=^)|(?<=\W))DSL\s+sentence\s+with\s+(.*?)\s+(.*?)$
when: When the credit rating is {rating:ENUM:Applicant.creditRating}
(?:(?<=^)|(?<=\W))When\s+the\s+credit\s+rating\s+is\s+(.*?)$
when: When the credit rating is {rating:regex:\d{3}}
(?:(?<=^)|(?<=\W))When\s+the\s+credit\s+rating\s+is\s+(\d{3})(?=\W|$)
when: This is a sentence with line breaks
(?:(?<=^)|(?<=\W))This\s+is\s+a\s+sentence\s+with\s+line\s+breaks(?=\W|$)
when: Bedingung-\#19-MKM4
(?:(?<=^)|(?<=\W))Bedingung-#19-MKM4(?=\W|$)
to expand: |attr name is in [ 'Edson', 'Bob' ]|
matches: (?:(?<=^)|(?<=\W))attr\s+(.*?)\s+is\s+in\s+\[\s+(.*?)\s+\](?=\W|$)
result: |name in ( 'Edson', 'Bob' )|
to expand: |he (is) a $xx handsome man|
matches: (?:(?<=^)|(?<=\W))((H|h)e|(S|s)he)\s+\(is\)\s+(a|an)\s+\$xx\s+(.*?)\s+(man|woman)(?=\W|$)
result: |Person( attribute == "handsome" )|
to expand: |DSL sentence with mykey myvalue|
matches: (?:(?<=^)|(?<=\W))DSL\s+sentence\s+with\s+(.*?)\s+(.*?)$
result: |Sentence( mykey == myvalue )|
to expand: |When the credit rating is AA|
matches: (?:(?<=^)|(?<=\W))When\s+the\s+credit\s+rating\s+is\s+(.*?)$
result: |applicant:Applicant(credit==AA)|
to expand: |When the credit rating is 555|
matches: (?:(?<=^)|(?<=\W))When\s+the\s+credit\s+rating\s+is\s+(.*?)$
result: |applicant:Applicant(credit==555)|
to expand: |This is a sentence with line breaks|
matches: (?:(?<=^)|(?<=\W))This\s+is\s+a\s+sentence\s+with\s+line\s+breaks(?=\W|$)
result: |Cheese
(price == 10)|
to expand: |Bedingung-#19-MKM4|
matches: (?:(?<=^)|(?<=\W))Bedingung-#19-MKM4(?=\W|$)
result: |eval ( $p.getTempVal("#UML-ATZ-1") < $p.getZvUmlStfr() )|
=== DRL xpanded from DSLR ===
1 rule x
2 when
3 name in ( 'Edson', 'Bob' )
4 Person( attribute == "handsome" )
5 Sentence( mykey == myvalue )
6 applicant:Applicant(credit==AA)
7 applicant:Applicant(credit==555)
8 Cheese
9 (price == 10)
10 eval ( $p.getTempVal("#UML-ATZ-1") < $p.getZvUmlStfr() )
11 then
12 end
=============================
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.lang.dsl.DSLMappingFileTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 0.002 sec
Running org.drools.lang.dsl.DSLTokenizedMappingFileTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec
Running org.drools.lang.ErrorsParserTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.lang.MVELDumperTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.005 sec
Running org.drools.lang.RuleParserTest
[[ERR 102] Line 6:0 mismatched input '<eof>' in rule "Invalid customer id"]
Tests run: 149, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.095 sec
Running org.drools.reteoo.ReteooBuilderPerformanceTest
Generating 1000 rules
Generating packages
[2012-07-11 13:43:19,552:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:19,552:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:43:20,553:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:20,553:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:43:21,554:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:21,554:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Creating 1 ReteBuilder's
Adding rules to ReteBuilder
Added 1000 rules to each ReteBuilder's in 0:0:0.173
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.432 sec
Running org.drools.reteoo.ReteooBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.rule.builder.dialect.asm.ClassGeneratorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.rule.builder.dialect.asm.InvokerGeneratorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.rule.builder.dialect.java.AccumulateTemplateTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.098 sec
Running org.drools.rule.builder.dialect.java.AsmGeneratorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec
Running org.drools.rule.builder.dialect.java.JavaAccumulateBuilderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.rule.builder.dialect.java.JavaConsequenceBuilderTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.082 sec
Running org.drools.rule.builder.dialect.java.JavaDialectBinaryEqualityTest
[Person name='darth age='36' likes='null']
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
Running org.drools.rule.builder.dialect.java.JavaDialectTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
Running org.drools.rule.builder.dialect.java.JavaExprAnalyzerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.rule.builder.dialect.java.KnowledgeHelperFixerTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.rule.builder.dialect.java.RuleBuilderTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
Running org.drools.rule.builder.dialect.JavaAndMVELCombinedTest
mveljava: 0.0090
mvel: 0.0030
java: 0.0080
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running org.drools.rule.builder.dialect.mvel.MVELAccumulateBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.rule.builder.dialect.mvel.MVELConsequenceBuilderTest
s Expression Decompile
-------------
(0) DEBUG_SYMBOL :: [SourceLine:1]
(1) REFERENCE :: ASTNode:System.out.println( "a1" )
(2) OPERATOR [END_OF_STATEMENT]:
(3) DEBUG_SYMBOL :: [SourceLine:2]
(4) REFERENCE :: ASTNode:System.out.println( "a2" )
(5) OPERATOR [END_OF_STATEMENT]:
(6) DEBUG_SYMBOL :: [SourceLine:3]
(7) REFERENCE :: ASTNode:System.out.println( "a3" )
(8) OPERATOR [END_OF_STATEMENT]:
(9) DEBUG_SYMBOL :: [SourceLine:4]
(10) REFERENCE :: ASTNode:System.out.println( "a4" )
(11) OPERATOR [END_OF_STATEMENT]:
==END==
Tests run: 8, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.019 sec
Running org.drools.rule.builder.dialect.mvel.MVELDebugTest
com.sample.Rule_myRule
com.sample.Rule_myRule
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.rule.builder.dialect.mvel.MVELEvalBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.rule.builder.dialect.mvel.MVELExprAnalyzerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.rule.builder.dialect.mvel.MVELPredicateBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.rule.builder.dialect.mvel.MVELReturnValueBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.rule.builder.dialect.mvel.MVELSalienceBuilderTest
[2012-07-11 13:43:22,555:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 13:43:22,555:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.053 sec
Running org.drools.test.PositionalTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.drools.testframework.FactPopulatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.testframework.RuleCoverageListenerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.util.debug.SessionInspectorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.102 sec
Results :
Tests run: 1422, Failures: 0, Errors: 0, Skipped: 43
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Templates 5.4.0.Final
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.pom
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/org/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.pom
Downloading: http://repo1.maven.org/maven2/org/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.pom
Downloaded: http://repo1.maven.org/maven2/org/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.pom (2 KB at 2.6 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.jar
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/org/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.jar
Downloading: http://repo1.maven.org/maven2/org/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.jar
Downloaded: http://repo1.maven.org/maven2/org/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.jar (691 KB at 679.3 KB/sec)
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ drools-templates ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ drools-templates ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ drools-templates ---
[INFO] Compiling 45 source files to /Users/kjellski/lib/java/drools-dev/drools-templates/target/classes
[INFO]
[INFO] --- maven-bundle-plugin:2.1.0:manifest (manifest) @ drools-templates ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ drools-templates ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ drools-templates ---
[INFO] Compiling 15 source files to /Users/kjellski/lib/java/drools-dev/drools-templates/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ drools-templates ---
[INFO] Surefire report directory: /Users/kjellski/lib/java/drools-dev/drools-templates/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.template.DataProviderCompilerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.118 sec
Running org.drools.template.jdbc.ResultSetGeneratorTest
package org.drools.template.jdbc;
global java.util.List list;
rule "Cheese fans_1"
when
Person(age == 10)
Cheese(type == "cheddar")
then
list.add("Young man cheddar");
end
rule "Cheese fans_0"
when
Person(age == 42)
Cheese(type == "stilton")
then
list.add("Old man stilton");
end
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.199 sec
Running org.drools.template.model.FunctionsRenderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.template.model.PackageRenderTest
package my_ruleset;
//generated from Decision Table
import clazz name;
my functions
//rule comments
rule "myrule"
salience 42
when
cond snippet
then
cons snippet
end
//rule comments
rule "other rule"
salience 42
when
cond snippet
then
cons snippet
end
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.template.model.QueriesRenderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.template.model.RuleRenderTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.template.model.SnippetBuilderTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.drools.template.parser.ColumnFactoryTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.template.parser.DefaultGeneratorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.template.parser.DefaultTemplateContainerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.template.parser.DefaultTemplateRuleBaseTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec
Running org.drools.template.parser.ExternalSheetListenerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.template.parser.RuleTemplateTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Results :
Tests run: 56, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Decision Tables 5.4.0.Final
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ drools-decisiontables ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ drools-decisiontables ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ drools-decisiontables ---
[INFO] Compiling 20 source files to /Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes
[INFO]
[INFO] --- maven-bundle-plugin:2.1.0:manifest (manifest) @ drools-decisiontables ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ drools-decisiontables ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 39 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ drools-decisiontables ---
[INFO] Compiling 26 source files to /Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ drools-decisiontables ---
[INFO] Surefire report directory: /Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.decisiontable.ChangeSetTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.508 sec
Running org.drools.decisiontable.ColumnReplaceTest
package org.drools.decisiontable;
//generated from Decision Table
// rule values at A9, header at A4
rule "lockOnActiveRule"
lock-on-active true
when
String(this == "lockOnActiveRule")
then
end
// rule values at A10, header at A4
rule "autoFocusRule"
auto-focus true
when
String(this == "autoFocusRule")
then
end
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
Running org.drools.decisiontable.EmptyHeaderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.114 sec
Running org.drools.decisiontable.ExternalSpreadsheetCompilerTest
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
Warning: Cannot read name ranges for Gender - setting to empty
Warning: Cannot read name ranges for Greeting - setting to empty
Warning: Cannot read name ranges for MaritalStatus - setting to empty
Warning: Cannot read name ranges for Salutation - setting to empty
Warning: Cannot read name ranges for Gender - setting to empty
Warning: Cannot read name ranges for Greeting - setting to empty
Warning: Cannot read name ranges for MaritalStatus - setting to empty
Warning: Cannot read name ranges for Salutation - setting to empty
Warning: Cell at A1 not present - adding a blank
Warning: Cell at A1 not present - adding a blank
Warning: Cell at A1 not present - adding a blank
Cheapest possible
BASE PRICE IS: 120
DISCOUNT IS: 20
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.363 sec
Running org.drools.decisiontable.parser.ActionTypeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.decisiontable.parser.ColumnFactoryTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.decisiontable.parser.csv.CsvLineParserTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.decisiontable.parser.csv.CsvParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.decisiontable.parser.LhsBuilderTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.decisiontable.parser.PropertiesSheetListenerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.decisiontable.parser.RhsBuilderTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.decisiontable.parser.RuleSheetParserUtilTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.003 sec
Running org.drools.decisiontable.parser.RuleWorksheetParseLargeTest
Warning: Cell at A1 not present - adding a blank
Time to parse large table : 800ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.805 sec
Running org.drools.decisiontable.parser.RuleWorksheetParseTest
Warning: Cell at A1 not present - adding a blank
Warning: Cell at A21 not present - adding a blank
Warning: Cell at A1 not present - adding a blank
Maximum number of NO-LOOP/U columns is 1, in cell F12
Maximum number of PRIORITY/P columns is 1, in cell F12
Invalid column header: BLURB, should be CONDITION, ACTION or attribute, in cell E12
It looks like you have snippets in the row that is meant for object declarations. Please insert an additional row before the snippets, at cell B13
No code snippet for CONDITION in cell D14
Code description in cell E14 does not have an 'ACTION' or 'CONDITION' column header.
Priority is not an integer literal, in cell D16
Unexpected content "XXX" in cell D14, leave this cell blank
Multiple values for AGENDA-GROUP in cells [C3, C4]
No code snippet for ACTION, above cell C14
package myruleset;
//generated from Decision Table
import lah.di.dah;
// rule values at B11, header at B6
rule "This_Is_Rule_Name_Prefix (1)_11"
salience 65525
when
Foo(myObject.getColour().equals(red), myObject.size () > 12\")
b: Bar() eval(myObject.size() < 3)
then
myObject.setIsValid(Y);
end
package myruleset;
//generated from Decision Table
import lah.di.dah;
// rule values at B11, header at B6
rule "This_Is_Rule_Name_Prefix (1)_11"
salience 65525
when
Foo(myObject.getColour().equals(red), myObject.size () > "12")
b: Bar() eval(myObject.size() < 3)
then
myObject.setIsValid(Y);
end
// rule values at B12, header at B6
rule "This_Is_Rule_Name_Prefix (1)_12"
salience 65524
when
Foo(myObject.getColour().equals(blue), myObject.size () > 12")
b: Bar() eval(myObject.size() < 4)
then
myObject.setIsValid(Y);
end
Warning: Cell at A21 not present - adding a blank
Tests run: 20, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.667 sec
Running org.drools.decisiontable.parser.xls.ExcelParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.decisiontable.ScannerChangeSetTest
[2012-07-11 13:43:44,220:info] ResourceChangeScanner reconfigured with interval=1
[2012-07-11 13:43:44,220:info] ResourceChangeScanner reconfigured with interval=1
[2012-07-11 13:43:44,222:debug] KnowledgeAgent building resource map
[2012-07-11 13:43:44,222:info] KnowledgeAgent created, with configuration:
monitorChangeSetEvents=true scanResources=true scanDirectories=true newInstance=true
[2012-07-11 13:43:44,222:info] KnowledgeAgent has started listening for ChangeSet notifications
[2012-07-11 13:43:44,416:info] KnowledgeAgent applying ChangeSet
[2012-07-11 13:43:44,416:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls']
[2012-07-11 13:43:44,416:debug] ResourceChangeNotification subscribing listener=org.drools.agent.impl.KnowledgeAgentImpl@620f1399 to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls']
[2012-07-11 13:43:44,417:debug] ResourceChangeScanner subcribing notifier=org.drools.io.impl.ResourceChangeNotifierImpl@44285d14 to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls']
[2012-07-11 13:43:44,417:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:43:44,549:debug] KnowledgeAgent building resource map
[2012-07-11 13:43:44,549:debug] KnowledgeAgent no resource mapped for rule=[Rule name=ID change_11, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:43:44,549:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] to KnowledgeDefinition=[Rule name=ID change_11, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:43:44,549:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] to KnowledgeDefinition=[Rule name=ID change_12, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:43:44,549:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] to KnowledgeDefinition=[Rule name=ID change_13, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:43:44,549:warning] KnowledgeAgent: impossible to add a map for a null resource! skiping.
[2012-07-11 13:43:44,549:info] KnowledgeAgent new KnowledgeBase now built and in use
[2012-07-11 13:43:44,549:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:43:44,550:info] ResourceChangeNotification scanner has started
[2012-07-11 13:43:44,550:info] ResourceChangeNotification has started listening for ChangeSet publications
[2012-07-11 13:43:44,550:debug] ResourceChangeScanner attempt to scan 3 resources
[2012-07-11 13:43:44,550:debug] ResourceChangeNotification thread is waiting for queue update
[2012-07-11 13:43:44,551:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:43:45,551:debug] ResourceChangeScanner attempt to scan 3 resources
[2012-07-11 13:43:45,552:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:43:46,553:debug] ResourceChangeScanner attempt to scan 3 resources
[2012-07-11 13:43:46,554:debug] ResourceChangeScanner modified resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] : 1342007024000 : 1342007026000
[2012-07-11 13:43:46,555:debug] ResourceChangeNotification received ChangeSet notification
[2012-07-11 13:43:46,555:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 13:43:46,555:debug] ResourceChangeNotification processing ChangeSet
[2012-07-11 13:43:46,555:debug] ResourceChangeNotification ChangeSet modified resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] for listener=org.drools.agent.impl.KnowledgeAgentImpl@620f1399
[2012-07-11 13:43:46,555:debug] KnowledgeAgent received ChangeSet changed notification
[2012-07-11 13:43:46,555:debug] ResourceChangeNotification thread is waiting for queue update
[2012-07-11 13:43:46,555:info] KnowledgeAgent applying ChangeSet
[2012-07-11 13:43:46,556:debug] KnowledgeAgent removing mappings for resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] with unsubscribe=false
[2012-07-11 13:43:46,556:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:43:46,677:debug] KnowledgeAgent building resource map
[2012-07-11 13:43:46,677:debug] KnowledgeAgent no resource mapped for rule=[Rule name=ID change_11, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:43:46,677:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] to KnowledgeDefinition=[Rule name=ID change_11, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:43:46,677:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] to KnowledgeDefinition=[Rule name=ID change_12, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 13:43:46,677:warning] KnowledgeAgent: impossible to add a map for a null resource! skiping.
[2012-07-11 13:43:46,677:info] KnowledgeAgent new KnowledgeBase now built and in use
[2012-07-11 13:43:46,677:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
[2012-07-11 13:43:47,052:info] ResourceChangeNotification scanner has stopped
[2012-07-11 13:43:47,052:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls']
[2012-07-11 13:43:47,052:info] ResourceChangeNotification has stopped listening for ChangeSet publications
[2012-07-11 13:43:47,053:debug] ResourceChangeNotification unsubscribing listener=org.drools.agent.impl.KnowledgeAgentImpl@620f1399 to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls']
[2012-07-11 13:43:47,053:debug] ResourceChangeScanner unsubcribing notifier=org.drools.io.impl.ResourceChangeNotifierImpl@44285d14 to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls']
[2012-07-11 13:43:47,053:debug] ResourceChangeScanner resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] now has no subscribers
[2012-07-11 13:43:47,053:info] KnowledgeAgent has stopped listening for ChangeSet notifications
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.38 sec
Running org.drools.decisiontable.SourcePackageProviderTest
RuleAgent(default) INFO (Wed Jul 11 13:43:47 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 13:43:47 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/Something.xls
RuleAgent(default) INFO (Wed Jul 11 13:43:47 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 13:43:47 CEST 2012): Adding package called org.acme.insurance
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.211 sec
Running org.drools.decisiontable.SpreadsheetCompilerUnitTest
Warning: Cannot read name ranges for Gender - setting to empty
Warning: Cannot read name ranges for Greeting - setting to empty
Warning: Cannot read name ranges for MaritalStatus - setting to empty
Warning: Cannot read name ranges for Salutation - setting to empty
Warning: Cannot read name ranges for Gender - setting to empty
Warning: Cannot read name ranges for Greeting - setting to empty
Warning: Cannot read name ranges for MaritalStatus - setting to empty
Warning: Cannot read name ranges for Salutation - setting to empty
Warning: Cannot read name ranges for Gender - setting to empty
Warning: Cannot read name ranges for Greeting - setting to empty
Warning: Cannot read name ranges for MaritalStatus - setting to empty
Warning: Cannot read name ranges for Salutation - setting to empty
Warning: Cell at A1 not present - adding a blank
package myruleset;
//generated from Decision Table
import blah.class1;
import blah.class2;
import lah.di.dah;
global Class1 obj1;
global Class2 obj2;
This is a function block
// rule values at B11, header at B6
rule "This_Is_Rule_Name_Prefix (1)_11"
salience 65525
when
Foo(myObject.getColour().equals(red), myObject.size () > 12\")
b: Bar() eval(myObject.size() < 3)
then
myObject.setIsValid(Y);
end
// rule values at B12, header at B6
rule "This_Is_Rule_Name_Prefix (1)_12"
salience 65524
when
Foo(myObject.getColour().equals(yellow), myObject.size () > 2)
b: Bar() eval(myObject.size() < 6)
then
myObject.setIsValid(Y);
end
// rule values at B13, header at B6
rule "This_Is_Rule_Name_Prefix (1)_13"
salience 65523
when
Foo(myObject.getColour().equals(blue), myObject.size () > 7)
b: Bar() eval(myObject.size() < 9)
then
myObject.setIsValid(Y);
end
// rule values at B22, header at B17
rule "This_Is_Rule_Name_Prefix (2)_22"
salience 65514
when
myObject.getColour().equals(red)
myObject.size () > 1
myObject.size() < 3
then
myObject.setIsValid("19-Jul-1992")
end
// rule values at B23, header at B17
rule "This_Is_Rule_Name_Prefix (2)_23"
salience 65513
when
myObject.getColour().equals(yellow)
myObject.size () > 2
myObject.size() < 6
then
myObject.setIsValid("1-Jan-2001")
end
// rule values at B24, header at B17
rule "This_Is_Rule_Name_Prefix (2)_24"
salience 65512
when
myObject.getColour().equals(blue)
myObject.size () > 7
myObject.size() < 9
then
myObject.setIsValid(10-Jul-1974)
end
Warning: Cell at E22 not present - adding a blank
Warning: Cell at G22 not present - adding a blank
Warning: Cell at D22 not present - adding a blank
Warning: Cell at D76 not present - adding a blank
Warning: Cell at B76 not present - adding a blank
Warning: Cannot read name ranges for Excel_BuiltIn__FilterDatabase_1 - setting to empty
Warning: Unknown shape type
Warning: Unknown shape type
package myruleset;
//generated from Decision Table
import blah.class1;
import blah.class2;
import lah.di.dah;
global Class1 obj1;
global Class2 obj2;
This is a function block
// rule values at B11, header at B6
rule "This_Is_Rule_Name_Prefix (1)_11"
salience 65525
when
Foo(myObject.getColour().equals(red), myObject.size () > 12\")
b: Bar() eval(myObject.size() < 3.0E-4)
then
myObject.setIsValid(Y);
end
// rule values at B12, header at B6
rule "This_Is_Rule_Name_Prefix (1)_12"
salience 65524
when
Foo(myObject.getColour().equals(yellow), myObject.size () > 2)
b: Bar() eval(myObject.size() < 9.0E-7)
then
myObject.setIsValid(Y);
end
// rule values at B13, header at B6
rule "This_Is_Rule_Name_Prefix (1)_13"
salience 65523
when
Foo(myObject.getColour().equals(blue), myObject.size () > 7)
b: Bar() eval(myObject.size() < 8.0E-11)
then
myObject.setIsValid(Y);
end
// rule values at B22, header at B17
rule "This_Is_Rule_Name_Prefix (2)_22"
salience 65514
when
myObject.getColour().equals(red)
myObject.size () > 1
myObject.size() < 3.0E-4
then
myObject.setIsValid("19-Jul-1992")
end
// rule values at B23, header at B17
rule "This_Is_Rule_Name_Prefix (2)_23"
salience 65513
when
myObject.getColour().equals(yellow)
myObject.size () > 2
myObject.size() < 9.0E-7
then
myObject.setIsValid("1-Jan-2001")
end
// rule values at B24, header at B17
rule "This_Is_Rule_Name_Prefix (2)_24"
salience 65512
when
myObject.getColour().equals(blue)
myObject.size () > 7
myObject.size() < 8.0E-11
then
myObject.setIsValid(10-Jul-1974)
end
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.109 sec
Running org.drools.decisiontable.SpreadsheetIntegrationExampleTest
Cheapest possible
BASE PRICE IS: 120
DISCOUNT IS: 20
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.603 sec
Running org.drools.decisiontable.UnicodeInXLSTest
Rule Compilation error : [Rule name='p?idej k dosp?l?m']
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (1:0) : Syntax error on token(s), misplaced construct(s)
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (2:83) : Syntax error on tokens, delete these tokens
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (3:138) : The public type Rule_p must be defined in its own file
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (3:144) : Syntax error on token(s), misplaced construct(s)
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (3:157) : Syntax error on token "l_m_f0ae0d603199433e8c7c1764b67e0b52", delete this token
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (3:194) : Syntax error, insert "}" to complete Block
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (6:252) : Syntax error on token(s), misplaced construct(s)
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (6:372) : Syntax error on token(s), misplaced construct(s)
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (6:376) : Syntax error on token "?", ( expected
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (6:381) : Syntax error on token(s), misplaced construct(s)
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (6:384) : Syntax error on token "?", < expected
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (6:411) : Syntax error on token "?", = expected
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (6:428) : Syntax error on token ",", . expected
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (6:447) : Syntax error on token "dosp", delete this token
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (6:452) : Syntax error on token(s), misplaced construct(s)
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (6:456) : Syntax error on tokens, delete these tokens
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (6:530) : Syntax error on token ";", : expected
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (7:548) : Syntax error on token(s), misplaced construct(s)
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (7:554) : Syntax error, insert ")" to complete MethodInvocation
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (7:554) : Syntax error, insert ": Expression" to complete Expression
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (7:554) : Syntax error, insert ": Expression" to complete Expression
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_f0ae0d603199433e8c7c1764b67e0b52.java (7:554) : Syntax error, insert ";" to complete FieldDeclaration
package org.drools.decisiontable;
//generated from Decision Table
import org.drools.decisiontable.UnicodeInXLSTest.?lov?k;
global java.util.List dosp?l?;
// rule values at A10, header at A5
rule "p?idej k dosp?l?m"
when
$?lov?k : ?lov?k(v?k > 18)
then
dosp?l?.add($?lov?k);
end
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.287 sec <<< FAILURE!
Results :
Failed tests: testCzechXLSDecisionTable(org.drools.decisiontable.UnicodeInXLSTest): Cannot build XLS decision table containing utf-8 characters.
Tests run: 99, Failures: 1, Errors: 0, Skipped: 2
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Drools multiproject ............................... SUCCESS [0.206s]
[INFO] Drools :: Core .................................... SUCCESS [46.527s]
[INFO] Drools :: Compiler ................................ SUCCESS [3:22.925s]
[INFO] Drools :: Templates ............................... SUCCESS [8.919s]
[INFO] Drools :: Decision Tables ......................... FAILURE [16.420s]
[INFO] Drools :: JSR-94 API Module ....................... SKIPPED
[INFO] Drools :: Clips ................................... SKIPPED
[INFO] Drools :: Verifier ................................ SKIPPED
[INFO] Drools :: Persistence :: JPA ...................... SKIPPED
[INFO] Drools examples ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:36.639s
[INFO] Finished at: Wed Jul 11 13:43:49 CEST 2012
[INFO] Final Memory: 14M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project drools-decisiontables: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :drools-decisiontables
[~/lib/java/drools-dev ((5.4.0.Final))]$ git status
# Not currently on any branch.
nothing to commit (working directory clean)
[~/lib/java/drools-dev ((5.4.0.Final))]$ git log
commit ba6def465f661aadff370cf2bc1ac297dd3d2d6e
Author: Toni Rikkola <toni@rikkola.net>
Date: Mon May 14 13:14:14 2012 +0300
change to 5.4.0.Final version
commit 1d74a38928e2a20654b4934da9eb02c8bf58b690
Author: Edson Tirelli <ed.tirelli@gmail.com>
Date: Fri May 11 16:06:33 2012 -0400
JBRULES-3504: Fixing regression. Ruleflow group should only be de-activated after the activation fired, not before
(cherry picked from commit b95a83b45d91d4fa31167090a585e3dc8a68b94e)
commit c9c43df74397a29031abd5163579a8fb0b47006f
Author: mariofusco <mario.fusco@gmail.com>
Date: Fri May 11 20:14:21 2012 +0200
[JBRULES-3503] check if an activation is still enqueued before trying to remove it
(cherry picked from commit c7fb25c559bebcc8fd4b828654380e6afa42dc3c)
commit 47570de7dcb6bded730bbbb71f009036b41d74fb
Author: mariofusco <mario.fusco@gmail.com>
Date: Fri May 11 13:49:11 2012 +0200
replace logicalInsert with insertLogical in TMS docs
(cherry picked from commit 5bb2510fc70f053aad3b806f31795f22cc3c8bd9)
commit 32fd643f79d87ffa8f9d653d70fcac54049493ce
Author: mariofusco <mario.fusco@gmail.com>
Date: Thu May 10 20:39:13 2012 +0200
[JBRULES-3502] change lock order even for update and retract
(cherry picked from commit 6e6182ab794b2bda5c1cdcc45585a552e7a00dff)
commit e73ee95155d33305ee8f18cee319e52ae8731abc
Author: mariofusco <mario.fusco@gmail.com>
Date: Thu May 10 19:17:18 2012 +0200
[JBRULES-3502] fix deadlock when doing concurrent instertions on the same ksession
(cherry picked from commit 6f150d75183df44e4434895e93808a9747d57857)
commit ad4b72f464cadac111a043925fa35d3080d9d355
Author: Marco Rietveld <mrietvel@redhat.com>
Date: Thu May 10 10:29:58 2012 -0400
BZ 820309: overdue timers receive a null commandService when scheduled during ksession reloading (cherry picked from commit 8cf1e9230b5159ffca105ade566909f349fdc
commit 732bdeaaef742978ad51f9a27c297d83bd5eacb8
Author: mariofusco <mario.fusco@gmail.com>
Date: Thu May 10 14:06:22 2012 +0200
[~/lib/java/drools-dev ((5.4.0.Final))]$ git checkout 5.4.0.
5.4.0.Beta1 5.4.0.Beta2 5.4.0.CR1 5.4.0.Final
[~/lib/java/drools-dev ((5.4.0.Final))]$ git checkout 5.
5.2.0.CR1 5.2.0.M2 5.3.0.Beta1 5.3.0.Final 5.3.2.Final 5.4.0.Beta1 5.4.0.CR1
5.2.0.Final 5.2.1.Final 5.3.0.CR1 5.3.1.Final 5.3.3.Final 5.4.0.Beta2 5.4.0.Final
[~/lib/java/drools-dev ((5.4.0.Final))]$ mvn -Dmaven.test.failure.ignore=true
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Drools multiproject
[INFO] Drools :: Core
[INFO] Drools :: Compiler
[INFO] Drools :: Templates
[INFO] Drools :: Decision Tables
[INFO] Drools :: JSR-94 API Module
[INFO] Drools :: Clips
[INFO] Drools :: Verifier
[INFO] Drools :: Persistence :: JPA
[INFO] Drools examples
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Drools multiproject ............................... SKIPPED
[INFO] Drools :: Core .................................... SKIPPED
[INFO] Drools :: Compiler ................................ SKIPPED
[INFO] Drools :: Templates ............................... SKIPPED
[INFO] Drools :: Decision Tables ......................... SKIPPED
[INFO] Drools :: JSR-94 API Module ....................... SKIPPED
[INFO] Drools :: Clips ................................... SKIPPED
[INFO] Drools :: Verifier ................................ SKIPPED
[INFO] Drools :: Persistence :: JPA ...................... SKIPPED
[INFO] Drools examples ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.755s
[INFO] Finished at: Wed Jul 11 14:18:00 CEST 2012
[INFO] Final Memory: 8M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException
[~/lib/java/drools-dev ((5.4.0.Final))]$ mvn -Dmaven.test.failure.ignore=true test
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Drools multiproject
[INFO] Drools :: Core
[INFO] Drools :: Compiler
[INFO] Drools :: Templates
[INFO] Drools :: Decision Tables
[INFO] Drools :: JSR-94 API Module
[INFO] Drools :: Clips
[INFO] Drools :: Verifier
[INFO] Drools :: Persistence :: JPA
[INFO] Drools examples
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools multiproject 5.4.0.Final
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ drools-multiproject ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Core 5.4.0.Final
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ drools-core ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ drools-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 12 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ drools-core ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-bundle-plugin:2.1.0:manifest (manifest) @ drools-core ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ drools-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 45 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ drools-core ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ drools-core ---
[INFO] Surefire report directory: /Users/kjellski/lib/java/drools-dev/drools-core/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.agent.CompilerIndependenceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.036 sec
Running org.drools.agent.DirectoryScannerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.114 sec
Running org.drools.agent.FileScannerTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.agent.KnowledgeAgentTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
Running org.drools.agent.RuleAgentTest
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p1.pkg /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p2.pkg
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Configuring with newInstance=false, secondsToRefresh=1
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p1.pkg /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p2.pkg
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p1.pkg /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p2.pkg
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Configuring with newInstance=false, secondsToRefresh=1
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p1.pkg /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p2.pkg
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/-8850363010265919492.pkg
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:13 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:15 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:15 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:17 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:17 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:17 CEST 2012): Configuring with newInstance=true, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 14:18:17 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p43_.pkg /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p44_.pkg
RuleAgent(default) INFO (Wed Jul 11 14:18:17 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:17 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 14:18:17 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 14:18:17 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:19 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:19 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 14:18:19 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 14:18:19 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:19 CEST 2012): Configuring with newInstance=true, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 14:18:19 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p43_.pkg /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p44_.pkg
RuleAgent(default) INFO (Wed Jul 11 14:18:19 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:19 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 14:18:19 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 14:18:19 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:21 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:21 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 14:18:21 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 14:18:21 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:21 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 14:18:21 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p43_.pkg /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p44_.pkg
RuleAgent(default) INFO (Wed Jul 11 14:18:21 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:21 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:21 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 14:18:21 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:21 CEST 2012): Removing package called p2
RuleAgent(default) INFO (Wed Jul 11 14:18:23 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:23 CEST 2012): Removing package called p2
RuleAgent(default) INFO (Wed Jul 11 14:18:23 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:23 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:23 CEST 2012): Removing package called p2
RuleAgent(default) INFO (Wed Jul 11 14:18:23 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:23 CEST 2012): Removing package called p2
RuleAgent(default) INFO (Wed Jul 11 14:18:23 CEST 2012): Configuring with newInstance=true, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 14:18:23 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p43_.pkg /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/p44_.pkg
RuleAgent(default) INFO (Wed Jul 11 14:18:23 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:23 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 14:18:23 CEST 2012): Adding package called p2
RuleAgent(default) INFO (Wed Jul 11 14:18:23 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:23 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:23 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 14:18:23 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Creating a new rulebase as per settings.
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Adding package called p1
RuleAgent(goo) INFO (Wed Jul 11 14:18:25 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(goo) INFO (Wed Jul 11 14:18:25 CEST 2012): Configuring package provider : DirectoryScanner scanning dir: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages found 2 file(s).
RuleAgent(goo) INFO (Wed Jul 11 14:18:25 CEST 2012): Applying changes to the rulebase.
RuleAgent(goo) INFO (Wed Jul 11 14:18:25 CEST 2012): Adding package called p1
RuleAgent(goo) INFO (Wed Jul 11 14:18:25 CEST 2012): File changes detected in the directory /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/4010985334329986034.pkg
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/4010985334329986034.pkg
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Adding package called p1
RuleAgent(default) INFO (Wed Jul 11 14:18:25 CEST 2012): Configuring with newInstance=false, secondsToRefresh=1
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.304 sec
Running org.drools.agent.RuleBaseAssemblerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.agent.URLScannerTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.drools.base.BaseClassFieldAccessorFactoryTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec
Running org.drools.base.ClassFieldAccessorTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running org.drools.base.ClassTypeResolverTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.drools.base.DelegateJavaFactHandlerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.066 sec
Running org.drools.base.EvaluatorFactoryTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.006 sec
Running org.drools.base.evaluators.BigDecimalEqualityTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.base.evaluators.TimeIntervalParserTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.base.extractors.BooleanClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.base.extractors.ByteClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.base.extractors.CharClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.base.extractors.DoubleClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.base.extractors.FloatClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.drools.base.extractors.IntClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.base.extractors.LongClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.base.extractors.MVELClassFieldExtractorTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.151 sec
Running org.drools.base.extractors.ObjectClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.base.extractors.ShortClassFieldExtractorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.base.FieldFactoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.base.FieldValueTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.base.mvel.MVELCalendarCoercionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.base.mvel.MVELDateCoercionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.base.TemporalEvaluatorFactoryTest
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 sec
Running org.drools.base.ValueTypeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.comand.runtime.rule.ExecuteCommandDisconnectedTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.drools.comand.runtime.rule.GetFactHandlesCommandTest
getOneDisconnectedFactHandleTest
Test: getMultipleDisconnectedFactHandleTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.drools.comand.runtime.rule.QueryCommandNoBatchTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.common.AgendaItemTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.common.DefaultBetaConstraintsTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
Running org.drools.common.DoubleBetaConstraintsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.drools.common.DroolsObjectIOTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.common.EqualityKeyTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.common.LazyTMSEnablingTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.common.QuadroupleBetaConstraintsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
Running org.drools.common.SequentialAgendaTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.common.SingleBetaConstraintsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.common.TripleBetaConstraintsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
Running org.drools.common.UpgradableReentrantReadWriteLockTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.625 sec
Running org.drools.core.util.IndexedHashtableIteratorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.core.util.KeyStoreHelperTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.drools.core.util.TripleStoreTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.014 sec
Running org.drools.event.knowledgebase.KnowledgeBaseEventSupportTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec
Running org.drools.event.rule.AgendaEventSupportTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.drools.event.rule.WorkingMemoryEventSupportTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.event.RuleBaseEventSupportTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.event.WorkingMemoryEventSupportTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.examples.manners.ReteooMannersTest
find seating : [Seating id=1 , pid=1 , pathDone=false , leftSeat=1, leftGuestName=n5, rightSeat=2, rightGuestName=n3] : [Path id=1, seat=2, guest=n3] : {Chosen id=1, name=n3, hobbies=h1}
find seating : [Seating id=2 , pid=1 , pathDone=false , leftSeat=2, leftGuestName=n3, rightSeat=3, rightGuestName=n4] : [Path id=2, seat=3, guest=n4] : {Chosen id=1, name=n4, hobbies=h1}
find seating : [Seating id=3 , pid=2 , pathDone=false , leftSeat=3, leftGuestName=n4, rightSeat=4, rightGuestName=n3] : [Path id=3, seat=4, guest=n3] : {Chosen id=2, name=n3, hobbies=h3}
find seating : [Seating id=4 , pid=3 , pathDone=false , leftSeat=4, leftGuestName=n3, rightSeat=5, rightGuestName=n5] : [Path id=4, seat=5, guest=n5] : {Chosen id=3, name=n5, hobbies=h1}
all done
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec
Running org.drools.factmodel.ClassBuilderTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec
Running org.drools.factmodel.InstancesHashcodedTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.factmodel.JeneratorTest
factmodel.xml
whee/waa/Foobar.class
whee/waa/Baz.class
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.146 sec
Running org.drools.facttemplates.FactTemplateFieldExtractorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.facttemplates.FactTemplateTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.facttemplates.FieldTemplateTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.io.ResourceChangeScannerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.reteoo.AccumulateNodeTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running org.drools.reteoo.AddRemoveTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.reteoo.AgendaTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running org.drools.reteoo.AlphaNodeTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.reteoo.BaseNodeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.reteoo.BetaNodeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.reteoo.builder.BuildUtilsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.reteoo.builder.ReteooRuleBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.reteoo.CompositeObjectSinkAdapterTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.drools.reteoo.CrossProductTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.reteoo.DefaultFactHandleFactoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.reteoo.EvalConditionNodeTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.118 sec
Running org.drools.reteoo.FactHandleTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.reteoo.FromNodeTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.drools.reteoo.JoinNodeTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 sec
Running org.drools.reteoo.LeftInputAdapterNodeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.reteoo.LogicalAssertionTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec
Running org.drools.reteoo.NotNodeTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.drools.reteoo.ObjectSourceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.reteoo.ObjectTypeConfTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.reteoo.ObjectTypeNodeTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.drools.reteoo.OtherwiseTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.003 sec
Running org.drools.reteoo.PartitionTaskManagerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0 sec
Running org.drools.reteoo.PropertyChangeListenerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.reteoo.QueryElementNodeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
Running org.drools.reteoo.QueryTerminalNodeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.reteoo.ReteooBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.reteoo.ReteooRuleBaseMultiThreadedTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
Running org.drools.reteoo.ReteooRuleBaseTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.reteoo.ReteooWorkingMemoryTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.reteoo.ReteTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.reteoo.SchedulerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.81 sec
Running org.drools.reteoo.test.NodeSuiteTest
Tests run: 48, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.864 sec
Running org.drools.reteoo.test.ReteDslTestEngineTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.07 sec
Running org.drools.reteoo.TupleIterationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.reteoo.TupleSourceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.rule.DeclarationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.rule.EnumSerialiationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.rule.FieldConstraintTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.drools.rule.FixedDurationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.rule.GroupElementTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.rule.LogicTransformerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec
Running org.drools.rule.PackageCompilationDataTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.rule.PatternTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.rule.RuleTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.RuleBaseConfigurationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.RuleBaseFactoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.RuleIntegrationExceptionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.time.impl.CompositeMaxDurationTimerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.time.impl.CronExpressionTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.018 sec
Running org.drools.time.impl.CronJobTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
Running org.drools.time.impl.JDKTimerServiceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.004 sec
Running org.drools.time.impl.PseudoClockSchedulerTest
Unable to execute timer job!
java.lang.RuntimeException: for test
at org.drools.time.impl.PseudoClockSchedulerTest$2.execute(PseudoClockSchedulerTest.java:110)
at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:47)
at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:12)
at org.drools.time.impl.PseudoClockScheduler.runCallBacks(PseudoClockScheduler.java:203)
at org.drools.time.impl.PseudoClockScheduler.advanceTime(PseudoClockScheduler.java:156)
at org.drools.time.impl.PseudoClockSchedulerTest.timerIsResetWhenJobThrowsExceptions(PseudoClockSchedulerTest.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
java.lang.RuntimeException: for test
at org.drools.time.impl.PseudoClockSchedulerTest$2.execute(PseudoClockSchedulerTest.java:110)
at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:47)
at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:12)
at org.drools.time.impl.PseudoClockScheduler.runCallBacks(PseudoClockScheduler.java:203)
at org.drools.time.impl.PseudoClockScheduler.advanceTime(PseudoClockScheduler.java:156)
at org.drools.time.impl.PseudoClockSchedulerTest.timerIsResetWhenJobThrowsExceptions(PseudoClockSchedulerTest.java:116)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.drools.time.impl.Quartz601Test
[0, 1, 2, 3, 4, 5, 6, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]
[1, 2, 6, 7]
[0, 1, 2, 3, 55, 56, 57, 58, 59]
[0, 1, 2, 56, 57, 58, 59]
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.time.TemporalDistanceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.util.asm.ClassFieldInspectorTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.util.asm.MethodComparerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec
Running org.drools.util.BinaryHeapPriorityQueueTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.154 sec
Running org.drools.util.ClassUtilsTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.util.ConcurrentRightTupleIndexHashTableTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.util.FieldIndexEntryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.util.LeftTupleIndexHashTableIteratorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec
Running org.drools.util.LinkedListTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.util.ObjectHashMapTest
java.util.HashMap put(key,value) ET - 53
Custom ObjectHashMap put(key,value) ET - 44
Custom ObjectHashMap get(key) ET - 13
java.util.HashMap get(key) ET - 13
Custom ObjectHashMap iterate ET - 9
java.util.HashMap iterate ET - 9
Custom ObjectHashMap dup false ET - 47
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.739 sec
Running org.drools.util.PrimitiveLongMapTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.util.RightTupleIndexHashTableIteratorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.drools.util.RightTupleIndexHashTableTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.util.RightTupleListTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.world.impl.ShadowContextTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.drools.xml.XmlChangeSetReaderTest
(null: 6, 100): cvc-complex-type.3.2.2: Attribute 'name' is not allowed to appear in element 'resource'.
(null: 9, 214): cvc-complex-type.3.2.2: Attribute 'name' is not allowed to appear in element 'resource'.
(null: 9, 214): cvc-complex-type.3.2.2: Attribute 'description' is not allowed to appear in element 'resource'.
(null: 9, 214): cvc-complex-type.3.2.2: Attribute 'basic-authentication' is not allowed to appear in element 'resource'.
(null: 10, 118): cvc-complex-type.3.2.2: Attribute 'description' is not allowed to appear in element 'resource'.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.511 sec
Results :
Tests run: 637, Failures: 0, Errors: 0, Skipped: 12
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Compiler 5.4.0.Final
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ drools-compiler ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ drools-compiler ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 21 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ drools-compiler ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-bundle-plugin:2.1.0:manifest (manifest) @ drools-compiler ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ drools-compiler ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 610 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ drools-compiler ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ drools-compiler ---
[INFO] Surefire report directory: /Users/kjellski/lib/java/drools-dev/drools-compiler/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.agent.KnowledgeAgentCustomClassLoaderTest
Unable to resolve ObjectType 'KnowledgeAgentInstance'
Error importing : 'org.drools.agent.test.KnowledgeAgentInstance'
Rule Compilation error Only a type can be imported. org.drools.agent.test.KnowledgeAgentInstance resolves to a package
$id cannot be resolved
Unable to resolve ObjectType 'KnowledgeAgentInstance'
Error importing : 'org.drools.agent.test.KnowledgeAgentInstance'
Rule Compilation error Only a type can be imported. org.drools.agent.test.KnowledgeAgentInstance resolves to a package
$id cannot be resolved
Unable to resolve ObjectType 'KnowledgeAgentInstance'
Error importing : 'org.drools.agent.test.KnowledgeAgentInstance'
Rule Compilation error Only a type can be imported. org.drools.agent.test.KnowledgeAgentInstance resolves to a package
$id cannot be resolved
Unable to resolve ObjectType 'KnowledgeAgentInstance'
Error importing : 'org.drools.agent.test.KnowledgeAgentInstance'
Rule Compilation error Only a type can be imported. org.drools.agent.test.KnowledgeAgentInstance resolves to a package
$id cannot be resolved
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.838 sec
Running org.drools.agent.KnowledgeAgentDisposeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.098 sec
Running org.drools.agent.KnowledgeAgentDSLTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.896 sec
Running org.drools.agent.KnowledgeAgentDuplicatedTypeDeclarationsTest
package org.drools.test
global java.util.List list
declare ClassA
field1 : String
end
rule ruleA
when
$a : ClassA( field1 == "foo")
then
list.add($a.getField1());
end
package org.drools.test
global java.util.List list
declare ClassA
field1 : String
end
rule "ruleA Insert"
when
then
ClassA a = new ClassA();
a.setField1("foo");
insert(a);
end
[2012-07-11 14:19:34,415:info] KnowledgeAgent applying ChangeSet
[2012-07-11 14:19:34,416:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='http://localhost:1024/rules1.drl']
[2012-07-11 14:19:34,416:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:19:34,418:info] KnowledgeAgent performing an incremental build of the ChangeSet
[2012-07-11 14:19:34,435:debug] KnowledgeAgent building resource map
[2012-07-11 14:19:34,435:debug] KnowledgeAgent no resource mapped for rule=[Rule name=ruleA Insert, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:19:34,435:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules1.drl'] to KnowledgeDefinition=[Rule name=ruleA Insert, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:19:34,435:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules1.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='ClassA', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 14:19:34,435:info] KnowledgeAgent incremental build of KnowledgeBase finished and in use
[2012-07-11 14:19:34,435:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
Firing 'ruleA Insert'
----------------
[2012-07-11 14:19:34,625:info] KnowledgeAgent applying ChangeSet
[2012-07-11 14:19:34,626:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='http://localhost:1024/rules2.drl']
[2012-07-11 14:19:34,626:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:19:34,628:info] KnowledgeAgent performing an incremental build of the ChangeSet
[2012-07-11 14:19:34,649:debug] KnowledgeAgent building resource map
[2012-07-11 14:19:34,649:debug] KnowledgeAgent no resource mapped for rule=[Rule name=ruleA Insert, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:19:34,649:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=[Rule name=ruleA, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:19:34,649:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='ClassA', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 14:19:34,649:info] KnowledgeAgent incremental build of KnowledgeBase finished and in use
[2012-07-11 14:19:34,650:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
ruleA Insert
ruleA
[2012-07-11 14:19:34,651:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='http://localhost:1024/rules2.drl']
[2012-07-11 14:19:34,651:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='http://localhost:1024/rules1.drl']
[2012-07-11 14:19:34,947:info] KnowledgeAgent applying ChangeSet
[2012-07-11 14:19:34,947:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='http://localhost:1024/rules1.drl']
[2012-07-11 14:19:34,947:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:19:34,949:info] KnowledgeAgent performing an incremental build of the ChangeSet
[2012-07-11 14:19:34,968:debug] KnowledgeAgent building resource map
[2012-07-11 14:19:34,968:debug] KnowledgeAgent no resource mapped for rule=[Rule name=ruleA, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:19:34,968:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules1.drl'] to KnowledgeDefinition=[Rule name=ruleA, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:19:34,968:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules1.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='ClassA', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 14:19:34,968:info] KnowledgeAgent incremental build of KnowledgeBase finished and in use
[2012-07-11 14:19:34,968:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
----------------
[2012-07-11 14:19:35,156:info] KnowledgeAgent applying ChangeSet
[2012-07-11 14:19:35,156:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='http://localhost:1024/rules2.drl']
[2012-07-11 14:19:35,156:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:19:35,157:info] KnowledgeAgent performing an incremental build of the ChangeSet
[2012-07-11 14:19:35,171:debug] KnowledgeAgent building resource map
[2012-07-11 14:19:35,171:debug] KnowledgeAgent no resource mapped for rule=[Rule name=ruleA, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:19:35,171:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=[Rule name=ruleA Insert, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:19:35,171:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='ClassA', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 14:19:35,171:info] KnowledgeAgent incremental build of KnowledgeBase finished and in use
[2012-07-11 14:19:35,171:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
ruleA
ruleA Insert
Firing 'ruleA Insert'
[2012-07-11 14:19:35,174:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='http://localhost:1024/rules2.drl']
[2012-07-11 14:19:35,174:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='http://localhost:1024/rules1.drl']
[2012-07-11 14:19:35,472:info] KnowledgeAgent applying ChangeSet
[2012-07-11 14:19:35,472:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='http://localhost:1024/rules1.drl']
[2012-07-11 14:19:35,472:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:19:35,474:info] KnowledgeAgent performing an incremental build of the ChangeSet
[2012-07-11 14:19:35,481:debug] KnowledgeAgent building resource map
[2012-07-11 14:19:35,481:debug] KnowledgeAgent no resource mapped for type=TypeDeclaration{typeName='Bean', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 14:19:35,481:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules1.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='Bean', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 14:19:35,481:info] KnowledgeAgent incremental build of KnowledgeBase finished and in use
[2012-07-11 14:19:35,481:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
----------------
[2012-07-11 14:19:35,672:info] KnowledgeAgent applying ChangeSet
[2012-07-11 14:19:35,672:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='http://localhost:1024/rules2.drl']
[2012-07-11 14:19:35,672:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:19:35,674:info] KnowledgeAgent performing an incremental build of the ChangeSet
[2012-07-11 14:19:35,711:debug] KnowledgeAgent building resource map
[2012-07-11 14:19:35,711:debug] KnowledgeAgent no resource mapped for type=TypeDeclaration{typeName='Person', role=EVENT, format=POJO, kind=CLASS, nature=DECLARATION}
[2012-07-11 14:19:35,711:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='Person', role=EVENT, format=POJO, kind=CLASS, nature=DECLARATION}
[2012-07-11 14:19:35,711:debug] KnowledgeAgent no resource mapped for type=TypeDeclaration{typeName='Bean', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 14:19:35,711:debug] KnowledgeAgent no resource mapped for rule=[Rule name=Data, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:19:35,711:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=[Rule name=Data, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:19:35,712:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=[Rule name=Init, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:19:35,712:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='Bean2', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 14:19:35,712:info] KnowledgeAgent incremental build of KnowledgeBase finished and in use
[2012-07-11 14:19:35,712:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:19:35,715:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='http://localhost:1024/rules2.drl']
[2012-07-11 14:19:35,715:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='http://localhost:1024/rules1.drl']
[2012-07-11 14:19:36,015:info] KnowledgeAgent applying ChangeSet
[2012-07-11 14:19:36,016:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='http://localhost:1024/rules1.drl']
[2012-07-11 14:19:36,016:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:19:36,017:info] KnowledgeAgent performing an incremental build of the ChangeSet
[2012-07-11 14:19:36,023:debug] KnowledgeAgent building resource map
[2012-07-11 14:19:36,023:debug] KnowledgeAgent no resource mapped for type=TypeDeclaration{typeName='Bean', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 14:19:36,023:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules1.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='Bean', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 14:19:36,023:info] KnowledgeAgent incremental build of KnowledgeBase finished and in use
[2012-07-11 14:19:36,023:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
----------------
[2012-07-11 14:19:36,227:info] KnowledgeAgent applying ChangeSet
[2012-07-11 14:19:36,228:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='http://localhost:1024/rules2.drl']
[2012-07-11 14:19:36,228:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:19:36,230:info] KnowledgeAgent performing an incremental build of the ChangeSet
[2012-07-11 14:19:36,252:debug] KnowledgeAgent building resource map
[2012-07-11 14:19:36,252:debug] KnowledgeAgent no resource mapped for type=TypeDeclaration{typeName='Bean', role=EVENT, format=POJO, kind=CLASS, nature=DECLARATION}
[2012-07-11 14:19:36,252:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='Bean', role=EVENT, format=POJO, kind=CLASS, nature=DECLARATION}
[2012-07-11 14:19:36,252:debug] KnowledgeAgent no resource mapped for rule=[Rule name=Data, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:19:36,252:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=[Rule name=Data, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:19:36,252:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=[Rule name=Init, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:19:36,252:debug] KnowledgeAgent mapping resource=[UrlResource path='http://localhost:1024/rules2.drl'] to KnowledgeDefinition=TypeDeclaration{typeName='Bean2', role=FACT, format=POJO, kind=CLASS, nature=DEFINITION}
[2012-07-11 14:19:36,252:info] KnowledgeAgent incremental build of KnowledgeBase finished and in use
[2012-07-11 14:19:36,252:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:19:36,254:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='http://localhost:1024/rules2.drl']
[2012-07-11 14:19:36,255:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='http://localhost:1024/rules1.drl']
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.506 sec
Running org.drools.agent.KnowledgeAgentEventListenerTest
[8] No mapping entries for expanding: There is a Person
[8] Unable to expand: There is a Person
[10] No mapping entries for expanding: add rule's name to list
[10] Unable to expand: add rule's name to list
[13,0]: [ERR 102] Line 13:0 mismatched input ''
[8,6]: [ERR 102] Line 8:6 mismatched input 'is' in rule "Rule1"
[13,0]: [ERR 102] Line 13:0 mismatched input '<eof>' in rule
[8] No mapping entries for expanding: There is a Person
[8] Unable to expand: There is a Person
[10] No mapping entries for expanding: add rule's name to list
[10] Unable to expand: add rule's name to list
[13,0]: [ERR 102] Line 13:0 mismatched input ''
[8,6]: [ERR 102] Line 8:6 mismatched input 'is' in rule "Rule1"
[13,0]: [ERR 102] Line 13:0 mismatched input '<eof>' in rule
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.85 sec
Running org.drools.agent.KnowledgeAgentIncrementalChangeSetTest
package org.drools.test
import org.drools.Person;
global java.util.List list
rule rule1
when
String()
then
list.add( drools.getRule().getName()+"-V3");
end
rule rule3
when
String()
then
list.add( drools.getRule().getName() );
end
rule rule4
when
String()
then
list.add( drools.getRule().getName() );
end
Rule Compilation error The method function1(List, String) is undefined for the type Rule_rule1_67be859dafe9454e8d930938b50fdf0f
Row= Some String
Row= Some Other String
java.lang.RuntimeException: Unable to compile Knowledge[6,8]: [ERR 102] Line 6:8 mismatched input ')' in rule "rule1"
[0,0]: Parser returned a null Package
Tests run: 15, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 25.823 sec
Running org.drools.agent.KnowledgeAgentTest
java.lang.RuntimeException: Unable to parse ChangeSet
at org.drools.agent.impl.KnowledgeAgentImpl.getChangeSet(KnowledgeAgentImpl.java:448)
at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:180)
at org.drools.agent.KnowledgeAgentTest.testMissingChangeset(KnowledgeAgentTest.java:891)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Caused by: java.net.UnknownHostException: tmp
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.NetworkClient.openServer(NetworkClient.java:118)
at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)
at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:352)
at org.drools.io.impl.UrlResource.grabStream(UrlResource.java:210)
at org.drools.io.impl.UrlResource.getInputStream(UrlResource.java:146)
at org.drools.io.impl.UrlResource.getReader(UrlResource.java:214)
at org.drools.agent.impl.KnowledgeAgentImpl.getChangeSet(KnowledgeAgentImpl.java:446)
... 33 more
java.lang.RuntimeException: Unable to parse ChangeSet
at org.drools.agent.impl.KnowledgeAgentImpl.getChangeSet(KnowledgeAgentImpl.java:453)
at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:180)
at org.drools.agent.KnowledgeAgentTest.testMissingChangeset(KnowledgeAgentTest.java:891)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.516 sec
Running org.drools.agent.QueryRemotionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.331 sec
Running org.drools.agent.UrlResourceTest
root : /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__drools__31bd61cb-ea19-4915-8cd1-38df92df2362
target file: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__drools__31bd61cb-ea19-4915-8cd1-38df92df2362/rule1.drl
lm_ : 1342009226000 lm : 1342009225000
root : /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__drools__6e6f61d0-c5dc-4523-ae38-a320c639ae26
target file: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__drools__6e6f61d0-c5dc-4523-ae38-a320c639ae26/rule1.drl
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.433 sec
Running org.drools.api.KnowledgeBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.drools.api.KnowledgeSessionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.drools.builder.KnowledgeBuilderConfigurationTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.command.KBuilderBatchExecutionTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
Running org.drools.command.MoreBatchExecutionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 sec
Running org.drools.command.RegisterWorkItemHandlerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
Running org.drools.command.SimpleBatchExecutionTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 sec
Running org.drools.common.ActivationIteratorTest
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.414 sec
Running org.drools.common.ActiveActivationsIteratorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec
Running org.drools.common.TerminalNodeIteratorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.drools.compiler.CompilerPerfProfileTest
Time taken for MVEL : 422Time taken for JDT : 789Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.335 sec
Running org.drools.compiler.DrlParserTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.049 sec
Running org.drools.compiler.Java5Test
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.154 sec
Running org.drools.compiler.PackageBuilderConfigurationTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running org.drools.compiler.PackageBuilderTest
Tests run: 35, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.514 sec
Running org.drools.compiler.QueryBuilderTest
age: 75
age: 80
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec
Running org.drools.compiler.RuleBaseLoaderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 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 sec
Running org.drools.compiler.RuleFlowErrorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.compiler.SourcePackageProviderTest
RuleAgent(default) INFO (Wed Jul 11 14:20:34 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 14:20:34 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/Something.drl
RuleAgent(default) INFO (Wed Jul 11 14:20:34 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:20:34 CEST 2012): Adding package called HelloWorld
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec
Running org.drools.compiler.TypeDeclarationMergingTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
Running org.drools.compiler.TypeDeclarationTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
Running org.drools.compiler.xml.changeset.ChangeSetTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.587 sec
Running org.drools.compiler.xml.rules.DumperTest
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="import java.util.List"/>
<import name="org.drools.Person" />
<import name="org.drools.Cheese" />
<import name="org.drools.Cheesery" />
<global identifier="cheesery" type="Cheesery" />
<global identifier="list1" type="List" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<lhs>
<pattern identifier="cheese" object-type="Cheese">
<from>
<accumulate>
<pattern object-type="Person"></pattern>
<init>
int total = 0;
</init>
<action>
total += $cheese.getPrice();
</action>
<result>
new Integer( total ) );
</result>
</accumulate>
</from>
</pattern>
<pattern identifier="max" object-type="Number">
<from>
<accumulate>
<pattern identifier="cheese" object-type="Cheese"></pattern>
<external-function evaluator="max" expression="$price"/>
</accumulate>
</from>
</pattern>
</lhs>
<rhs>
list1.add( $cheese );
</rhs>
</rule>
<rule name="multipatternaccumulate_rule">
<rule-attribute name="salience" value="10" />
<lhs>
<pattern identifier="cheese" object-type="Cheese">
<from>
<accumulate>
<and-conditional-element>
<pattern object-type="Milk"></pattern>
<pattern object-type="Cup"></pattern>
</and-conditional-element>
<init>
int total = 0;
</init>
<action>
total += $cheese.getPrice();
</action>
<result>
new Integer( total ) );
</result>
</accumulate>
</from>
</pattern>
</lhs>
<rhs>
list1.add( $cheese );
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="import java.util.List" />
<import name="org.drools.Person" />
<import name="org.drools.Cheese" />
<import name="org.drools.Cheesery" />
<global identifier="cheesery" type="Cheesery" />
<global identifier="list1" type="List" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<lhs><pattern identifier="cheese" object-type="Cheese" >
<from> <accumulate> <pattern object-type="Person" >
</pattern>
<init>int total = 0;</init><action>total += $cheese.getPrice();</action><result>new Integer( total ) );</result> </accumulate> </from> </pattern>
<pattern identifier="max" object-type="Number" >
<from> <accumulate> <pattern identifier="cheese" object-type="Cheese" >
</pattern>
<external-function evaluator="max" expression="$price"/> </accumulate> </from> </pattern>
</lhs><rhs>
list1.add( $cheese );
</rhs>
</rule><rule name="multipatternaccumulate_rule">
<rule-attribute name="salience" value="10" />
<lhs><pattern identifier="cheese" object-type="Cheese" >
<from> <accumulate> <and-conditional-element><pattern object-type="Milk" >
</pattern>
<pattern object-type="Cup" >
</pattern>
</and-conditional-element><init>int total = 0;</init><action>total += $cheese.getPrice();</action><result>new Integer( total ) );</result> </accumulate> </from> </pattern>
</lhs><rhs>
list1.add( $cheese );
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample" xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="import java.util.List" />
<import name="org.drools.Cheese" />
<import name="org.drools.Cheesery" />
<global identifier="cheesery" type="Cheesery" />
<global identifier="list" type="List" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<lhs>
<pattern identifier="cheese" object-type="Cheese">
<expr>
type == 1
</expr>
<from>
<collect>
<pattern object-type="Person">
<expr>
hair == &quot;pink&quot;
</expr>
</pattern>
</collect>
</from>
</pattern>
</lhs>
<rhs> list.add( $cheese ); </rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="import java.util.List" />
<import name="org.drools.Cheese" />
<import name="org.drools.Cheesery" />
<global identifier="cheesery" type="Cheesery" />
<global identifier="list" type="List" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<lhs><pattern identifier="cheese" object-type="Cheese" >
<expr>
type == 1
</expr>
<from> <collect><pattern object-type="Person" >
<expr>
hair == &quot;pink&quot;
</expr>
</pattern>
</collect> </from> </pattern>
</lhs><rhs> list.add( $cheese ); </rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample" xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<rule name="simple_rule">
<lhs>
<exists>
<pattern object-type="Person">
<expr>
likes == type
</expr>
</pattern>
</exists>
<not>
<exists>
<pattern object-type="Cheese">
<expr>
likes == type
</expr>
</pattern>
</exists>
</not>
</lhs>
<rhs> list.add( $cheese ); </rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<rule name="simple_rule">
<lhs><exists><pattern object-type="Person" >
<expr>
likes == type
</expr>
</pattern>
</exists>
<not><exists><pattern object-type="Cheese" >
<expr>
likes == type
</expr>
</pattern>
</exists>
</not>
</lhs><rhs> list.add( $cheese ); </rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<global identifier="results" type="java.util.List" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<lhs>
<forall>
<pattern object-type="State">
<field-binding field-name="state" identifier="state" />
</pattern>
<pattern object-type="Person">
<expr>
status == state
</expr>
<field-binding field-name="likes" identifier="likes" />
</pattern>
<pattern object-type="Cheese">
<field-binding field-name="type" identifier="likes" />
</pattern>
</forall>
</lhs>
<rhs>
results.add("OK");
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<global identifier="results" type="java.util.List" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<lhs><forall><pattern object-type="State" >
<field-binding field-name="state" identifier="state" />
</pattern>
<pattern object-type="Person" >
<expr>
status == state
</expr>
<field-binding field-name="likes" identifier="likes" />
</pattern>
<pattern object-type="Cheese" >
<field-binding field-name="type" identifier="likes" />
</pattern>
</forall>
</lhs><rhs>
results.add("OK");
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="import java.util.List"/>
<import name="org.drools.Cheese" />
<import name="org.drools.Cheesery" />
<global identifier="cheesery" type="Cheesery" />
<global identifier="list1" type="List" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<lhs>
<pattern identifier="cheese" object-type="Cheese" >
<from>
<expression>
cheesery.getCheeses(i+4)
</expression>
</from>
</pattern>
</lhs>
<rhs>
list1.add( $cheese );
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="com.sample"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="import java.util.List" />
<import name="org.drools.Cheese" />
<import name="org.drools.Cheesery" />
<global identifier="cheesery" type="Cheesery" />
<global identifier="list1" type="List" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<lhs><pattern identifier="cheese" object-type="Cheese" >
<from> <expression> cheesery.getCheeses(i+4) </expression> </from> </pattern>
</lhs><rhs>
list1.add( $cheese );
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="foo" xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="java.util.HashMap" />
<import name="java.util.HashSet" />
<import name="java.utilArrayList" />
<global identifier="m" type="HashMap" />
<global identifier="s" type="HashSet" />
<global identifier="p" type="org.drools.Person" />
<importfunction name="org.drools.xml.DumperTest.testStaticMethod1" />
<importfunction name="org.drools.xml.DumperTest.testStaticMethod2" />
<importfunction name="org.drools.xml.DumperTest.testStaticMethod3" />
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<rule-attribute name="ruleflow-group" value="xxx" />
<rule-attribute name="lock-on-active" value="true" />
<rule-attribute name="auto-focus" value="true" />
<rule-attribute name="date-effective" value="01-Jan-2007" />
<rule-attribute name="date-expires" value="01-Feb-2007" />
<lhs><pattern identifier="foo2" object-type="Bar" >
<expr>
((a (&gt; 60 &amp;&amp; &lt; 70) || (&gt; 50 &amp;&amp; &lt; 55)) &amp;&amp; (a3 == &quot;black&quot;)) || ((a == 40) &amp;&amp; (a3 == &quot;pink&quot;)) || ((a == 12) &amp;&amp; (a3 == &quot;yellow&quot;)) || (a3 == &quot;blue&quot;)
</expr>
</pattern>
<pattern identifier="foo3" object-type="Bar" >
<expr>
a == 3 || == 4
</expr>
<expr>
a3 == &quot;hello&quot;
</expr>
<expr>
a4 == null
</expr>
</pattern>
<pattern identifier="foo4" object-type="Bar" >
<expr>
a != 4 &amp;&amp; != 5
</expr>
<field-binding field-name="a" identifier="a4" />
</pattern>
<pattern identifier="foo5" object-type="Bar" >
<expr>
b == (a4
+ 1) || &gt; a4
</expr>
</pattern>
<pattern identifier="foo6" object-type="Bar" >
<expr>
b == 6
</expr>
<field-binding field-name="a" identifier="a4" />
</pattern>
<pattern identifier="foo7" object-type="Bar" >
<field-binding field-name="a" identifier="a4" />
<field-binding field-name="b" identifier="b4" />
</pattern>
<pattern identifier="$cheeseList" object-type="ArrayList" >
<expr>
size &gt; 2
</expr>
<from> <collect><pattern object-type="Cheese" >
<expr>
type == $likes
</expr>
</pattern>
</collect> </from> </pattern>
<pattern object-type="Baz" >
</pattern>
</lhs><rhs> if ( a == b ) {
assert( foo3 );
} else {
retract( foo4 );
}
System.out.println( a4 );
testStaticMethod1();
testStaticMethod2();
testStaticMethod3();
</rhs>
</rule><rule name="simple_rule2">
<rule-attribute name="salience" value="(10 + a)" />
<rule-attribute name="dialect" value="mvel" />
<lhs><pattern identifier="foo4" object-type="Bar" >
<expr>
a != 4 &amp;&amp; != 5
</expr>
<field-binding field-name="a" identifier="a4" />
</pattern>
</lhs><rhs> if ( a == b ) {
assert( foo3 );
} else {
retract( foo4 );
}
System.out.println( a4 );
testStaticMethod1();
testStaticMethod2();
testStaticMethod3();
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="foo"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="java.util.HashMap" />
<import name="java.util.HashSet" />
<import name="java.utilArrayList" />
<global identifier="m" type="HashMap" />
<global identifier="s" type="HashSet" />
<global identifier="p" type="org.drools.Person" />
<importfunction name="org.drools.xml.DumperTest.testStaticMethod1"/>
<importfunction name="org.drools.xml.DumperTest.testStaticMethod2"/>
<importfunction name="org.drools.xml.DumperTest.testStaticMethod3"/>
<rule name="simple_rule">
<rule-attribute name="salience" value="10" />
<rule-attribute name="no-loop" value="true" />
<rule-attribute name="agenda-group" value="agenda-group" />
<rule-attribute name="activation-group" value="activation-group" />
<rule-attribute name="ruleflow-group" value="xxx" />
<rule-attribute name="lock-on-active" value="true" />
<rule-attribute name="auto-focus" value="true" />
<rule-attribute name="date-effective" value="01-Jan-2007" />
<rule-attribute name="date-expires" value="01-Feb-2007" />
<lhs><pattern identifier="foo2" object-type="Bar" >
<expr>
((a (&gt; 60 &amp;&amp; &lt; 70) || (&gt; 50 &amp;&amp; &lt; 55)) &amp;&amp; (a3 == &quot;black&quot;)) || ((a == 40) &amp;&amp; (a3 == &quot;pink&quot;)) || ((a == 12) &amp;&amp; (a3 == &quot;yellow&quot;)) || (a3 == &quot;blue&quot;)
</expr>
</pattern>
<pattern identifier="foo3" object-type="Bar" >
<expr>
a == 3 || == 4
</expr>
<expr>
a3 == &quot;hello&quot;
</expr>
<expr>
a4 == null
</expr>
</pattern>
<pattern identifier="foo4" object-type="Bar" >
<expr>
a != 4 &amp;&amp; != 5
</expr>
<field-binding field-name="a" identifier="a4" />
</pattern>
<pattern identifier="foo5" object-type="Bar" >
<expr>
b == (a4
+ 1) || &gt; a4
</expr>
</pattern>
<pattern identifier="foo6" object-type="Bar" >
<expr>
b == 6
</expr>
<field-binding field-name="a" identifier="a4" />
</pattern>
<pattern identifier="foo7" object-type="Bar" >
<field-binding field-name="a" identifier="a4" />
<field-binding field-name="b" identifier="b4" />
</pattern>
<pattern identifier="$cheeseList" object-type="ArrayList" >
<expr>
size &gt; 2
</expr>
<from> <collect><pattern object-type="Cheese" >
<expr>
type == $likes
</expr>
</pattern>
</collect> </from> </pattern>
<pattern object-type="Baz" >
</pattern>
</lhs><rhs> if ( a == b ) {
assert( foo3 );
} else {
retract( foo4 );
}
System.out.println( a4 );
testStaticMethod1();
testStaticMethod2();
testStaticMethod3();
</rhs>
</rule><rule name="simple_rule2">
<rule-attribute name="salience" value="(10 + a)" />
<rule-attribute name="dialect" value="mvel" />
<lhs><pattern identifier="foo4" object-type="Bar" >
<expr>
a != 4 &amp;&amp; != 5
</expr>
<field-binding field-name="a" identifier="a4" />
</pattern>
</lhs><rhs> if ( a == b ) {
assert( foo3 );
} else {
retract( foo4 );
}
System.out.println( a4 );
testStaticMethod1();
testStaticMethod2();
testStaticMethod3();
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="pt.inescporto.cec.rules"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="pt.inescporto.cec.entities.SetupInUse" />
<import name="pt.inescporto.cec.entities.SetupUse" />
<import name="pt.inescporto.cec.entities.ArtigoProducao" />
<import name="pt.inescporto.cec.entities.Parameter" />
<import name="pt.inescporto.cec.entities.BestParms" />
<import name="pt.inescporto.cec.entities.AccaoInspeccaoOperacao" />
<import name="pt.inescporto.cec.entities.MelhorEmNaoConformidades" />
<import name="pt.inescporto.cec.entities.OtherInspectionMethod" />
<import name="pt.inescporto.cec.entities.AccaoInspeccao" />
<rule name="ruleBestProductionOrderCreator">
<lhs><pattern object-type="AccaoInspeccao" >
<expr>
artigoID == 3
</expr>
<field-binding field-name="recursoID" identifier="resource" />
<field-binding field-name="operacaoID" identifier="operation" />
<field-binding field-name="ordemProducaoID" identifier="ProductionOrder" />
<field-binding field-name="recursoID" identifier="resourceID" />
<field-binding field-name="accaoInspeccaoID" identifier="InspectionAction" />
</pattern>
<pattern object-type="AccaoInspeccaoOperacao" >
<expr>
inspectionActionID == InspectionAction
</expr>
<field-binding field-name="inspAccaoOperacaoID" identifier="inspectionActionOperation" />
</pattern>
<pattern object-type="OtherInspectionMethod" >
<expr>
inspAccaoOperacaoID == inspectionActionOperation
</expr>
<field-binding field-name="numeroNaoConformidades" identifier="NCNumber" />
</pattern>
<not><pattern object-type="MelhorEmNaoConformidades" >
<expr>
operacaoID == operation
</expr>
<expr>
recursoID == resource
</expr>
</pattern>
</not>
</lhs><rhs>insert(new MelhorEmNaoConformidades(ProductionOrder,NCNumber,operation,resource));</rhs>
</rule><rule name="Best Checker">
<lhs><pattern object-type="AccaoInspeccao" >
<expr>
artigoID == 3
</expr>
<field-binding field-name="recursoID" identifier="resource" />
<field-binding field-name="operacaoID" identifier="operation" />
<field-binding field-name="ordemProducaoID" identifier="ProductionOrder" />
<field-binding field-name="recursoID" identifier="resourceID" />
<field-binding field-name="accaoInspeccaoID" identifier="InspectionAction" />
</pattern>
<pattern object-type="AccaoInspeccaoOperacao" >
<expr>
inspectionActionID == InspectionAction
</expr>
<field-binding field-name="inspAccaoOperacaoID" identifier="inspectionActionOperation" />
</pattern>
<pattern object-type="OtherInspectionMethod" >
<expr>
inspAccaoOperacaoID == inspectionActionOperation
</expr>
<field-binding field-name="numeroNaoConformidades" identifier="NCNumber" />
</pattern>
<pattern identifier="TheBest" object-type="MelhorEmNaoConformidades" >
<expr>
operacaoID == operation
</expr>
<expr>
recursoID == resource
</expr>
<expr>
numeroDefeitos &gt; NCNumber
</expr>
</pattern>
</lhs><rhs>TheBest.setNumeroDefeitos(NCNumber);
TheBest.setOrdemProducaoID(ProductionOrder);
update(TheBest);
</rhs>
</rule><rule name="ruleBestParametersCreator">
<rule-attribute name="salience" value="-100" />
<lhs><pattern object-type="MelhorEmNaoConformidades" >
<field-binding field-name="ordemProducaoID" identifier="$poID" />
<field-binding field-name="numeroDefeitos" identifier="$NC" />
</pattern>
<pattern object-type="SetupInUse" >
<expr>
productionOrderID == $poID
</expr>
<field-binding field-name="setupUseID" identifier="$setup" />
</pattern>
<pattern identifier="$p" object-type="Parameter" >
<expr>
setupUseID == $setup
</expr>
<field-binding field-name="parameterID" identifier="$parID" />
</pattern>
<not><pattern object-type="BestParms" >
<expr>
parameterID == $parID
</expr>
</pattern>
</not>
</lhs><rhs>BestParms newBest=new BestParms();
newBest.setParameterID($parID);
newBest.setNominalValue(new Float($p.getNominalValue()));
newBest.setMaxLimit(new Float($p.getMaxLimit()));
newBest.setMinLimit(new Float($p.getMinLimit()));
newBest.setMaxLimitAlarm(new Float($p.getMaxLimitAlarm()));
newBest.setMinLimitAlarm(new Float($p.getMinLimitAlarm()));
newBest.setNonConformities(new Float($NC));
insert(newBest);
</rhs>
</rule><rule name="ruleBestParametersChecker">
<rule-attribute name="salience" value="-100" />
<lhs><pattern object-type="MelhorEmNaoConformidades" >
<field-binding field-name="ordemProducaoID" identifier="$poID" />
<field-binding field-name="numeroDefeitos" identifier="$NC" />
</pattern>
<pattern object-type="SetupInUse" >
<expr>
productionOrderID == $poID
</expr>
<field-binding field-name="setupUseID" identifier="$setup" />
</pattern>
<pattern identifier="$p" object-type="Parameter" >
<expr>
setupUseID == $setup
</expr>
<field-binding field-name="parameterID" identifier="$parID" />
</pattern>
<pattern identifier="$newBest" object-type="Parameter" >
<expr>
parameterID == $parID
</expr>
<expr>
nonConformities &gt; $NC
</expr>
</pattern>
</lhs><rhs>$newBest.setNominalValue(new Float(p.getNominalValue()));
$newBest.setMaxLimit(new Float(p.getMaxLimit()));
$newBest.setMinLimit(new Float(p.getMinLimit()));
$newBest.setMaxLimitAlarm(new Float(p.getMaxLimitAlarm()));
$newBest.setMinLimitAlarm(new Float(p.getMinLimitAlarm()));
$newBest.setNonConformities(new Float($NC));
update($newBest);
</rhs>
</rule><rule name="print">
<rule-attribute name="salience" value="-110" />
<lhs><pattern identifier="bp" object-type="BestParms" >
</pattern>
</lhs><rhs>System.out.println("Parameter: "+bp.getParameterID()+" Value: "+bp.getNominalValue()+" NC: "+bp.getNonConformities());
</rhs>
</rule>
</package>
<?xml version="1.0" encoding="UTF-8"?>
<package name="pt.inescporto.cec.rules"
xmlns="http://drools.org/drools-5.2"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://drools.org/drools-5.2 drools.org/drools-5.2.xsd">
<import name="pt.inescporto.cec.entities.SetupInUse" />
<import name="pt.inescporto.cec.entities.SetupUse" />
<import name="pt.inescporto.cec.entities.ArtigoProducao" />
<import name="pt.inescporto.cec.entities.Parameter" />
<import name="pt.inescporto.cec.entities.BestParms" />
<import name="pt.inescporto.cec.entities.AccaoInspeccaoOperacao" />
<import name="pt.inescporto.cec.entities.MelhorEmNaoConformidades" />
<import name="pt.inescporto.cec.entities.OtherInspectionMethod" />
<import name="pt.inescporto.cec.entities.AccaoInspeccao" />
<rule name="ruleBestProductionOrderCreator">
<lhs><pattern object-type="AccaoInspeccao" >
<expr>
artigoID == 3
</expr>
<field-binding field-name="recursoID" identifier="resource" />
<field-binding field-name="operacaoID" identifier="operation" />
<field-binding field-name="ordemProducaoID" identifier="ProductionOrder" />
<field-binding field-name="recursoID" identifier="resourceID" />
<field-binding field-name="accaoInspeccaoID" identifier="InspectionAction" />
</pattern>
<pattern object-type="AccaoInspeccaoOperacao" >
<expr>
inspectionActionID == InspectionAction
</expr>
<field-binding field-name="inspAccaoOperacaoID" identifier="inspectionActionOperation" />
</pattern>
<pattern object-type="OtherInspectionMethod" >
<expr>
inspAccaoOperacaoID == inspectionActionOperation
</expr>
<field-binding field-name="numeroNaoConformidades" identifier="NCNumber" />
</pattern>
<not><pattern object-type="MelhorEmNaoConformidades" >
<expr>
operacaoID == operation
</expr>
<expr>
recursoID == resource
</expr>
</pattern>
</not>
</lhs><rhs>insert(new MelhorEmNaoConformidades(ProductionOrder,NCNumber,operation,resource));</rhs>
</rule><rule name="Best Checker">
<lhs><pattern object-type="AccaoInspeccao" >
<expr>
artigoID == 3
</expr>
<field-binding field-name="recursoID" identifier="resource" />
<field-binding field-name="operacaoID" identifier="operation" />
<field-binding field-name="ordemProducaoID" identifier="ProductionOrder" />
<field-binding field-name="recursoID" identifier="resourceID" />
<field-binding field-name="accaoInspeccaoID" identifier="InspectionAction" />
</pattern>
<pattern object-type="AccaoInspeccaoOperacao" >
<expr>
inspectionActionID == InspectionAction
</expr>
<field-binding field-name="inspAccaoOperacaoID" identifier="inspectionActionOperation" />
</pattern>
<pattern object-type="OtherInspectionMethod" >
<expr>
inspAccaoOperacaoID == inspectionActionOperation
</expr>
<field-binding field-name="numeroNaoConformidades" identifier="NCNumber" />
</pattern>
<pattern identifier="TheBest" object-type="MelhorEmNaoConformidades" >
<expr>
operacaoID == operation
</expr>
<expr>
recursoID == resource
</expr>
<expr>
numeroDefeitos &gt; NCNumber
</expr>
</pattern>
</lhs><rhs>TheBest.setNumeroDefeitos(NCNumber);
TheBest.setOrdemProducaoID(ProductionOrder);
update(TheBest);
</rhs>
</rule><rule name="ruleBestParametersCreator">
<rule-attribute name="salience" value="-100" />
<lhs><pattern object-type="MelhorEmNaoConformidades" >
<field-binding field-name="ordemProducaoID" identifier="$poID" />
<field-binding field-name="numeroDefeitos" identifier="$NC" />
</pattern>
<pattern object-type="SetupInUse" >
<expr>
productionOrderID == $poID
</expr>
<field-binding field-name="setupUseID" identifier="$setup" />
</pattern>
<pattern identifier="$p" object-type="Parameter" >
<expr>
setupUseID == $setup
</expr>
<field-binding field-name="parameterID" identifier="$parID" />
</pattern>
<not><pattern object-type="BestParms" >
<expr>
parameterID == $parID
</expr>
</pattern>
</not>
</lhs><rhs>BestParms newBest=new BestParms();
newBest.setParameterID($parID);
newBest.setNominalValue(new Float($p.getNominalValue()));
newBest.setMaxLimit(new Float($p.getMaxLimit()));
newBest.setMinLimit(new Float($p.getMinLimit()));
newBest.setMaxLimitAlarm(new Float($p.getMaxLimitAlarm()));
newBest.setMinLimitAlarm(new Float($p.getMinLimitAlarm()));
newBest.setNonConformities(new Float($NC));
insert(newBest);
</rhs>
</rule><rule name="ruleBestParametersChecker">
<rule-attribute name="salience" value="-100" />
<lhs><pattern object-type="MelhorEmNaoConformidades" >
<field-binding field-name="ordemProducaoID" identifier="$poID" />
<field-binding field-name="numeroDefeitos" identifier="$NC" />
</pattern>
<pattern object-type="SetupInUse" >
<expr>
productionOrderID == $poID
</expr>
<field-binding field-name="setupUseID" identifier="$setup" />
</pattern>
<pattern identifier="$p" object-type="Parameter" >
<expr>
setupUseID == $setup
</expr>
<field-binding field-name="parameterID" identifier="$parID" />
</pattern>
<pattern identifier="$newBest" object-type="Parameter" >
<expr>
parameterID == $parID
</expr>
<expr>
nonConformities &gt; $NC
</expr>
</pattern>
</lhs><rhs>$newBest.setNominalValue(new Float(p.getNominalValue()));
$newBest.setMaxLimit(new Float(p.getMaxLimit()));
$newBest.setMinLimit(new Float(p.getMinLimit()));
$newBest.setMaxLimitAlarm(new Float(p.getMaxLimitAlarm()));
$newBest.setMinLimitAlarm(new Float(p.getMinLimitAlarm()));
$newBest.setNonConformities(new Float($NC));
update($newBest);
</rhs>
</rule><rule name="print">
<rule-attribute name="salience" value="-110" />
<lhs><pattern identifier="bp" object-type="BestParms" >
</pattern>
</lhs><rhs>System.out.println("Parameter: "+bp.getParameterID()+" Value: "+bp.getNominalValue()+" NC: "+bp.getNonConformities());
</rhs>
</rule>
</package>
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.503 sec
Running org.drools.compiler.xml.rules.XmlPackageReaderTest
(null: 5, 85): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 5, 85): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 7, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 8, 33): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 9, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 7, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 8, 33): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 11, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 12, 54): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 7, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 8, 33): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 10, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 11, 54): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 13, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 14, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 15, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 17, 13): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 79): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 79): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 7, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 8, 34): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 10, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 11, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 13, 47): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 14, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 15, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 17, 13): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 22, 29): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 23, 52): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 24, 53): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 25, 66): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 26, 74): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 28, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 29, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 30, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 31, 43): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 32, 52): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 33, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 34, 53): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 36, 61): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 38, 61): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 40, 53): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 42, 61): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 44, 61): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 49, 53): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 51, 41): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 55, 43): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 56, 52): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 58, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 61, 53): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 63, 40): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 67, 43): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 68, 52): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 70, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 73, 53): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 74, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 76, 60): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 78, 58): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 85, 15): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 86, 43): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 87, 53): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 89, 42): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 93, 21): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 94, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 95, 56): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 97, 60): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 103, 34): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 104, 58): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 105, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 106, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 108, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 110, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 113, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 115, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 117, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 119, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 123, 58): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 124, 64): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 125, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 127, 34): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 129, 34): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 134, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 135, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 136, 43): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 138, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 140, 40): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 142, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 149, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 150, 61): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 151, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 153, 31): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 157, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 158, 61): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 159, 61): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 161, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 164, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 174, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 176, 59): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 178, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 179, 41): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 181, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 182, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 185, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 189, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 192, 33): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 201, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 79): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 79): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 7, 36): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 8, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 10, 44): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 12, 30): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 13, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 14, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 15, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 17, 35): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 21, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 26, 30): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 27, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 28, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 29, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 30, 43): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 32, 35): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 34, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 39, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 44, 30): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 45, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 46, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 47, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 48, 43): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 50, 35): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 51, 47): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 53, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 55, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 61, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 67, 30): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 68, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 69, 58): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 71, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 72, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 74, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 78, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 83, 30): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 84, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 85, 58): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 87, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 88, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 89, 52): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 91, 40): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 94, 51): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 95, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 97, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 98, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 100, 57): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 102, 57): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 109, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 114, 30): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 115, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 116, 58): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 118, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 119, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 120, 52): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 122, 40): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 125, 43): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 126, 54): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 128, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 130, 54): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 132, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 134, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 136, 40): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 142, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 7, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 8, 33): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 10, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 11, 54): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 13, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 14, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 15, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 17, 13): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 22, 24): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 23, 10): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 25, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 27, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 29, 41): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 32, 52): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 35, 34): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 36, 64): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 37, 47): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 38, 72): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 39, 55): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 40, 75): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 43, 58): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 46, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 47, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 50, 15): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 51, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 54, 32): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 55, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 56, 41): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 57, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 62, 37): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 63, 45): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 64, 42): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 65, 49): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 68, 13): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 71, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 7, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 8, 33): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 10, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 11, 54): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 13, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 14, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 15, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 17, 13): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 22, 24): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 23, 10): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 26, 12): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 5, 85): cvc-elt.1: Cannot find the declaration of element 'package'.
(null: 6, 38): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 7, 33): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 9, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 10, 54): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 12, 46): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 13, 48): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 14, 50): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 16, 13): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 21, 26): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 22, 10): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
(null: 23, 39): schema_reference.4: Failed to read schema document 'drools.org/drools-5.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.38 sec
Running org.drools.conf.KnowledgeBaseConfigurationTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec
Running org.drools.conf.KnowledgeSessionConfigurationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.core.reteoo.BinaryHeapQueueTest
Running setup
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.definitions.KnowledgePackageMetaDataTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 sec
Running org.drools.factmodel.traits.TraitTest
X
>>> 0
[0, 8, 9, 7, 6, 5, 3, 4, 2, 1]
(@org.test.PersonorgtestImpProxy) : [<<code=code123>>, <<name=adam>>, <<code=456>>]
(@org.drools.factmodel.traits.IStudentorgdroolsfactmodeltraitsEntityProxy) : [<<name=john>>, <<age=30>>, <<roleName=john>>, <<school=skol>>]
(@org.test.PersonorgdroolsfactmodeltraitsEntityProxy) : [<<roleName=john>>, <<age=30>>, <<name=john>>, <<school=skol>>]
(@org.test.WorkerorgdroolsfactmodeltraitsEntityProxy) : [<<roleName=john>>, <<age=30>>, <<school=skol>>, <<name=john>>]
(@org.drools.factmodel.traits.IPersonorgdroolsfactmodeltraitsEntityProxy) : [<<roleName=john>>, <<age=30>>, <<name=john>>, <<school=skol>>]
(@org.drools.factmodel.traits.IRole_Trait__ExtensionorgdroolsfactmodeltraitsEntityProxy) : [<<roleName=john>>, <<name=john>>, <<school=skol>>, <<age=30>>]
John the IRole is here
John the IStudent is here
John the IPerson is here
John the Worker is here
John the Person is here
-------------- 7 ----------------
(@org.drools.factmodel.traits.IStudentorgdroolsfactmodeltraitsEntityProxy) : [<<age=30>>, <<school=skol>>, <<name=john>>, <<roleName=john>>]
(@org.drools.factmodel.traits.ThingorgdroolsfactmodeltraitsEntityProxy) : [<<school=skol>>, <<name=john>>, <<roleName=john>>, <<age=30>>]
(@org.test.WorkerorgdroolsfactmodeltraitsEntityProxy) : [<<name=john>>, <<roleName=john>>, <<age=30>>, <<school=skol>>]
(@org.drools.factmodel.traits.IRole_Trait__ExtensionorgdroolsfactmodeltraitsEntityProxy) : [<<name=john>>, <<age=30>>, <<roleName=john>>, <<school=skol>>]
(@org.drools.factmodel.traits.IPersonorgdroolsfactmodeltraitsEntityProxy) : [<<school=skol>>, <<age=30>>, <<name=john>>, <<roleName=john>>]
(@org.test.PersonorgdroolsfactmodeltraitsEntityProxy) : [<<roleName=john>>, <<school=skol>>, <<name=john>>, <<age=30>>]
org.drools.factmodel.traits.Entity@b1c59076
-------------- ----------------
[OK5, OK4, OK3, OK2, OK]
-------------- ----------------
(@org.test.ComplexTraitorgtestBeanProxy) : [<<nest2=(@org.test.AnotherTraitorgdroolsfactmodeltraitsEntityProxy) : [<<field=[aaa]>>]>>, <<id=asd>>, <<nested=(@org.test.SimpleTraitorgdroolsfactmodeltraitsEntityProxy) : [<<name=xyz>>]>>, <<ages=[22, 18]>>, <<addrex=[here]>>]
-------------- 7 ----------------
(@org.drools.factmodel.traits.ThingorgtestBeanProxy) : [<<nested=(@org.test.SimpleTraitorgdroolsfactmodeltraitsEntityProxy) : [<<name=xyz>>]>>, <<ages=[22, 18]>>, <<addrex=[here]>>, <<nest2=(@org.test.AnotherTraitorgdroolsfactmodeltraitsEntityProxy) : [<<field=[aaa]>>]>>, <<id=asd>>]
(@org.test.ComplexTraitorgtestBeanProxy) : [<<addrex=[here]>>, <<nest2=(@org.test.AnotherTraitorgdroolsfactmodeltraitsEntityProxy) : [<<field=[aaa]>>]>>, <<nested=(@org.test.SimpleTraitorgdroolsfactmodeltraitsEntityProxy) : [<<name=xyz>>]>>, <<ages=[22, 18]>>, <<id=asd>>]
Bean( id=asd, addrex=[here] )
(@org.drools.factmodel.traits.ThingorgdroolsfactmodeltraitsEntityProxy) : [<<name=xyz>>]
(@org.drools.factmodel.traits.ThingorgdroolsfactmodeltraitsEntityProxy) : [<<field=[aaa]>>]
(@org.test.SimpleTraitorgdroolsfactmodeltraitsEntityProxy) : [<<name=xyz>>]
(@org.test.AnotherTraitorgdroolsfactmodeltraitsEntityProxy) : [<<field=[aaa]>>]
-------------- ----------------
[OK]
-------------- ----------------
Person trait : (@org.test.PersonorgdroolsfactmodeltraitsImpWrapperProxy) : [<<name=john>>, <<age=0>>, <<school=null>>, <<age=30>>]
John the Person is here >>> (@org.test.PersonorgdroolsfactmodeltraitsImpWrapperProxy) : [<<age=30>>, <<school=null>>, <<name=john>>, <<age=0>>]
John the Role is here >>> myRole
John the Role is here >>> (@org.drools.factmodel.traits.IRole_Trait__ExtensionorgdroolsfactmodeltraitsImpWrapperProxy) : [<<roleName=myRole>>, <<age=0>>, <<name=john>>, <<school=null>>, <<age=30>>]
-------------- 5 ----------------
(@org.test.PersonorgdroolsfactmodeltraitsImpWrapperProxy) : [<<roleName=myRole>>, <<age=0>>, <<name=john>>, <<school=null>>, <<age=30>>]
(@org.drools.factmodel.traits.IRole_Trait__ExtensionorgdroolsfactmodeltraitsImpWrapperProxy) : [<<roleName=myRole>>, <<name=john>>, <<school=null>>, <<age=0>>, <<age=30>>]
(@org.drools.factmodel.traits.ThingorgdroolsfactmodeltraitsImpWrapperProxy) : [<<name=john>>, <<school=null>>, <<age=30>>, <<roleName=myRole>>, <<age=0>>]
Imp{name='john', school='null'}
(@org.drools.factmodel.traits.ThingorgdroolsfactmodeltraitsImpWrapperProxy) : [<<roleName=myRole>>, <<age=0>>, <<name=john>>, <<age=30>>, <<school=null>>]
-------------- ----------------
[OK, OK2]
-------------- ----------------
Compare (@org.test.StudentorgtestImpProxy) : [<<dcode=3.47>>, <<name=alan>>, <<age=12>>, <<school=zkl>>, <<code=33>>] vs (@org.test.StudentorgtestImpProxy) : [<<code=33>>, <<age=0>>, <<school=squola>>, <<dcode=3.44>>, <<name=alan>>]
Log org.drools.reteoo.InitialFactImpl@4dde85f0
Log (@org.test.TrueTraitorgtestDeclaredFactProxy) : [<<flag=true>>, <<id=1>>]
Log (@org.drools.factmodel.traits.ThingorgtestDeclaredFactProxy) : [<<id=1>>, <<flag=true>>]
Log DeclaredFact( id=2, flag=false )
Log DeclaredFact( id=1, flag=true )
!!QQE!
old
unread
Hello World
Starting execution...
Student is attending Masaryk University
Person is a student: [Person name='student age='18' likes='null']
Finished...
TIME : 1586
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.588 sec
Running org.drools.factmodel.traits.TripleBasedTraitsTest
TIME : 55
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec
Running org.drools.integrationtests.AccumulateTest
3
9.0
ok
We have a sum 0.0
We have a sum 0.0
We have a sum 1.0
We have a sum 3.0
We have a sum 6.0
We have a sum 10.0
We have a sum 15.0
We have a sum 21.0
We have a sum 28.0
We have a sum 36.0
We have a sum 45.0
We have a sum 55.0
We have a sum 65.0
We have a sum 75.0
We have a sum 85.0
We have a sum 95.0
We have a sum 105.0
We have a sum 115.0
We have a sum 125.0
We have a sum 135.0
We have a sum 145.0
We have a sum 155.0
We have a sum 165.0
We have a sum 175.0
We have a sum 185.0
We have a sum 195.0
We have a sum 205.0
We have a sum 215.0
We have a sum 225.0
We have a sum 235.0
We have a sum 245.0
We have a sum 255.0
We have a sum 265.0
We have a sum 275.0
We have a sum 0.0
We have a sum 0.0
We have a sum 1.0
We have a sum 3.0
We have a sum 6.0
We have a sum 10.0
We have a sum 15.0
We have a sum 21.0
We have a sum 28.0
We have a sum 36.0
We have a sum 45.0
We have a sum 55.0
We have a sum 66.0
We have a sum 78.0
We have a sum 91.0
We have a sum 105.0
We have a sum 120.0
We have a sum 136.0
We have a sum 153.0
We have a sum 171.0
We have a sum 190.0
We have a sum 210.0
We have a sum 231.0
We have a sum 253.0
We have a sum 276.0
We have a sum 300.0
We have a sum 325.0
We have a sum 351.0
We have a sum 378.0
We have a sum 406.0
We have a sum 435.0
We have a sum 465.0
We have a sum 496.0
We have a sum 528.0
We have a sum 0.0
We have a sum 0.0
We have a sum 1.0
We have a sum 3.0
We have a sum 6.0
We have a sum 10.0
We have a sum 15.0
We have a sum 21.0
We have a sum 28.0
We have a sum 36.0
We have a sum 45.0
We have a sum 55.0
We have a sum 65.0
We have a sum 75.0
We have a sum 85.0
We have a sum 95.0
We have a sum 105.0
We have a sum 115.0
We have a sum 125.0
We have a sum 135.0
We have a sum 145.0
We have a sum 155.0
We have a sum 165.0
We have a sum 175.0
We have a sum 185.0
We have a sum 195.0
We have a sum 205.0
We have a sum 215.0
We have a sum 225.0
We have a sum 235.0
We have a sum 245.0
We have a sum 255.0
We have a sum 265.0
We have a sum 275.0
Tests run: 51, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.017 sec
Running org.drools.integrationtests.AlphaNetworkModifyTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 sec
Running org.drools.integrationtests.AnnotationsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.082 sec
Running org.drools.integrationtests.ArrayContainsTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.511 sec
Running org.drools.integrationtests.BackwardChainingTest
You are in the kitchen
You can see [apple, broccoli, crackers]
You can eat [apple, crackers]
You can go to [office, cellar, dining room]
You are in the office
You can see [desk, computer]
You can eat [apple]
You can go to [hall, kitchen]
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.626 sec
Running org.drools.integrationtests.CepEspTest
StockTick( 2 : B : 10.0 )
StockTick( 3 : B : 10.0 )
StockTick( 1 : A : 10.0 )
StockTick( 2 : B : 10.0 )
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.984 sec
Running org.drools.integrationtests.ConsequenceOffsetTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec
Running org.drools.integrationtests.DateComparisonTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec
Running org.drools.integrationtests.DeclarativeAgendaTest
[blockerAllSalesRules1:rule0:go1, blockerAllSalesRules2:rule0:go2, blockerAllSalesRules3:rule0:go3]
[]
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.329 sec
Running org.drools.integrationtests.DroolsEventListTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec
Running org.drools.integrationtests.DroolsTest
20:passed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.drools.integrationtests.DslTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.111 sec
Running org.drools.integrationtests.DynamicRulesChangesTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0 sec
Running org.drools.integrationtests.DynamicRulesTest
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.848 sec
Running org.drools.integrationtests.EnumTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 sec
Running org.drools.integrationtests.eventgenerator.SimpleEventGeneratorTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.232 sec
Running org.drools.integrationtests.ExecutionFlowControlTest
Holds: 1
setting 1
Holds: null
setting null
Holds: 0
setting 0
Clearing ruleflow-group
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.494 sec
Running org.drools.integrationtests.ExpressionConstraintsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec
Running org.drools.integrationtests.ExtendsTest
Equality found Student( name=adam, age=14, school=AnotherSchool ) vs Student( name=adam, age=14, school=AnotherSchool )
Found person : Student( name=adam, age=14, school=AnotherSchool )
Equality found Student( name=adam, age=14, school=Zkool ) vs Student( name=adam, age=14, school=Zkool )
Equality found Student( name=adam, age=8, school=Zkool ) vs Student( name=adam, age=14, school=Zkool )
Equality found Student( name=adam, age=14, school=Zkool ) vs Student( name=adam, age=8, school=Zkool )
Found person : Student( name=adam, age=14, school=Zkool )
Equality found Student( name=adam, age=8, school=Zkool ) vs Student( name=adam, age=8, school=Zkool )
Found person : Student( name=adam, age=8, school=Zkool )
Equality found Person( name=john, age=30 ) vs Person( name=john, age=30 )
Equality found Person( name=john, age=42 ) vs Person( name=john, age=30 )
Equality found Person( name=john, age=30 ) vs Person( name=john, age=42 )
Found person : Person( name=john, age=30 )
Equality found Person( name=john, age=42 ) vs Person( name=john, age=42 )
Found person : Person( name=john, age=42 )
Equality found Person( name=joe, age=18 ) vs Person( name=joe, age=18 )
Found person : Person( name=joe, age=18 )
New declaration of org.drools.LegacyBean can't declare new fields
Error creating field accessors for TypeDeclaration 'LegacyBean' for type 'LegacyBean'
BetterLegacy( doubleField=3.3, decimalField=null, intField=245, objField=null, strField=XX, prop=true, oneMoreField=Hello )
Bean2( fld=4, myField=xxx, moref=0.0 )
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.233 sec
Running org.drools.integrationtests.FailureOnRemovalTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
Running org.drools.integrationtests.FireAllRulesCommandTest
Cheese( type='stilton', price=0 )
Cheese( type='limburger', price=0 )
Cheese( type='stinky', price=0 )
Cheese( type='cheddar', price=0 )
Cheese( type='gruyere', price=0 )
Cheese( type='stilton', price=0 )
Cheese( type='stilton', price=0 )
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec
Running org.drools.integrationtests.FirstOrderLogicTest
ACTIVATION CREATED rule:Setup activationId:Setup [0] declarations:
BEFORE ACTIVATION FIRED rule:Setup activationId:Setup [0] declarations:
OBJECT ASSERTED value:A( id=1 ) factId: 1
OBJECT ASSERTED value:A( id=1 ) factId: 2
OBJECT ASSERTED value:B( id=1 ) factId: 3
OBJECT ASSERTED value:C( id=1 ) factId: 4
OBJECT ASSERTED value:B( id=2 ) factId: 5
ACTIVATION CREATED rule:Trigger activationId:Trigger [6, 4, 1] declarations: $c1=C( id=1 )(4); $c4=C( id=4 )(6); $a=A( id=1 )(1)
ACTIVATION CREATED rule:Trigger activationId:Trigger [6, 4, 2] declarations: $c1=C( id=1 )(4); $c4=C( id=4 )(6); $a=A( id=1 )(2)
ACTIVATION CREATED rule:Offending activationId:Offending [4, 3, 1] declarations: $id=1(1)
ACTIVATION CREATED rule:Offending activationId:Offending [4, 3, 2] declarations: $id=1(2)
ACTIVATION CREATED rule:Offending activationId:Offending [4, 5, 1] declarations: $id=1(1)
ACTIVATION CREATED rule:Offending activationId:Offending [4, 5, 2] declarations: $id=1(2)
OBJECT ASSERTED value:C( id=4 ) factId: 6
AFTER ACTIVATION FIRED rule:Setup activationId:Setup [0] declarations:
BEFORE ACTIVATION FIRED rule:Trigger activationId:Trigger [6, 4, 2] declarations: $c1=C( id=1 )(4); $c4=C( id=4 )(6); $a=A( id=1 )(2)
OBJECT MODIFIED value:A( id=1 ) factId: 2
OBJECT MODIFIED value:C( id=1 ) factId: 4
ACTIVATION CANCELLED rule:Trigger activationId:Trigger [6, 4, 1] declarations: $c1=C( id=1 )(4); $c4=C( id=5 )(6); $a=A( id=1 )(1)
ACTIVATION CANCELLED rule:Offending activationId:Offending [4, 3, 1] declarations: $id=1(1)
ACTIVATION CANCELLED rule:Offending activationId:Offending [4, 5, 1] declarations: $id=1(1)
ACTIVATION CANCELLED rule:Offending activationId:Offending [4, 3, 2] declarations: $id=1(2)
ACTIVATION CANCELLED rule:Offending activationId:Offending [4, 5, 2] declarations: $id=1(2)
OBJECT MODIFIED value:C( id=5 ) factId: 6
AFTER ACTIVATION FIRED rule:Trigger activationId:Trigger [6, 4, 2] declarations: $c1=C( id=1 )(4); $c4=C( id=5 )(6); $a=A( id=1 )(2)
0 11/07 14:20:51,347[main] INFO drools.integrationtests.FirstOrderLogicTest.testLotsOfOrs - package org.drools.test
import org.drools.integrationtests.FirstOrderLogicTest.Field;
rule "test"
when
(
(
a : Field( name == "a") and
eval( !a.getValue().equals("a") ) and
b : Field( name == "b" ) and
eval( b.intValue()>10 )
)
or
(
b2 : Field( name == "b" ) and
eval( b2.intValue()<10 )
)
)
and
(
t : Field( name == "t" ) and
eval( t.getValue().equals("Y") )
)
and (
(
c : Field( name == "c" ) and
eval( c.getValue().equals("c") ) and
d : Field( name == "d" ) and
eval( d.intValue()<5 )
)
or
(
c : Field( name == "c" ) and
eval( c.getValue().equals("c") ) and
d : Field( name == "d" ) and
eval( d.intValue()<20 )
)
or
(
c : Field( name == "c") and
eval( c.getValue().equals("d") ) and
d : Field( name == "d" ) and
eval( d.intValue()<20 )
)
)
then
System.out.println( "Worked!" );
end
Tests run: 33, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.919 sec
Running org.drools.integrationtests.FunctionsTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.131 sec
Running org.drools.integrationtests.FusionIncrementalKbaseTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.472 sec
Running org.drools.integrationtests.HelloWorldTest
Hello World
Goodbye cruel world
onBreak
onBreak
Hello World
onBreak
Goodbye cruel world
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec
Running org.drools.integrationtests.I18nTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.015 sec
Running org.drools.integrationtests.IndexingTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 sec
Running org.drools.integrationtests.IntegrationInterfacesTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.115 sec
Running org.drools.integrationtests.KnowledgeBuilderTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.181 sec
Running org.drools.integrationtests.LargeRuleBaseSerializationTest
Generating 525 rules
Parsing 525 rules
Tests run: 5, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 15.472 sec
Running org.drools.integrationtests.LRUnlinkingTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec
Running org.drools.integrationtests.marshalling.FactHandleMarshallingTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.integrationtests.marshalling.InputStreamMarkResetTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.integrationtests.marshalling.MarshallingIssuesTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Running org.drools.integrationtests.marshalling.MarshallingTest
[[Person name='bob age='0' likes=''], [Person name='help age='0' likes='']]
[fired1, fired2]
[[Person name='help age='0' likes=''], [Person name='bob age='0' likes='']]
Tests run: 39, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0.975 sec
Running org.drools.integrationtests.marshalling.WorkItemMarshallingTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.integrationtests.MBeansMonitoringTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.drools.integrationtests.MiscTest
22074 11/07 14:21:13,421[main] WARN drools.integrationtests.MiscTest.testMissingImport - Unable to resolve ObjectType 'MissingClass' : [Rule name='rule1']
22081 11/07 14:21:13,428[main] WARN drools.integrationtests.MiscTest.testInvalidModify1 - Rule Compilation error : [Rule name='rule1']
org/drools/Rule_rule1_16c7585136b04a158ab38cb656ca0775.java (7:421) : The method modify(Cheese) is undefined for the type Rule_rule1_16c7585136b04a158ab38cb656ca0775
22100 11/07 14:21:13,447[main] WARN drools.integrationtests.MiscTest.testInvalidModify2 - Rule Compilation error : [Rule name='rule1']
org/drools/Rule_rule1_0bff3a87cf0546f08237f382f228bb85.java (7:398) : The method modify(Cheese) is undefined for the type Rule_rule1_0bff3a87cf0546f08237f382f228bb85
org/drools/Rule_rule1_0bff3a87cf0546f08237f382f228bb85.java (7:409) : Syntax error, insert ";" to complete Statement
org/drools/Rule_rule1_0bff3a87cf0546f08237f382f228bb85.java (7:413) : The method setType(String) is undefined for the type Rule_rule1_0bff3a87cf0546f08237f382f228bb85
org/drools/Rule_rule1_0bff3a87cf0546f08237f382f228bb85.java (7:435) : The method setType(String) is undefined for the type Rule_rule1_0bff3a87cf0546f08237f382f228bb85
org/drools/Rule_rule1_0bff3a87cf0546f08237f382f228bb85.java (7:463) : list cannot be resolved
org.drools.impl.StatefulKnowledgeSessionImpl@182c2067
rule6
rule5
rule2
rule1
rule4
rule3
OK!
first
goober
22877 11/07 14:21:14,224[main] INFO drools.integrationtests.MiscTest.testWithInvalidRule2 - [9,0]: [ERR 102] Line 9:0 mismatched input 'then' in rule "not rule test"
[0,0]: Parser returned a null Package
22917 11/07 14:21:14,264[main] INFO drools.integrationtests.MiscTest.testAssertRetract - first
22917 11/07 14:21:14,264[main] INFO drools.integrationtests.MiscTest.testAssertRetract - second
22917 11/07 14:21:14,264[main] INFO drools.integrationtests.MiscTest.testAssertRetract - third
22918 11/07 14:21:14,265[main] INFO drools.integrationtests.MiscTest.testAssertRetract - fourth
22918 11/07 14:21:14,265[main] INFO drools.integrationtests.MiscTest.testAssertRetract - fifth
23839 11/07 14:21:15,186[main] INFO drools.integrationtests.MiscTest.testMatchesNotMatchesCheese - [Cheese( type='stilton', price=12 ), Cheese( type='brie', price=10 ), Cheese( type='aged stilton', price=12 ), Cheese( type='provolone', price=10 )]
ACTIVATION CREATED rule:2. not home == null activationId:2. not home == null [0] declarations:
ACTIVATION CREATED rule:4. not home != null activationId:4. not home != null [0] declarations:
ACTIVATION CREATED rule:6. not work == null activationId:6. not work == null [0] declarations:
ACTIVATION CREATED rule:8. not work != null activationId:8. not work != null [0] declarations:
ACTIVATION CREATED rule:1. home != null activationId:1. home != null [1] declarations:
ACTIVATION CANCELLED rule:4. not home != null activationId:4. not home != null [0] declarations:
ACTIVATION CANCELLED rule:6. not work == null activationId:6. not work == null [0] declarations:
ACTIVATION CREATED rule:7. work == null activationId:7. work == null [1] declarations:
OBJECT ASSERTED value:[Person name='Bob age='0' likes=''] factId: 1
BEFORE ACTIVATION FIRED rule:1. home != null activationId:1. home != null [1] declarations:
AFTER ACTIVATION FIRED rule:1. home != null activationId:1. home != null [1] declarations:
BEFORE ACTIVATION FIRED rule:2. not home == null activationId:2. not home == null [0] declarations:
AFTER ACTIVATION FIRED rule:2. not home == null activationId:2. not home == null [0] declarations:
BEFORE ACTIVATION FIRED rule:7. work == null activationId:7. work == null [1] declarations:
AFTER ACTIVATION FIRED rule:7. work == null activationId:7. work == null [1] declarations:
BEFORE ACTIVATION FIRED rule:8. not work != null activationId:8. not work != null [0] declarations:
AFTER ACTIVATION FIRED rule:8. not work != null activationId:8. not work != null [0] declarations:
[Person name='darth age='15' likes='cheddar']:[Person name='darth age='30' likes='brie']
[Person name='darth age='25' likes='cheddar']:[Person name='darth age='30' likes='brie']
Second class!
First class!
hello person
hello person
hello person
28577 11/07 14:21:19,924[main] INFO drools.integrationtests.MiscTest.testJBRULES2872 - Unable to Analyse Expression enumVal == TestEnum.ONE || enumVal == TestEnum.TWO:
[Error: unable to resolve method using strict-mode: org.drools.FactA.TestEnum()]
[Near : {... enumVal == TestEnum.ONE || enumVal == Tes ....}]
^
[Line: 5, Column: 11] : [Rule name='X']
28651 11/07 14:21:19,998[main] INFO drools.integrationtests.MiscTest.testNonBooleanConstraint - Predicate 'name + name' must be a Boolean expression
[Line: 5, Column: 17] : [Rule name='test']
28804 11/07 14:21:20,151[main] INFO drools.integrationtests.MiscTest.utilMethod - in utilMethod >asdf< >Value1< returns false
28805 11/07 14:21:20,152[main] INFO drools.integrationtests.MiscTest.utilMethod - in utilMethod >asdf< >Value2< returns false
28805 11/07 14:21:20,152[main] INFO drools.integrationtests.MiscTest.utilMethod - in utilMethod >asdf< >Value3< returns false
ID compared values: 3.0, 4.0 - actual ID value: 3.0
test1 1 << 65552 = 10000
test1 1 << 65536 = 1
test1 1 << 65568 = 1
test2 1 << 4294967296 = 1
test2 1 << 65536 = 1
test2 1 << 65552 = 10000
test2 1 << 65568 = 1
test3 1 << 4294967296 = 1
test3 1 << 65536 = 1
test3 1 << 65552 = 10000
test4 1 << 65552 = 10000
test4 1 << 65536 = 1
child
2 > 1
[x]
rule fired
rule fired
[Person name='hungry age='0' likes='null']
[Person name='fine age='0' likes='null']
org.drools.reteoo.InitialFactImpl@4dde85f0
null
Tests run: 287, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 7.981 sec
Running org.drools.integrationtests.MultithreadTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.213 sec
Running org.drools.integrationtests.MVELTest
null
package org.drools
import org.drools.Cheese
dialect "mvel"
rule rule1
when
$c:Cheese(type=="swiss")
then
modify($c){ type = "swiss,good"};
end
package org.drools
import org.drools.Cheese
dialect "mvel"
rule rule1
when
$c:Cheese(type=="swiss")
then
modify($c){ type = "swiss=good"};
end
package org.drools
import org.drools.Cheese
dialect "mvel"
rule rule1
when
$c:Cheese(type=="swiss")
then
modify($c){ type = "swiss|=good"};
end
package org.drools
import org.drools.Cheese
dialect "mvel"
rule rule1
when
$c:Cheese(type=="swiss")
then
modify($c){ type = "swiss*good"};
end
Tests run: 19, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.269 sec
Running org.drools.integrationtests.OutOfMemoryTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0 sec
Running org.drools.integrationtests.PackageBuilderThreadSafetyTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.18 sec
Running org.drools.integrationtests.ParallelCompilationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.56 sec
Running org.drools.integrationtests.PropertySpecificTest
Move: Hero{position=1} : MoveCommand{move=1}
Move: Hero{position=2} : MoveCommand{move=1}
R1
R2
R3
R4
Tests run: 55, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.421 sec
Running org.drools.integrationtests.Query2Test
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.1 sec
Running org.drools.integrationtests.QueryTest
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.692 sec
Running org.drools.integrationtests.RulebasePartitioningTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.drools.integrationtests.ScannerChangeSetTest
[2012-07-11 14:21:26,034:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:26,034:debug] ResourceChangeScanner thread is waiting for 2 seconds.
[2012-07-11 14:21:26,531:info] ResourceChangeScanner reconfigured with interval=1
[2012-07-11 14:21:26,531:info] ResourceChangeScanner reconfigured with interval=1
[2012-07-11 14:21:26,531:info] ResourceChangeNotification scanner has started
[2012-07-11 14:21:26,531:info] ResourceChangeNotification scanner has stopped
[2012-07-11 14:21:26,531:info] ResourceChangeNotification scanner has stopped
[2012-07-11 14:21:26,532:info] ResourceChangeNotification scanner has started
[2012-07-11 14:21:26,532:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:26,532:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:26,534:debug] KnowledgeAgent building resource map
[2012-07-11 14:21:26,535:info] KnowledgeAgent has started listening for ChangeSet notifications
[2012-07-11 14:21:26,535:info] KnowledgeAgent created, with configuration:
monitorChangeSetEvents=true scanResources=true scanDirectories=true newInstance=true
[2012-07-11 14:21:26,912:info] KnowledgeAgent applying ChangeSet
[2012-07-11 14:21:26,912:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg']
[2012-07-11 14:21:26,912:debug] ResourceChangeNotification subscribing listener=org.drools.agent.impl.KnowledgeAgentImpl@58dd7316 to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg']
[2012-07-11 14:21:26,912:debug] ResourceChangeScanner subcribing notifier=org.drools.io.impl.ResourceChangeNotifierImpl@9bad5a to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg']
[2012-07-11 14:21:26,912:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:21:26,915:debug] KnowledgeAgent building resource map
[2012-07-11 14:21:26,916:debug] KnowledgeAgent no resource mapped for rule=[Rule name=Hello World, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:21:26,916:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] to KnowledgeDefinition=[Rule name=Hello World, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:21:26,916:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] to KnowledgeDefinition=[Rule name=GoodBye, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:21:26,916:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] to KnowledgeDefinition=TypeDeclaration{typeName='Message', role=FACT, format=POJO, kind=CLASS, nature=DECLARATION}
[2012-07-11 14:21:26,916:info] KnowledgeAgent new KnowledgeBase now built and in use
[2012-07-11 14:21:26,916:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:21:26,916:info] ResourceChangeNotification has started listening for ChangeSet publications
[2012-07-11 14:21:26,916:info] ResourceChangeNotification scanner has started
[2012-07-11 14:21:26,916:debug] ResourceChangeNotification thread is waiting for queue update
[2012-07-11 14:21:26,916:debug] ResourceChangeScanner attempt to scan 2 resources
[2012-07-11 14:21:26,916:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:27,533:debug] ResourceChangeScanner attempt to scan 2 resources
[2012-07-11 14:21:27,533:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:27,917:debug] ResourceChangeScanner attempt to scan 2 resources
[2012-07-11 14:21:27,918:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:28,534:debug] ResourceChangeScanner attempt to scan 2 resources
[2012-07-11 14:21:28,534:debug] ResourceChangeScanner modified resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] : 1342009285000 : 1342009288000
[2012-07-11 14:21:28,535:debug] ResourceChangeNotification received ChangeSet notification
[2012-07-11 14:21:28,535:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:28,535:debug] ResourceChangeNotification processing ChangeSet
[2012-07-11 14:21:28,535:debug] ResourceChangeNotification ChangeSet modified resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] for listener=org.drools.agent.impl.KnowledgeAgentImpl@58dd7316
[2012-07-11 14:21:28,535:debug] KnowledgeAgent received ChangeSet changed notification
[2012-07-11 14:21:28,535:debug] ResourceChangeNotification thread is waiting for queue update
[2012-07-11 14:21:28,535:info] KnowledgeAgent applying ChangeSet
[2012-07-11 14:21:28,535:debug] KnowledgeAgent removing mappings for resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] with unsubscribe=false
[2012-07-11 14:21:28,535:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:21:28,539:debug] KnowledgeAgent building resource map
[2012-07-11 14:21:28,539:debug] KnowledgeAgent no resource mapped for rule=[Rule name=GoodBye, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:21:28,539:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] to KnowledgeDefinition=[Rule name=GoodBye, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:21:28,539:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] to KnowledgeDefinition=TypeDeclaration{typeName='Message', role=FACT, format=POJO, kind=CLASS, nature=DECLARATION}
[2012-07-11 14:21:28,539:info] KnowledgeAgent new KnowledgeBase now built and in use
[2012-07-11 14:21:28,539:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:21:28,918:debug] ResourceChangeScanner attempt to scan 2 resources
[2012-07-11 14:21:28,918:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:29,536:debug] ResourceChangeScanner attempt to scan 2 resources
[2012-07-11 14:21:29,536:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:29,918:info] ResourceChangeNotification scanner has stopped
[2012-07-11 14:21:29,919:info] ResourceChangeNotification has stopped listening for ChangeSet publications
[2012-07-11 14:21:29,919:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg']
[2012-07-11 14:21:29,919:debug] ResourceChangeNotification unsubscribing listener=org.drools.agent.impl.KnowledgeAgentImpl@58dd7316 to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg']
[2012-07-11 14:21:29,919:debug] ResourceChangeScanner unsubcribing notifier=org.drools.io.impl.ResourceChangeNotifierImpl@9bad5a to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg']
[2012-07-11 14:21:29,919:debug] ResourceChangeScanner resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-compiler/target/classes/rules.pkg'] now has no subscribers
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.496 sec
Running org.drools.integrationtests.sequential.SequentialTest
[2012-07-11 14:21:29,919:info] KnowledgeAgent has stopped listening for ChangeSet notifications
org.drools.impl.StatefulKnowledgeSessionImpl@65cd3b79
org.drools.impl.StatefulKnowledgeSessionImpl@6f5aa7dc
[2012-07-11 14:21:30,537:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:30,537:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Time for Sequential mode:209
[2012-07-11 14:21:31,538:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:31,538:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Time for Sequential mode:194
[2012-07-11 14:21:32,581:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:32,581:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:33,581:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:33,581:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Time for Normal RETE mode:195
Time for Normal RETE mode:218
[2012-07-11 14:21:34,883:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:34,883:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:35,884:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:35,884:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:36,885:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:36,885:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Iterations in for SEQUENTIAL : 51
[2012-07-11 14:21:37,886:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:37,886:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:38,887:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:38,887:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:39,888:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:39,889:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Iterations in for RETE : 31
[2012-07-11 14:21:40,889:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:40,890:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:41,891:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:41,891:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:42,892:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:42,892:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Iterations in for JDT : 48
[2012-07-11 14:21:43,893:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:43,893:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:44,894:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:44,895:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Iterations in for MVEL : 53
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.785 sec
Running org.drools.integrationtests.SerializedPackageMergeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.066 sec
Running org.drools.integrationtests.StatefulSessionTest
[2012-07-11 14:21:45,896:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:45,896:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.893 sec
Running org.drools.integrationtests.StatelessSessionTest
[2012-07-11 14:21:46,897:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:46,897:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.702 sec
Running org.drools.integrationtests.StatelessStressTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.drools.integrationtests.StreamsTest
[30.0, 110.0]
[2012-07-11 14:21:47,898:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:47,898:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.202 sec
Running org.drools.integrationtests.StrEvaluatorTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.148 sec
Running org.drools.integrationtests.TimerAndCalendarTest
[2012-07-11 14:21:48,899:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:48,900:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:49,900:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:49,901:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:50,902:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:50,902:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:51,903:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:51,903:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:52,903:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:52,903:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:53,904:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:53,904:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:54,905:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:54,906:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:55,907:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:55,907:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:56,908:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:56,909:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.861 sec
Running org.drools.integrationtests.TruthMaintenanceTest
[2012-07-11 14:21:57,910:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:57,910:debug] ResourceChangeScanner thread is waiting for 1 seconds.
ShiftAssignment set from 100 to 101
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 100, staffingRequired: 2 covered by 1 ShiftAssignment(s)
intervalRequirementNotCovered -> IntervalRequirement: interval: 103, staffingRequired: 2
intervalRequirementNotCovered -> IntervalRequirement: interval: 102, staffingRequired: 2
intervalRequirementNotCovered -> IntervalRequirement: interval: 101, staffingRequired: 2
ShiftAssignment set from 100 to 103
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 101, staffingRequired: 2 covered by 1 ShiftAssignment(s)
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 102, staffingRequired: 2 covered by 1 ShiftAssignment(s)
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 100, staffingRequired: 2 covered by 1 ShiftAssignment(s)
ShiftAssignment set from 100 to 102
intervalRequirementNotCovered -> IntervalRequirement: interval: 102, staffingRequired: 2
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 101, staffingRequired: 2 covered by 1 ShiftAssignment(s)
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 100, staffingRequired: 2 covered by 1 ShiftAssignment(s)
ShiftAssignment set from 100 to 104
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 102, staffingRequired: 2 covered by 1 ShiftAssignment(s)
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 103, staffingRequired: 2 covered by 1 ShiftAssignment(s)
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 101, staffingRequired: 2 covered by 1 ShiftAssignment(s)
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 100, staffingRequired: 2 covered by 1 ShiftAssignment(s)
ShiftAssignment set from 100 to 101
intervalRequirementNotCovered -> IntervalRequirement: interval: 103, staffingRequired: 2
intervalRequirementNotCovered -> IntervalRequirement: interval: 102, staffingRequired: 2
intervalRequirementNotCovered -> IntervalRequirement: interval: 101, staffingRequired: 2
intervalRequirementPartiallyCovered -> IntervalRequirement: interval: 100, staffingRequired: 2 covered by 1 ShiftAssignment(s)
Tests run: 19, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.522 sec
Running org.drools.integrationtests.UnmarshallingTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Running org.drools.integrationtests.VarargsTest
[z, y, x]
[two, one, three, four, z]
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
Running org.drools.integrationtests.waltz.ReteOOWaltzTest
[2012-07-11 14:21:58,911:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:58,911:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:21:59,912:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:21:59,912:debug] ResourceChangeScanner thread is waiting for 1 seconds.
1599
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.811 sec
Running org.drools.integrationtests.WorkingMemoryLoggerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.drools.lang.api.DescrBuilderTest
foo
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.117 sec
Running org.drools.lang.descr.AndDescrTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.lang.descr.ConnectiveDescrTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.lang.descr.PackageDescrTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.lang.DRLExprParserTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.lang.DRLIncompleteCodeTest
[[1,22]: [ERR 107] Line 1:22 mismatched input '.1111' expecting one of the following tokens: '[package, import, global, declare, function, rule, query]'.]
Tests run: 13, Failures: 0, Errors: 0, Skipped: 5, Time elapsed: 0.007 sec
Running org.drools.lang.DroolsSoftKeywordsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.lang.dsl.ANTLRDSLTest
rule 'x'
when
u : User() and exists (a: Address( name == "foo" , age == "32" ) from u.addresses)
then
end
SIMPLE MATCHER matches: false
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.lang.dsl.DefaultExpanderTest
rule x
when
Foo( attr==1 )
Foo( attr==2 )
then
end
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.256 sec
Running org.drools.lang.dsl.DSLMappingEntryTest
when: String is "{value}"
(?:(?<=^)|(?<=\W))String\s+is\s+"(.*?)"(?=\W|$)
to expand: |String is "0_sp"|
matches: (?:(?<=^)|(?<=\W))String\s+is\s+"(.*?)"(?=\W|$)
result: |SomeFact(value=="0_sp")|
to expand: |String is " 1_sp"|
matches: (?:(?<=^)|(?<=\W))String\s+is\s+"(.*?)"(?=\W|$)
result: |SomeFact(value==" 1_sp")|
to expand: |String is " 3_sp"|
matches: (?:(?<=^)|(?<=\W))String\s+is\s+"(.*?)"(?=\W|$)
result: |SomeFact(value==" 3_sp")|
to expand: |String is "0_sp_1 "|
matches: (?:(?<=^)|(?<=\W))String\s+is\s+"(.*?)"(?=\W|$)
result: |SomeFact(value=="0_sp_1 ")|
to expand: |String is "0_sp_3 "|
matches: (?:(?<=^)|(?<=\W))String\s+is\s+"(.*?)"(?=\W|$)
result: |SomeFact(value=="0_sp_3 ")|
to expand: |String is "0_sp 1_sp 2_sp"|
matches: (?:(?<=^)|(?<=\W))String\s+is\s+"(.*?)"(?=\W|$)
result: |SomeFact(value=="0_sp 1_sp 2_sp")|
to expand: |String is " 3_sp 3_sp 1_sp 1_sp_2 "|
matches: (?:(?<=^)|(?<=\W))String\s+is\s+"(.*?)"(?=\W|$)
result: |SomeFact(value==" 3_sp 3_sp 1_sp 1_sp_2 ")|
=== DRL xpanded from DSLR ===
1 rule x
2 when
3 SomeFact(value=="0_sp")
4 SomeFact(value==" 1_sp")
5 SomeFact(value==" 3_sp")
6 SomeFact(value=="0_sp_1 ")
7 SomeFact(value=="0_sp_3 ")
8 SomeFact(value=="0_sp 1_sp 2_sp")
9 SomeFact(value==" 3_sp 3_sp 1_sp 1_sp_2 ")
10 then
11 end
=============================
when: - {prop} is not {val}
(?:(?<=^)|(?<=\W))-\s*\s+(.*?)\s+is\s+not\s+(.*?)$
when: - {prop} is {val}
(?:(?<=^)|(?<=\W))-\s*\s+(.*?)\s+is\s+(.*?)$
when: - {prop} is_not {val}
(?:(?<=^)|(?<=\W))-\s*\s+(.*?)\s+is_not\s+(.*?)$
to expand: |- type1 is ClientServiceType.TypeGOLD|
matches: (?:(?<=^)|(?<=\W))-\s*\s+(.*?)\s+is\s+(.*?)$
result: |type1 == ClientServiceType.TypeGOLD|
to expand: |- type2 is_not ClientServiceType.TypeGOLD|
matches: (?:(?<=^)|(?<=\W))-\s*\s+(.*?)\s+is_not\s+(.*?)$
result: |type2 != ClientServiceType.TypeGOLD|
to expand: |- type3 is not ClientServiceType.TypeGOLD|
matches: (?:(?<=^)|(?<=\W))-\s*\s+(.*?)\s+is\s+not\s+(.*?)$
result: |type3 != ClientServiceType.TypeGOLD|
=== DRL xpanded from DSLR ===
1 rule x
2 when
3 Foo(type1 == ClientServiceType.TypeGOLD, type2 != ClientServiceType.TypeGOLD, type3 != ClientServiceType.TypeGOLD)
4 then
5 end
=============================
rule x
when
> Foo()
- type1 is ClientServiceType.TypeGOLD
- type2 is_not ClientServiceType.TypeGOLD
- type3 is not ClientServiceType.TypeGOLD
then
end
rule x
when
Foo(type1 == ClientServiceType.TypeGOLD, type2 != ClientServiceType.TypeGOLD, type3 != ClientServiceType.TypeGOLD)
then
end
when: attr {attr_name} is in \[ {values} \]
(?:(?<=^)|(?<=\W))attr\s+(.*?)\s+is\s+in\s+\[\s+(.*?)\s+\](?=\W|$)
when: ((H|h)e|(S|s)he) \(is\) (a|an) $xx {attribute} (man|woman)
(?:(?<=^)|(?<=\W))((H|h)e|(S|s)he)\s+\(is\)\s+(a|an)\s+\$xx\s+(.*?)\s+(man|woman)(?=\W|$)
when: DSL sentence with {key1} {key2}
(?:(?<=^)|(?<=\W))DSL\s+sentence\s+with\s+(.*?)\s+(.*?)$
when: When the credit rating is {rating:ENUM:Applicant.creditRating}
(?:(?<=^)|(?<=\W))When\s+the\s+credit\s+rating\s+is\s+(.*?)$
when: When the credit rating is {rating:regex:\d{3}}
(?:(?<=^)|(?<=\W))When\s+the\s+credit\s+rating\s+is\s+(\d{3})(?=\W|$)
when: This is a sentence with line breaks
(?:(?<=^)|(?<=\W))This\s+is\s+a\s+sentence\s+with\s+line\s+breaks(?=\W|$)
when: Bedingung-\#19-MKM4
(?:(?<=^)|(?<=\W))Bedingung-#19-MKM4(?=\W|$)
to expand: |attr name is in [ 'Edson', 'Bob' ]|
matches: (?:(?<=^)|(?<=\W))attr\s+(.*?)\s+is\s+in\s+\[\s+(.*?)\s+\](?=\W|$)
result: |name in ( 'Edson', 'Bob' )|
to expand: |he (is) a $xx handsome man|
matches: (?:(?<=^)|(?<=\W))((H|h)e|(S|s)he)\s+\(is\)\s+(a|an)\s+\$xx\s+(.*?)\s+(man|woman)(?=\W|$)
result: |Person( attribute == "handsome" )|
to expand: |DSL sentence with mykey myvalue|
matches: (?:(?<=^)|(?<=\W))DSL\s+sentence\s+with\s+(.*?)\s+(.*?)$
result: |Sentence( mykey == myvalue )|
to expand: |When the credit rating is AA|
matches: (?:(?<=^)|(?<=\W))When\s+the\s+credit\s+rating\s+is\s+(.*?)$
result: |applicant:Applicant(credit==AA)|
to expand: |When the credit rating is 555|
matches: (?:(?<=^)|(?<=\W))When\s+the\s+credit\s+rating\s+is\s+(.*?)$
result: |applicant:Applicant(credit==555)|
to expand: |This is a sentence with line breaks|
matches: (?:(?<=^)|(?<=\W))This\s+is\s+a\s+sentence\s+with\s+line\s+breaks(?=\W|$)
result: |Cheese
(price == 10)|
to expand: |Bedingung-#19-MKM4|
matches: (?:(?<=^)|(?<=\W))Bedingung-#19-MKM4(?=\W|$)
result: |eval ( $p.getTempVal("#UML-ATZ-1") < $p.getZvUmlStfr() )|
=== DRL xpanded from DSLR ===
1 rule x
2 when
3 name in ( 'Edson', 'Bob' )
4 Person( attribute == "handsome" )
5 Sentence( mykey == myvalue )
6 applicant:Applicant(credit==AA)
7 applicant:Applicant(credit==555)
8 Cheese
9 (price == 10)
10 eval ( $p.getTempVal("#UML-ATZ-1") < $p.getZvUmlStfr() )
11 then
12 end
=============================
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.lang.dsl.DSLMappingFileTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 0.001 sec
Running org.drools.lang.dsl.DSLTokenizedMappingFileTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec
Running org.drools.lang.ErrorsParserTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.lang.MVELDumperTest
Tests run: 17, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.006 sec
Running org.drools.lang.RuleParserTest
[[ERR 102] Line 6:0 mismatched input '<eof>' in rule "Invalid customer id"]
Tests run: 149, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.112 sec
Running org.drools.reteoo.ReteooBuilderPerformanceTest
Generating 1000 rules
Generating packages
[2012-07-11 14:22:00,913:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:22:00,913:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:22:01,913:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:22:01,914:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Creating 1 ReteBuilder's
Adding rules to ReteBuilder
[2012-07-11 14:22:02,914:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:22:02,914:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Added 1000 rules to each ReteBuilder's in 0:0:0.173
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.48 sec
Running org.drools.reteoo.ReteooBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.rule.builder.dialect.asm.ClassGeneratorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.rule.builder.dialect.asm.InvokerGeneratorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.rule.builder.dialect.java.AccumulateTemplateTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec
Running org.drools.rule.builder.dialect.java.AsmGeneratorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
Running org.drools.rule.builder.dialect.java.JavaAccumulateBuilderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.rule.builder.dialect.java.JavaConsequenceBuilderTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.085 sec
Running org.drools.rule.builder.dialect.java.JavaDialectBinaryEqualityTest
[Person name='darth age='36' likes='null']
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
Running org.drools.rule.builder.dialect.java.JavaDialectTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
Running org.drools.rule.builder.dialect.java.JavaExprAnalyzerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.rule.builder.dialect.java.KnowledgeHelperFixerTest
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.rule.builder.dialect.java.RuleBuilderTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec
Running org.drools.rule.builder.dialect.JavaAndMVELCombinedTest
mveljava: 0.0090
mvel: 0.0030
java: 0.0080
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.drools.rule.builder.dialect.mvel.MVELAccumulateBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.rule.builder.dialect.mvel.MVELConsequenceBuilderTest
s Expression Decompile
-------------
(0) DEBUG_SYMBOL :: [SourceLine:1]
(1) REFERENCE :: ASTNode:System.out.println( "a1" )
(2) OPERATOR [END_OF_STATEMENT]:
(3) DEBUG_SYMBOL :: [SourceLine:2]
(4) REFERENCE :: ASTNode:System.out.println( "a2" )
(5) OPERATOR [END_OF_STATEMENT]:
(6) DEBUG_SYMBOL :: [SourceLine:3]
(7) REFERENCE :: ASTNode:System.out.println( "a3" )
(8) OPERATOR [END_OF_STATEMENT]:
(9) DEBUG_SYMBOL :: [SourceLine:4]
(10) REFERENCE :: ASTNode:System.out.println( "a4" )
(11) OPERATOR [END_OF_STATEMENT]:
==END==
Tests run: 8, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.021 sec
Running org.drools.rule.builder.dialect.mvel.MVELDebugTest
com.sample.Rule_myRule
com.sample.Rule_myRule
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.rule.builder.dialect.mvel.MVELEvalBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.rule.builder.dialect.mvel.MVELExprAnalyzerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.rule.builder.dialect.mvel.MVELPredicateBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.rule.builder.dialect.mvel.MVELReturnValueBuilderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.rule.builder.dialect.mvel.MVELSalienceBuilderTest
[2012-07-11 14:22:03,915:debug] ResourceChangeScanner attempt to scan 1 resources
[2012-07-11 14:22:03,915:debug] ResourceChangeScanner thread is waiting for 1 seconds.
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.063 sec
Running org.drools.test.PositionalTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.drools.testframework.FactPopulatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.testframework.RuleCoverageListenerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.util.debug.SessionInspectorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.11 sec
Results :
Tests run: 1422, Failures: 0, Errors: 0, Skipped: 43
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Templates 5.4.0.Final
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ drools-templates ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ drools-templates ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ drools-templates ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-bundle-plugin:2.1.0:manifest (manifest) @ drools-templates ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ drools-templates ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ drools-templates ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ drools-templates ---
[INFO] Surefire report directory: /Users/kjellski/lib/java/drools-dev/drools-templates/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.template.DataProviderCompilerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.132 sec
Running org.drools.template.jdbc.ResultSetGeneratorTest
package org.drools.template.jdbc;
global java.util.List list;
rule "Cheese fans_1"
when
Person(age == 10)
Cheese(type == "cheddar")
then
list.add("Young man cheddar");
end
rule "Cheese fans_0"
when
Person(age == 42)
Cheese(type == "stilton")
then
list.add("Old man stilton");
end
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.211 sec
Running org.drools.template.model.FunctionsRenderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.template.model.PackageRenderTest
package my_ruleset;
//generated from Decision Table
import clazz name;
my functions
//rule comments
rule "myrule"
salience 42
when
cond snippet
then
cons snippet
end
//rule comments
rule "other rule"
salience 42
when
cond snippet
then
cons snippet
end
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.template.model.QueriesRenderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.template.model.RuleRenderTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.template.model.SnippetBuilderTest
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.template.parser.ColumnFactoryTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.template.parser.DefaultGeneratorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.template.parser.DefaultTemplateContainerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.template.parser.DefaultTemplateRuleBaseTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec
Running org.drools.template.parser.ExternalSheetListenerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.template.parser.RuleTemplateTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Results :
Tests run: 56, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Decision Tables 5.4.0.Final
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ drools-decisiontables ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ drools-decisiontables ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ drools-decisiontables ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-bundle-plugin:2.1.0:manifest (manifest) @ drools-decisiontables ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ drools-decisiontables ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 39 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ drools-decisiontables ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ drools-decisiontables ---
[INFO] Surefire report directory: /Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.decisiontable.ChangeSetTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.568 sec
Running org.drools.decisiontable.ColumnReplaceTest
package org.drools.decisiontable;
//generated from Decision Table
// rule values at A9, header at A4
rule "lockOnActiveRule"
lock-on-active true
when
String(this == "lockOnActiveRule")
then
end
// rule values at A10, header at A4
rule "autoFocusRule"
auto-focus true
when
String(this == "autoFocusRule")
then
end
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
Running org.drools.decisiontable.EmptyHeaderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.115 sec
Running org.drools.decisiontable.ExternalSpreadsheetCompilerTest
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
Warning: Cannot read name ranges for Gender - setting to empty
Warning: Cannot read name ranges for Greeting - setting to empty
Warning: Cannot read name ranges for MaritalStatus - setting to empty
Warning: Cannot read name ranges for Salutation - setting to empty
Warning: Cannot read name ranges for Gender - setting to empty
Warning: Cannot read name ranges for Greeting - setting to empty
Warning: Cannot read name ranges for MaritalStatus - setting to empty
Warning: Cannot read name ranges for Salutation - setting to empty
Warning: Cell at A1 not present - adding a blank
Warning: Cell at A1 not present - adding a blank
Warning: Cell at A1 not present - adding a blank
Cheapest possible
BASE PRICE IS: 120
DISCOUNT IS: 20
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.378 sec
Running org.drools.decisiontable.parser.ActionTypeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.decisiontable.parser.ColumnFactoryTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.decisiontable.parser.csv.CsvLineParserTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.decisiontable.parser.csv.CsvParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.decisiontable.parser.LhsBuilderTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.decisiontable.parser.PropertiesSheetListenerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.decisiontable.parser.RhsBuilderTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.decisiontable.parser.RuleSheetParserUtilTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.003 sec
Running org.drools.decisiontable.parser.RuleWorksheetParseLargeTest
Warning: Cell at A1 not present - adding a blank
Time to parse large table : 852ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.856 sec
Running org.drools.decisiontable.parser.RuleWorksheetParseTest
Warning: Cell at A1 not present - adding a blank
Warning: Cell at A21 not present - adding a blank
Warning: Cell at A1 not present - adding a blank
Maximum number of NO-LOOP/U columns is 1, in cell F12
Maximum number of PRIORITY/P columns is 1, in cell F12
Invalid column header: BLURB, should be CONDITION, ACTION or attribute, in cell E12
It looks like you have snippets in the row that is meant for object declarations. Please insert an additional row before the snippets, at cell B13
No code snippet for CONDITION in cell D14
Code description in cell E14 does not have an 'ACTION' or 'CONDITION' column header.
Priority is not an integer literal, in cell D16
Unexpected content "XXX" in cell D14, leave this cell blank
Multiple values for AGENDA-GROUP in cells [C3, C4]
No code snippet for ACTION, above cell C14
package myruleset;
//generated from Decision Table
import lah.di.dah;
// rule values at B11, header at B6
rule "This_Is_Rule_Name_Prefix (1)_11"
salience 65525
when
Foo(myObject.getColour().equals(red), myObject.size () > 12\")
b: Bar() eval(myObject.size() < 3)
then
myObject.setIsValid(Y);
end
package myruleset;
//generated from Decision Table
import lah.di.dah;
// rule values at B11, header at B6
rule "This_Is_Rule_Name_Prefix (1)_11"
salience 65525
when
Foo(myObject.getColour().equals(red), myObject.size () > "12")
b: Bar() eval(myObject.size() < 3)
then
myObject.setIsValid(Y);
end
// rule values at B12, header at B6
rule "This_Is_Rule_Name_Prefix (1)_12"
salience 65524
when
Foo(myObject.getColour().equals(blue), myObject.size () > 12")
b: Bar() eval(myObject.size() < 4)
then
myObject.setIsValid(Y);
end
Warning: Cell at A21 not present - adding a blank
Tests run: 20, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.674 sec
Running org.drools.decisiontable.parser.xls.ExcelParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.decisiontable.ScannerChangeSetTest
[2012-07-11 14:22:16,559:info] ResourceChangeScanner reconfigured with interval=1
[2012-07-11 14:22:16,559:info] ResourceChangeScanner reconfigured with interval=1
[2012-07-11 14:22:16,561:debug] KnowledgeAgent building resource map
[2012-07-11 14:22:16,561:info] KnowledgeAgent created, with configuration:
monitorChangeSetEvents=true scanResources=true scanDirectories=true newInstance=true
[2012-07-11 14:22:16,561:info] KnowledgeAgent has started listening for ChangeSet notifications
[2012-07-11 14:22:17,001:info] KnowledgeAgent applying ChangeSet
[2012-07-11 14:22:17,001:debug] KnowledgeAgent notifier subscribing to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls']
[2012-07-11 14:22:17,001:debug] ResourceChangeNotification subscribing listener=org.drools.agent.impl.KnowledgeAgentImpl@34e6529c to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls']
[2012-07-11 14:22:17,001:debug] ResourceChangeScanner subcribing notifier=org.drools.io.impl.ResourceChangeNotifierImpl@144f3ba2 to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls']
[2012-07-11 14:22:17,001:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:22:17,135:debug] KnowledgeAgent building resource map
[2012-07-11 14:22:17,135:debug] KnowledgeAgent no resource mapped for rule=[Rule name=ID change_11, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:22:17,135:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] to KnowledgeDefinition=[Rule name=ID change_11, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:22:17,135:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] to KnowledgeDefinition=[Rule name=ID change_12, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:22:17,135:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] to KnowledgeDefinition=[Rule name=ID change_13, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:22:17,135:warning] KnowledgeAgent: impossible to add a map for a null resource! skiping.
[2012-07-11 14:22:17,135:info] KnowledgeAgent new KnowledgeBase now built and in use
[2012-07-11 14:22:17,135:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:22:17,136:info] ResourceChangeNotification scanner has started
[2012-07-11 14:22:17,136:info] ResourceChangeNotification has started listening for ChangeSet publications
[2012-07-11 14:22:17,136:debug] ResourceChangeScanner attempt to scan 3 resources
[2012-07-11 14:22:17,136:debug] ResourceChangeNotification thread is waiting for queue update
[2012-07-11 14:22:17,136:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:22:18,138:debug] ResourceChangeScanner attempt to scan 3 resources
[2012-07-11 14:22:18,139:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:22:19,140:debug] ResourceChangeScanner attempt to scan 3 resources
[2012-07-11 14:22:19,140:debug] ResourceChangeScanner modified resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] : 1342009336000 : 1342009338000
[2012-07-11 14:22:19,141:debug] ResourceChangeNotification received ChangeSet notification
[2012-07-11 14:22:19,141:debug] ResourceChangeScanner thread is waiting for 1 seconds.
[2012-07-11 14:22:19,141:debug] ResourceChangeNotification processing ChangeSet
[2012-07-11 14:22:19,142:debug] ResourceChangeNotification ChangeSet modified resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] for listener=org.drools.agent.impl.KnowledgeAgentImpl@34e6529c
[2012-07-11 14:22:19,142:debug] KnowledgeAgent received ChangeSet changed notification
[2012-07-11 14:22:19,142:debug] ResourceChangeNotification thread is waiting for queue update
[2012-07-11 14:22:19,142:info] KnowledgeAgent applying ChangeSet
[2012-07-11 14:22:19,142:debug] KnowledgeAgent removing mappings for resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] with unsubscribe=false
[2012-07-11 14:22:19,142:debug] KnowledgeAgent rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:22:19,263:debug] KnowledgeAgent building resource map
[2012-07-11 14:22:19,263:debug] KnowledgeAgent no resource mapped for rule=[Rule name=ID change_11, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:22:19,263:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] to KnowledgeDefinition=[Rule name=ID change_11, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:22:19,263:debug] KnowledgeAgent mapping resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] to KnowledgeDefinition=[Rule name=ID change_12, agendaGroup=MAIN, salience=0, no-loop=false]
[2012-07-11 14:22:19,263:warning] KnowledgeAgent: impossible to add a map for a null resource! skiping.
[2012-07-11 14:22:19,263:info] KnowledgeAgent new KnowledgeBase now built and in use
[2012-07-11 14:22:19,263:debug] KnowledgeAgent finished rebuilding KnowledgeBase using ChangeSet
[2012-07-11 14:22:19,641:info] ResourceChangeNotification has stopped listening for ChangeSet publications
[2012-07-11 14:22:19,641:info] ResourceChangeNotification scanner has stopped
[2012-07-11 14:22:19,641:debug] KnowledgeAgent unsubscribing from resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls']
[2012-07-11 14:22:19,641:debug] ResourceChangeNotification unsubscribing listener=org.drools.agent.impl.KnowledgeAgentImpl@34e6529c to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls']
[2012-07-11 14:22:19,641:debug] ResourceChangeScanner unsubcribing notifier=org.drools.io.impl.ResourceChangeNotifierImpl@144f3ba2 to resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls']
[2012-07-11 14:22:19,641:debug] ResourceChangeScanner resource=[UrlResource path='file:/Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/classes/sample.xls'] now has no subscribers
[2012-07-11 14:22:19,642:info] KnowledgeAgent has stopped listening for ChangeSet notifications
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.617 sec
Running org.drools.decisiontable.SourcePackageProviderTest
RuleAgent(default) INFO (Wed Jul 11 14:22:19 CEST 2012): Configuring with newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Wed Jul 11 14:22:19 CEST 2012): Configuring package provider : FileScanner scanning: /var/folders/tr/lsgzm0r144sbj4l_8_bv4z2m0000gn/T/__temp_test_drools_packages/Something.xls
RuleAgent(default) INFO (Wed Jul 11 14:22:19 CEST 2012): Applying changes to the rulebase.
RuleAgent(default) INFO (Wed Jul 11 14:22:19 CEST 2012): Adding package called org.acme.insurance
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.218 sec
Running org.drools.decisiontable.SpreadsheetCompilerUnitTest
Warning: Cannot read name ranges for Gender - setting to empty
Warning: Cannot read name ranges for Greeting - setting to empty
Warning: Cannot read name ranges for MaritalStatus - setting to empty
Warning: Cannot read name ranges for Salutation - setting to empty
Warning: Cannot read name ranges for Gender - setting to empty
Warning: Cannot read name ranges for Greeting - setting to empty
Warning: Cannot read name ranges for MaritalStatus - setting to empty
Warning: Cannot read name ranges for Salutation - setting to empty
Warning: Cannot read name ranges for Gender - setting to empty
Warning: Cannot read name ranges for Greeting - setting to empty
Warning: Cannot read name ranges for MaritalStatus - setting to empty
Warning: Cannot read name ranges for Salutation - setting to empty
Warning: Cell at A1 not present - adding a blank
package myruleset;
//generated from Decision Table
import blah.class1;
import blah.class2;
import lah.di.dah;
global Class1 obj1;
global Class2 obj2;
This is a function block
// rule values at B11, header at B6
rule "This_Is_Rule_Name_Prefix (1)_11"
salience 65525
when
Foo(myObject.getColour().equals(red), myObject.size () > 12\")
b: Bar() eval(myObject.size() < 3)
then
myObject.setIsValid(Y);
end
// rule values at B12, header at B6
rule "This_Is_Rule_Name_Prefix (1)_12"
salience 65524
when
Foo(myObject.getColour().equals(yellow), myObject.size () > 2)
b: Bar() eval(myObject.size() < 6)
then
myObject.setIsValid(Y);
end
// rule values at B13, header at B6
rule "This_Is_Rule_Name_Prefix (1)_13"
salience 65523
when
Foo(myObject.getColour().equals(blue), myObject.size () > 7)
b: Bar() eval(myObject.size() < 9)
then
myObject.setIsValid(Y);
end
// rule values at B22, header at B17
rule "This_Is_Rule_Name_Prefix (2)_22"
salience 65514
when
myObject.getColour().equals(red)
myObject.size () > 1
myObject.size() < 3
then
myObject.setIsValid("19-Jul-1992")
end
// rule values at B23, header at B17
rule "This_Is_Rule_Name_Prefix (2)_23"
salience 65513
when
myObject.getColour().equals(yellow)
myObject.size () > 2
myObject.size() < 6
then
myObject.setIsValid("1-Jan-2001")
end
// rule values at B24, header at B17
rule "This_Is_Rule_Name_Prefix (2)_24"
salience 65512
when
myObject.getColour().equals(blue)
myObject.size () > 7
myObject.size() < 9
then
myObject.setIsValid(10-Jul-1974)
end
Warning: Cell at E22 not present - adding a blank
Warning: Cell at G22 not present - adding a blank
Warning: Cell at D22 not present - adding a blank
Warning: Cell at D76 not present - adding a blank
Warning: Cell at B76 not present - adding a blank
Warning: Cannot read name ranges for Excel_BuiltIn__FilterDatabase_1 - setting to empty
Warning: Unknown shape type
Warning: Unknown shape type
package myruleset;
//generated from Decision Table
import blah.class1;
import blah.class2;
import lah.di.dah;
global Class1 obj1;
global Class2 obj2;
This is a function block
// rule values at B11, header at B6
rule "This_Is_Rule_Name_Prefix (1)_11"
salience 65525
when
Foo(myObject.getColour().equals(red), myObject.size () > 12\")
b: Bar() eval(myObject.size() < 3.0E-4)
then
myObject.setIsValid(Y);
end
// rule values at B12, header at B6
rule "This_Is_Rule_Name_Prefix (1)_12"
salience 65524
when
Foo(myObject.getColour().equals(yellow), myObject.size () > 2)
b: Bar() eval(myObject.size() < 9.0E-7)
then
myObject.setIsValid(Y);
end
// rule values at B13, header at B6
rule "This_Is_Rule_Name_Prefix (1)_13"
salience 65523
when
Foo(myObject.getColour().equals(blue), myObject.size () > 7)
b: Bar() eval(myObject.size() < 8.0E-11)
then
myObject.setIsValid(Y);
end
// rule values at B22, header at B17
rule "This_Is_Rule_Name_Prefix (2)_22"
salience 65514
when
myObject.getColour().equals(red)
myObject.size () > 1
myObject.size() < 3.0E-4
then
myObject.setIsValid("19-Jul-1992")
end
// rule values at B23, header at B17
rule "This_Is_Rule_Name_Prefix (2)_23"
salience 65513
when
myObject.getColour().equals(yellow)
myObject.size () > 2
myObject.size() < 9.0E-7
then
myObject.setIsValid("1-Jan-2001")
end
// rule values at B24, header at B17
rule "This_Is_Rule_Name_Prefix (2)_24"
salience 65512
when
myObject.getColour().equals(blue)
myObject.size () > 7
myObject.size() < 8.0E-11
then
myObject.setIsValid(10-Jul-1974)
end
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.117 sec
Running org.drools.decisiontable.SpreadsheetIntegrationExampleTest
Cheapest possible
BASE PRICE IS: 120
DISCOUNT IS: 20
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.604 sec
Running org.drools.decisiontable.UnicodeInXLSTest
Rule Compilation error : [Rule name='p?idej k dosp?l?m']
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (1:0) : Syntax error on token(s), misplaced construct(s)
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (2:83) : Syntax error on tokens, delete these tokens
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (3:138) : The public type Rule_p must be defined in its own file
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (3:144) : Syntax error on token(s), misplaced construct(s)
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (3:157) : Syntax error on token "l_m_bb1b018d323c448da4066a77f4aff2ec", delete this token
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (3:194) : Syntax error, insert "}" to complete Block
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (6:252) : Syntax error on token(s), misplaced construct(s)
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (6:372) : Syntax error on token(s), misplaced construct(s)
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (6:376) : Syntax error on token "?", ( expected
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (6:381) : Syntax error on token(s), misplaced construct(s)
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (6:384) : Syntax error on token "?", < expected
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (6:411) : Syntax error on token "?", = expected
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (6:428) : Syntax error on token ",", . expected
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (6:447) : Syntax error on token "dosp", delete this token
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (6:452) : Syntax error on token(s), misplaced construct(s)
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (6:456) : Syntax error on tokens, delete these tokens
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (6:530) : Syntax error on token ";", : expected
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (7:548) : Syntax error on token(s), misplaced construct(s)
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (7:554) : Syntax error, insert ")" to complete MethodInvocation
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (7:554) : Syntax error, insert ": Expression" to complete Expression
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (7:554) : Syntax error, insert ": Expression" to complete Expression
org/drools/decisiontable/Rule_p?idej_k_dosp?l_m_bb1b018d323c448da4066a77f4aff2ec.java (7:554) : Syntax error, insert ";" to complete FieldDeclaration
package org.drools.decisiontable;
//generated from Decision Table
import org.drools.decisiontable.UnicodeInXLSTest.?lov?k;
global java.util.List dosp?l?;
// rule values at A10, header at A5
rule "p?idej k dosp?l?m"
when
$?lov?k : ?lov?k(v?k > 18)
then
dosp?l?.add($?lov?k);
end
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.295 sec <<< FAILURE!
Results :
Failed tests: testCzechXLSDecisionTable(org.drools.decisiontable.UnicodeInXLSTest): Cannot build XLS decision table containing utf-8 characters.
Tests run: 99, Failures: 1, Errors: 0, Skipped: 2
[ERROR] There are test failures.
Please refer to /Users/kjellski/lib/java/drools-dev/drools-decisiontables/target/surefire-reports for the individual test results.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: JSR-94 API Module 5.4.0.Final
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.jboss.org/nexus/content/groups/public/jsr94/jsr94-tck/1.0.3/jsr94-tck-1.0.3.pom
Downloaded: http://repository.jboss.org/nexus/content/groups/public/jsr94/jsr94-tck/1.0.3/jsr94-tck-1.0.3.pom (171 B at 0.2 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/jsr94/jsr94-sigtest/1.1/jsr94-sigtest-1.1.pom
Downloaded: http://repository.jboss.org/nexus/content/groups/public/jsr94/jsr94-sigtest/1.1/jsr94-sigtest-1.1.pom (177 B at 0.3 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/jsr94/jsr94-tck/1.0.3/jsr94-tck-1.0.3.jar
Downloading: http://repository.jboss.org/nexus/content/groups/public/jsr94/jsr94-sigtest/1.1/jsr94-sigtest-1.1.jar
Downloaded: http://repository.jboss.org/nexus/content/groups/public/jsr94/jsr94-tck/1.0.3/jsr94-tck-1.0.3.jar (47 KB at 28.7 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/jsr94/jsr94-sigtest/1.1/jsr94-sigtest-1.1.jar (121 KB at 54.2 KB/sec)
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ drools-jsr94 ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ drools-jsr94 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/kjellski/lib/java/drools-dev/drools-jsr94/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ drools-jsr94 ---
[INFO] Compiling 21 source files to /Users/kjellski/lib/java/drools-dev/drools-jsr94/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ drools-jsr94 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 14 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ drools-jsr94 ---
[INFO] Compiling 20 source files to /Users/kjellski/lib/java/drools-dev/drools-jsr94/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ drools-jsr94 ---
[INFO] Surefire report directory: /Users/kjellski/lib/java/drools-dev/drools-jsr94/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.decisiontable.SpreadsheetIntegrationExampleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.291 sec
Running org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.337 sec
Running org.drools.jsr94.rules.admin.RuleAdministratorTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.298 sec
Running org.drools.jsr94.rules.admin.RuleExecutionSetTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
Running org.drools.jsr94.rules.admin.RuleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
Running org.drools.jsr94.rules.MultipleRepositoryTest
Engine1
Engine2
1
1
Engine 1 Asserted object: value1
Engine 1 Asserted object: org.drools.reteoo.InitialFactImpl@4dde85f0
[value1]
Engine 2 Asserted object: value2
Engine 2 Asserted object: org.drools.reteoo.InitialFactImpl@4dde85f0
[value2]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
Running org.drools.jsr94.rules.repository.RuleExecutionSetRepositoryLoaderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.drools.jsr94.rules.RuleRuntimeTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.402 sec
Running org.drools.jsr94.rules.RuleServiceProviderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.jsr94.rules.StatefulRuleSessionTest
rebecca and jeannie are sisters
jeannie and rebecca are sisters
rebecca and jeannie are sisters
jeannie and rebecca are sisters
Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.646 sec
Running org.drools.jsr94.rules.StatelessRuleSessionTest
jeannie and rebecca are sisters
rebecca and jeannie are sisters
rebecca and jeannie are sisters
jeannie and rebecca are sisters
Tests run: 8, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 0.211 sec
Running org.jcp.jsr94.tck.AllTests
SignatureTest report
Tested version: 1.6.0_33
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.325 sec
Results :
Tests run: 66, Failures: 0, Errors: 0, Skipped: 6
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Clips 5.4.0.Final
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ drools-clips ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ drools-clips ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ drools-clips ---
[INFO] Compiling 52 source files to /Users/kjellski/lib/java/drools-dev/drools-clips/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ drools-clips ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/kjellski/lib/java/drools-dev/drools-clips/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ drools-clips ---
[INFO] Compiling 5 source files to /Users/kjellski/lib/java/drools-dev/drools-clips/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ drools-clips ---
[INFO] Surefire report directory: /Users/kjellski/lib/java/drools-dev/drools-clips/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.clips.ClipsShellTest
Tests run: 26, Failures: 0, Errors: 0, Skipped: 14, Time elapsed: 0.726 sec
Running org.drools.clips.LhsClpParserTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.008 sec
Results :
Tests run: 31, Failures: 0, Errors: 0, Skipped: 15
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Verifier 5.4.0.Final
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.jboss.org/nexus/content/groups/public/com/google/guava/guava/r06/guava-r06.pom
Downloaded: http://repository.jboss.org/nexus/content/groups/public/com/google/guava/guava/r06/guava-r06.pom (4 KB at 1.8 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/com/google/google/5/google-5.pom
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/com/google/google/5/google-5.pom
Downloading: http://repo1.maven.org/maven2/com/google/google/5/google-5.pom
Downloaded: http://repo1.maven.org/maven2/com/google/google/5/google-5.pom (3 KB at 5.1 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/com/lowagie/itext/2.1.2/itext-2.1.2.pom
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/com/lowagie/itext/2.1.2/itext-2.1.2.pom
Downloading: http://repo1.maven.org/maven2/com/lowagie/itext/2.1.2/itext-2.1.2.pom
Downloaded: http://repo1.maven.org/maven2/com/lowagie/itext/2.1.2/itext-2.1.2.pom (3 KB at 16.6 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/bouncycastle/bcmail-jdk14/138/bcmail-jdk14-138.pom
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/bouncycastle/bcmail-jdk14/138/bcmail-jdk14-138.pom
Downloading: http://repo1.maven.org/maven2/bouncycastle/bcmail-jdk14/138/bcmail-jdk14-138.pom
Downloaded: http://repo1.maven.org/maven2/bouncycastle/bcmail-jdk14/138/bcmail-jdk14-138.pom (1018 B at 16.0 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/bouncycastle/bcprov-jdk14/138/bcprov-jdk14-138.pom
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/bouncycastle/bcprov-jdk14/138/bcprov-jdk14-138.pom
Downloading: http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk14/138/bcprov-jdk14-138.pom
Downloaded: http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk14/138/bcprov-jdk14-138.pom (2 KB at 12.0 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/com/google/guava/guava/r06/guava-r06.jar
Downloading: http://repository.jboss.org/nexus/content/groups/public/com/lowagie/itext/2.1.2/itext-2.1.2.jar
Downloading: http://repository.jboss.org/nexus/content/groups/public/bouncycastle/bcmail-jdk14/138/bcmail-jdk14-138.jar
Downloading: http://repository.jboss.org/nexus/content/groups/public/bouncycastle/bcprov-jdk14/138/bcprov-jdk14-138.jar
Downloaded: http://repository.jboss.org/nexus/content/groups/public/com/google/guava/guava/r06/guava-r06.jar (915 KB at 175.7 KB/sec)
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/com/lowagie/itext/2.1.2/itext-2.1.2.jar
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/bouncycastle/bcmail-jdk14/138/bcmail-jdk14-138.jar
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/bouncycastle/bcprov-jdk14/138/bcprov-jdk14-138.jar
Downloading: http://repo1.maven.org/maven2/com/lowagie/itext/2.1.2/itext-2.1.2.jar
Downloading: http://repo1.maven.org/maven2/bouncycastle/bcmail-jdk14/138/bcmail-jdk14-138.jar
Downloading: http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk14/138/bcprov-jdk14-138.jar
Downloaded: http://repo1.maven.org/maven2/bouncycastle/bcmail-jdk14/138/bcmail-jdk14-138.jar (188 KB at 130.5 KB/sec)
Downloaded: http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk14/138/bcprov-jdk14-138.jar (1516 KB at 323.2 KB/sec)
Downloaded: http://repo1.maven.org/maven2/com/lowagie/itext/2.1.2/itext-2.1.2.jar (1037 KB at 218.1 KB/sec)
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ drools-verifier ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ drools-verifier ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 46 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ drools-verifier ---
[INFO] Compiling 129 source files to /Users/kjellski/lib/java/drools-dev/drools-verifier/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ drools-verifier ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 50 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ drools-verifier ---
[INFO] Compiling 52 source files to /Users/kjellski/lib/java/drools-dev/drools-verifier/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ drools-verifier ---
[INFO] Surefire report directory: /Users/kjellski/lib/java/drools-dev/drools-verifier/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.verifier.alwaysFalse.AlwaysFalseTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.506 sec
Running org.drools.verifier.alwaysTrue.AlwaysTruePatternTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0 sec
Running org.drools.verifier.alwaysTrue.AlwaysTrueRuleTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.106 sec
Running org.drools.verifier.components.LiteralRestrictionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.verifier.ConsequenceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
Running org.drools.verifier.data.VerifierDataMapsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.verifier.equivalence.EquivalentRulesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.drools.verifier.incoherence.IncoherentPatternsTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.091 sec
Running org.drools.verifier.incoherence.IncoherentRestrictionsTest
LiteralRestriction from rule [Bankruptcy history] value '== true' LiteralRestriction from rule [Bankruptcy history] value '!= true'
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.318 sec
Running org.drools.verifier.incompatibility.IncompatibilityPatternsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec
Running org.drools.verifier.incompatibility.IncompatibilityRestrictionsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.344 sec
Running org.drools.verifier.jarloader.PackageHeaderLoaderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.drools.verifier.jarloader.VerifierMapBackedClassLoaderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 sec
Running org.drools.verifier.misc.DrlPackageDataTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running org.drools.verifier.misc.DrlRuleDataTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.verifier.misc.FindMissingNumberTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.verifier.missingEquality.MissingEqualityTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.621 sec
Running org.drools.verifier.opposites.OppositePatternsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec
Running org.drools.verifier.opposites.OppositeRestrictionsTest
LiteralRestriction from rule [testRule1] value 'matches foo' LiteralRestriction from rule [testRule1] value 'matches foo'
LiteralRestriction from rule [testRule1] value '== 1.0' LiteralRestriction from rule [testRule1] value '!= 1.0'
LiteralRestriction from rule [testRule1] value '== 1' LiteralRestriction from rule [testRule1] value '!= 1'
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.668 sec
Running org.drools.verifier.optimisation.PatternOrderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
Running org.drools.verifier.optimisation.RestrictionOrderTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.225 sec
Running org.drools.verifier.overlaps.OverlappingRestrictionsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec
Running org.drools.verifier.PatternSolverDRLTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.verifier.RangeCheckCleanTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.verifier.RangeCheckDatesTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.496 sec
Running org.drools.verifier.RangeCheckDoublesTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.364 sec
Running org.drools.verifier.RangeCheckIntegersTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.463 sec
Running org.drools.verifier.RangeCheckTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.611 sec
Running org.drools.verifier.redundancy.NotesTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 sec
Running org.drools.verifier.redundancy.RedundancyTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.585 sec
Running org.drools.verifier.redundancy.WarningsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.drools.verifier.report.components.CauseTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec
Running org.drools.verifier.report.VerifierReportBuilderTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 sec
Running org.drools.verifier.solver.PatternSolverTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running org.drools.verifier.SolversTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.verifier.subsumption.SubsumptantRestrictionsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.441 sec
Running org.drools.verifier.subsumption.SubsumptantSubPatternsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 6.909 sec
Running org.drools.verifier.subsumption.SubsumptantSubRulesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.643 sec
Running org.drools.verifier.VerifierTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.828 sec
Running org.drools.verifier.VerifyingScopeTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 sec
Running org.drools.verifier.visitor.ExprConstraintDescrVisitorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.verifier.visitor.NestedPatternsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
Running org.drools.verifier.visitor.PackageDescrVisitorTest
-TextConsequence: {
System.out.println("NOTATEST");
=> 46:53
-TextConsequence: {
System.out.println("TEST");
=> 37:44
-Field 'a' from object type 'BlaaBlaa'
=> 48:48
-Field 'a' from object type 'RedundancyPattern'
=> 39:39
-Field 'a' from object type 'RedundancyPattern2'
=> 40:40
-Field 'a' from object type 'RedundancyPattern3'
=> 41:41
-org.drools.verifier.components.Import package[@name='com.misc.missingRanges']/import[@name='com.sample.DroolsTest.Message']
=> 19:19
-ObjectType: BlaaBlaa
=> 48:48
-ObjectType: com.sample.DroolsTest.Message
=> 19:19
-ObjectType: RedundancyPattern
=> 39:39
-ObjectType: RedundancyPattern2
=> 40:40
-ObjectType: RedundancyPattern3
=> 41:41
-org.drools.verifier.components.RuleOperatorDescr package[@name='com.misc.missingRanges']/rule[@name='Equivalent rule']/ruleComponent[-1]
=> 48:50
-org.drools.verifier.components.PatternOperatorDescr package[@name='com.misc.missingRanges']/rule[@name='Equivalent rule']/ruleComponent[@type=pattern @orderNumber=0]/patternComponent[-1]
=> 48:48
-org.drools.verifier.components.PatternOperatorDescr package[@name='com.misc.missingRanges']/rule[@name='Equivalent rule']/ruleComponent[@type=pattern @orderNumber=1]/patternComponent[-1]
=> 49:49
-org.drools.verifier.components.PatternOperatorDescr package[@name='com.misc.missingRanges']/rule[@name='Equivalent rule']/ruleComponent[@type=pattern @orderNumber=2]/patternComponent[-1]
=> 50:50
-org.drools.verifier.components.RuleOperatorDescr package[@name='com.misc.missingRanges']/rule[@name='Redundant rule 2, rules']/ruleComponent[-1]
=> 39:41
-org.drools.verifier.components.PatternOperatorDescr package[@name='com.misc.missingRanges']/rule[@name='Redundant rule 2, rules']/ruleComponent[@type=pattern @orderNumber=0]/patternComponent[-1]
=> 39:39
-org.drools.verifier.components.PatternOperatorDescr package[@name='com.misc.missingRanges']/rule[@name='Redundant rule 2, rules']/ruleComponent[@type=pattern @orderNumber=1]/patternComponent[-1]
=> 40:40
-org.drools.verifier.components.PatternOperatorDescr package[@name='com.misc.missingRanges']/rule[@name='Redundant rule 2, rules']/ruleComponent[@type=pattern @orderNumber=2]/patternComponent[-1]
=> 41:41
-Pattern, name: BlaaBlaa
=> 48:48
-Pattern, name: RedundancyPattern
=> 49:49
-Pattern, name: RedundancyPattern2
=> 50:50
-Pattern, name: RedundancyPattern
=> 39:39
-Pattern, name: RedundancyPattern2
=> 40:40
-Pattern, name: RedundancyPattern3
=> 41:41
-LiteralRestriction from rule [Equivalent rule] value '== 1'
=> 48:48
-LiteralRestriction from rule [Equivalent rule] value '== 1'
=> 49:49
-LiteralRestriction from rule [Equivalent rule] value '== 1'
=> 50:50
-LiteralRestriction from rule [Redundant rule 2, rules] value '== 1'
=> 39:39
-LiteralRestriction from rule [Redundant rule 2, rules] value '>= 1'
=> 40:40
-LiteralRestriction from rule [Redundant rule 2, rules] value '== 1'
=> 41:41
-LiteralRestriction from rule [Redundant rule 2, rules] value '== 1'
=> 41:41
-Rule 'Equivalent rule'
=> 46:53
-Rule 'Redundant rule 2, rules'
=> 37:44
-org.drools.verifier.components.RulePackage package[@name=com.misc.missingRanges]
=> 17:53
-SubPattern from rule: Equivalent rule, amount of items:1
=> 48:48
-SubPattern from rule: Equivalent rule, amount of items:1
=> 49:49
-SubPattern from rule: Equivalent rule, amount of items:1
=> 50:50
-SubPattern from rule: Redundant rule 2, rules, amount of items:1
=> 39:39
-SubPattern from rule: Redundant rule 2, rules, amount of items:1
=> 40:40
-SubPattern from rule: Redundant rule 2, rules, amount of items:2
=> 41:41
-SubRule from rule: Equivalent rule, amount of items:3
=> 46:53
-SubRule from rule: Redundant rule 2, rules, amount of items:3
=> 37:44
-org.drools.verifier.components.WorkingMemory source[@type=workingMemory]
=> -1:-1
-TextConsequence: {
System.out.println("Test");
=> 22:31
-TextConsequence: {
System.out.println("Test");
=> 33:42
-Field 'a' from object type 'Foo'
=> 24:28
-Field 'b' from object type 'Foo'
=> 24:28
-org.drools.verifier.components.Import package[@name='org.drools.verifier.misc']/import[@name='com.sample.DroolsTest.Message']
=> 20:20
-ObjectType: Foo
=> 24:28
-ObjectType: com.sample.DroolsTest.Message
=> 20:20
-org.drools.verifier.components.RuleOperatorDescr package[@name='org.drools.verifier.misc']/rule[@name='Test 1']/ruleComponent[-1]
=> 24:28
-org.drools.verifier.components.PatternOperatorDescr package[@name='org.drools.verifier.misc']/rule[@name='Test 1']/ruleComponent[@type=pattern @orderNumber=0]/patternComponent[-1]
=> 24:28
-org.drools.verifier.components.RuleOperatorDescr package[@name='org.drools.verifier.misc']/rule[@name='Test 2']/ruleComponent[-1]
=> 35:39
-org.drools.verifier.components.PatternOperatorDescr package[@name='org.drools.verifier.misc']/rule[@name='Test 2']/ruleComponent[@type=pattern @orderNumber=0]/patternComponent[-1]
=> 35:39
-Pattern, name: Foo
=> 24:28
-Pattern, name: Foo
=> 35:39
-LiteralRestriction from rule [Test 1] value '> 10'
=> 24:28
-LiteralRestriction from rule [Test 1] value '> 100'
=> 24:28
-LiteralRestriction from rule [Test 1] value '== 1'
=> 24:28
-LiteralRestriction from rule [Test 2] value '> 10'
=> 35:39
-LiteralRestriction from rule [Test 2] value '> 10'
=> 35:39
-LiteralRestriction from rule [Test 2] value '== 2'
=> 35:39
-Rule 'Test 1'
=> 22:31
-Rule 'Test 2'
=> 33:42
-org.drools.verifier.components.RulePackage package[@name=org.drools.verifier.misc]
=> 17:42
-SubPattern from rule: Test 1, amount of items:3
=> 24:28
-SubPattern from rule: Test 2, amount of items:3
=> 35:39
-SubRule from rule: Test 1, amount of items:1
=> 22:31
-SubRule from rule: Test 2, amount of items:1
=> 33:42
-org.drools.verifier.components.WorkingMemory source[@type=workingMemory]
=> -1:-1
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.verifier.visitor.PatternDescrVisitorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.drools.verifier.visitor.VerifierComponentTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Results :
Tests run: 128, Failures: 0, Errors: 0, Skipped: 7
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Persistence :: JPA 5.4.0.Final
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.pom
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.pom (7 KB at 9.2 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/javassist/javassist/3.14.0-GA/javassist-3.14.0-GA.pom
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/javassist/javassist/3.14.0-GA/javassist-3.14.0-GA.pom (8 KB at 11.5 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/javax/transaction/jta/1.1/jta-1.1.pom
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/javax/transaction/jta/1.1/jta-1.1.pom
Downloading: http://repo1.maven.org/maven2/javax/transaction/jta/1.1/jta-1.1.pom
Downloaded: http://repo1.maven.org/maven2/javax/transaction/jta/1.1/jta-1.1.pom (598 B at 6.6 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA.pom
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA.pom (2 KB at 3.2 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.pom
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.pom (534 B at 0.8 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-commons-annotations/3.1.0.GA/hibernate-commons-annotations-3.1.0.GA.pom
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-commons-annotations/3.1.0.GA/hibernate-commons-annotations-3.1.0.GA.pom (2 KB at 2.6 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.pom
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.pom (2 KB at 3.6 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-core/3.3.2.GA/hibernate-core-3.3.2.GA.pom
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-core/3.3.2.GA/hibernate-core-3.3.2.GA.pom (8 KB at 12.1 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-parent/3.3.2.GA/hibernate-parent-3.3.2.GA.pom
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-parent/3.3.2.GA/hibernate-parent-3.3.2.GA.pom (16 KB at 16.3 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/com/h2database/h2/1.3.161/h2-1.3.161.pom
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/com/h2database/h2/1.3.161/h2-1.3.161.pom
Downloading: http://repo1.maven.org/maven2/com/h2database/h2/1.3.161/h2-1.3.161.pom
Downloaded: http://repo1.maven.org/maven2/com/h2database/h2/1.3.161/h2-1.3.161.pom (670 B at 0.7 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/codehaus/btm/btm/2.1.2/btm-2.1.2.pom
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/org/codehaus/btm/btm/2.1.2/btm-2.1.2.pom
Downloading: http://repo1.maven.org/maven2/org/codehaus/btm/btm/2.1.2/btm-2.1.2.pom
Downloaded: http://repo1.maven.org/maven2/org/codehaus/btm/btm/2.1.2/btm-2.1.2.pom (6 KB at 33.2 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/codehaus/btm/btm-parent/2.1.2/btm-parent-2.1.2.pom
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/org/codehaus/btm/btm-parent/2.1.2/btm-parent-2.1.2.pom
Downloading: http://repo1.maven.org/maven2/org/codehaus/btm/btm-parent/2.1.2/btm-parent-2.1.2.pom
Downloaded: http://repo1.maven.org/maven2/org/codehaus/btm/btm-parent/2.1.2/btm-parent-2.1.2.pom (9 KB at 75.6 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.jar
Downloading: http://repository.jboss.org/nexus/content/groups/public/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/javassist/javassist/3.14.0-GA/javassist-3.14.0-GA.jar
Downloading: http://repository.jboss.org/nexus/content/groups/public/javax/transaction/jta/1.1/jta-1.1.jar
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA.jar
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.jar
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-commons-annotations/3.1.0.GA/hibernate-commons-annotations-3.1.0.GA.jar
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.1.Final/hibernate-jpa-2.0-api-1.0.1.Final.jar (101 KB at 51.9 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA.jar (117 KB at 59.7 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-core/3.3.2.GA/hibernate-core-3.3.2.GA.jar
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.jar (50 KB at 23.2 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/com/h2database/h2/1.3.161/h2-1.3.161.jar
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-commons-annotations/3.1.0.GA/hibernate-commons-annotations-3.1.0.GA.jar (66 KB at 29.3 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/org/codehaus/btm/btm/2.1.2/btm-2.1.2.jar
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar (274 KB at 128.4 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/javassist/javassist/3.14.0-GA/javassist-3.14.0-GA.jar (633 KB at 144.7 KB/sec)
Downloaded: http://repository.jboss.org/nexus/content/groups/public/org/hibernate/hibernate-core/3.3.2.GA/hibernate-core-3.3.2.GA.jar (2256 KB at 406.6 KB/sec)
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/javax/transaction/jta/1.1/jta-1.1.jar
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/com/h2database/h2/1.3.161/h2-1.3.161.jar
Downloading: https://repository.jboss.org/nexus/content/repositories/deprecated/org/codehaus/btm/btm/2.1.2/btm-2.1.2.jar
Downloading: http://repo1.maven.org/maven2/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
Downloading: http://repo1.maven.org/maven2/javax/transaction/jta/1.1/jta-1.1.jar
Downloading: http://repo1.maven.org/maven2/com/h2database/h2/1.3.161/h2-1.3.161.jar
Downloading: http://repo1.maven.org/maven2/org/codehaus/btm/btm/2.1.2/btm-2.1.2.jar
Downloaded: http://repo1.maven.org/maven2/javax/transaction/jta/1.1/jta-1.1.jar (15 KB at 107.4 KB/sec)
Downloaded: http://repo1.maven.org/maven2/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar (190 KB at 298.0 KB/sec)
Downloaded: http://repo1.maven.org/maven2/org/codehaus/btm/btm/2.1.2/btm-2.1.2.jar (283 KB at 204.5 KB/sec)
Downloaded: http://repo1.maven.org/maven2/com/h2database/h2/1.3.161/h2-1.3.161.jar (1230 KB at 506.3 KB/sec)
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ drools-persistence-jpa ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ drools-persistence-jpa ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/kjellski/lib/java/drools-dev/drools-persistence-jpa/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ drools-persistence-jpa ---
[INFO] Compiling 31 source files to /Users/kjellski/lib/java/drools-dev/drools-persistence-jpa/target/classes
[INFO]
[INFO] --- maven-bundle-plugin:2.1.0:manifest (manifest) @ drools-persistence-jpa ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ drools-persistence-jpa ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ drools-persistence-jpa ---
[INFO] Compiling 24 source files to /Users/kjellski/lib/java/drools-dev/drools-persistence-jpa/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ drools-persistence-jpa ---
[INFO] Surefire report directory: /Users/kjellski/lib/java/drools-dev/drools-persistence-jpa/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.command.KBuilderBatchExecutionPersistenceTest
0 11/07 14:24:05,877[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
3 11/07 14:24:05,880[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
3 11/07 14:24:05,880[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
38 11/07 14:24:05,915[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
447 11/07 14:24:06,324[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
897 11/07 14:24:06,774[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
898 11/07 14:24:06,775[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
898 11/07 14:24:06,775[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
900 11/07 14:24:06,777[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
912 11/07 14:24:06,789[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
1382 11/07 14:24:07,259[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
1383 11/07 14:24:07,260[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
1383 11/07 14:24:07,260[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
1387 11/07 14:24:07,264[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
1399 11/07 14:24:07,276[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
1894 11/07 14:24:07,771[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
1895 11/07 14:24:07,772[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
1895 11/07 14:24:07,772[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
1899 11/07 14:24:07,776[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
2626 11/07 14:24:08,503[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.048 sec
Running org.drools.command.MoreBatchExecutionPersistenceTest
2976 11/07 14:24:08,853[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
2976 11/07 14:24:08,853[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
2977 11/07 14:24:08,854[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
2987 11/07 14:24:08,864[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
3021 11/07 14:24:08,898[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
3523 11/07 14:24:09,400[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
3523 11/07 14:24:09,400[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
3523 11/07 14:24:09,400[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
3534 11/07 14:24:09,411[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
3558 11/07 14:24:09,435[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.129 sec
Running org.drools.command.SimpleBatchExecutionPersistenceTest
4059 11/07 14:24:09,936[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
4059 11/07 14:24:09,936[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
4060 11/07 14:24:09,937[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
4071 11/07 14:24:09,948[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
4089 11/07 14:24:09,966[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
4571 11/07 14:24:10,448[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
4571 11/07 14:24:10,448[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
4571 11/07 14:24:10,448[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
4584 11/07 14:24:10,461[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
4604 11/07 14:24:10,481[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
5097 11/07 14:24:10,974[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
5097 11/07 14:24:10,974[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
5097 11/07 14:24:10,974[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
5112 11/07 14:24:10,989[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
5138 11/07 14:24:11,015[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
5623 11/07 14:24:11,500[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
5624 11/07 14:24:11,501[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
5624 11/07 14:24:11,501[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
5641 11/07 14:24:11,518[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
5668 11/07 14:24:11,545[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
6135 11/07 14:24:12,012[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
6135 11/07 14:24:12,012[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
6135 11/07 14:24:12,012[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
6152 11/07 14:24:12,029[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
6173 11/07 14:24:12,050[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
6662 11/07 14:24:12,539[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
6662 11/07 14:24:12,539[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
6663 11/07 14:24:12,540[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
6680 11/07 14:24:12,557[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
6704 11/07 14:24:12,581[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.143 sec
Running org.drools.marshalling.util.TestMarshallingUtilsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 5, Time elapsed: 0.001 sec
Running org.drools.persistence.jta.JtaTransactionManagerTest
7159 11/07 14:24:13,036[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
7159 11/07 14:24:13,036[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
7160 11/07 14:24:13,037[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
7179 11/07 14:24:13,056[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into TransactionTestObject (ID, name, subObject_ID) values (null, ?, ?)
7182 11/07 14:24:13,059[main] INFO persistence.jta.JtaTransactionManagerTest.showingTransactionTestObjectsNeedTransactions - The following IllegalStateException SHOULD be thrown.
Hibernate: insert into TransactionTestObject (ID, name, subObject_ID) values (null, ?, ?)
Hibernate: insert into TransactionTestObject (ID, name, subObject_ID) values (null, ?, ?)
Hibernate: update TransactionTestObject set name=?, subObject_ID=? where ID=?
7189 11/07 14:24:13,066[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
7674 11/07 14:24:13,551[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
7675 11/07 14:24:13,552[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
7675 11/07 14:24:13,552[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
7695 11/07 14:24:13,572[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
7697 11/07 14:24:13,574[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
8178 11/07 14:24:14,055[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
8179 11/07 14:24:14,056[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
8179 11/07 14:24:14,056[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
8203 11/07 14:24:14,080[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
8204 11/07 14:24:14,081[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
8687 11/07 14:24:14,564[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
8687 11/07 14:24:14,564[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
8687 11/07 14:24:14,564[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
8708 11/07 14:24:14,585[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: insert into TransactionTestObject (ID, name, subObject_ID) values (null, ?, ?)
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: insert into TransactionTestObject (ID, name, subObject_ID) values (null, ?, ?)
Hibernate: update TransactionTestObject set name=?, subObject_ID=? where ID=?
8742 11/07 14:24:14,619[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.033 sec
Running org.drools.persistence.map.impl.JpaBasedPersistenceTest
9196 11/07 14:24:15,073[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
9197 11/07 14:24:15,074[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
9197 11/07 14:24:15,074[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
9218 11/07 14:24:15,095[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
9232 11/07 14:24:15,109[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
9697 11/07 14:24:15,574[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
9698 11/07 14:24:15,575[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
9698 11/07 14:24:15,575[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
9720 11/07 14:24:15,597[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
buddy inserted
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: select sessioninf0_.id as id136_0_, sessioninf0_.lastModificationDate as lastModi2_136_0_, sessioninf0_.rulesByteArray as rulesByt3_136_0_, sessioninf0_.startDate as startDate136_0_, sessioninf0_.OPTLOCK as OPTLOCK136_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
9784 11/07 14:24:15,661[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
10219 11/07 14:24:16,096[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
10219 11/07 14:24:16,096[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
10220 11/07 14:24:16,097[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
10244 11/07 14:24:16,121[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
10245 11/07 14:24:16,122[main] INFO jpa.marshaller.JPAPlaceholderResolverStrategy.getSavedSessionsCount - quering number of saved sessions.
Hibernate: select sessioninf0_.id as id144_, sessioninf0_.lastModificationDate as lastModi2_144_, sessioninf0_.rulesByteArray as rulesByt3_144_, sessioninf0_.startDate as startDate144_, sessioninf0_.OPTLOCK as OPTLOCK144_ from SessionInfo sessioninf0_
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: select sessioninf0_.id as id144_0_, sessioninf0_.lastModificationDate as lastModi2_144_0_, sessioninf0_.rulesByteArray as rulesByt3_144_0_, sessioninf0_.startDate as startDate144_0_, sessioninf0_.OPTLOCK as OPTLOCK144_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: select sessioninf0_.id as id144_0_, sessioninf0_.lastModificationDate as lastModi2_144_0_, sessioninf0_.rulesByteArray as rulesByt3_144_0_, sessioninf0_.startDate as startDate144_0_, sessioninf0_.OPTLOCK as OPTLOCK144_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
10367 11/07 14:24:16,244[main] INFO jpa.marshaller.JPAPlaceholderResolverStrategy.getSavedSessionsCount - quering number of saved sessions.
Hibernate: select sessioninf0_.id as id144_, sessioninf0_.lastModificationDate as lastModi2_144_, sessioninf0_.rulesByteArray as rulesByt3_144_, sessioninf0_.startDate as startDate144_, sessioninf0_.OPTLOCK as OPTLOCK144_ from SessionInfo sessioninf0_
10373 11/07 14:24:16,250[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
10718 11/07 14:24:16,595[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
10718 11/07 14:24:16,595[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
10718 11/07 14:24:16,595[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
10749 11/07 14:24:16,626[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: select sessioninf0_.id as id152_0_, sessioninf0_.lastModificationDate as lastModi2_152_0_, sessioninf0_.rulesByteArray as rulesByt3_152_0_, sessioninf0_.startDate as startDate152_0_, sessioninf0_.OPTLOCK as OPTLOCK152_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
10771 11/07 14:24:16,648[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.033 sec
Running org.drools.persistence.map.impl.MapBasedPersistenceTest
buddy inserted
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec
Running org.drools.persistence.session.JpaPersistenceTraitTest
11385 11/07 14:24:17,262[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
11385 11/07 14:24:17,262[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
11386 11/07 14:24:17,263[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
11417 11/07 14:24:17,294[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Don result : (@org.drools.trait.test.CloakorgdroolstraittestTBeanProxy) : [<<fld=abc>>, <<ijk=ijklmn>>]
Don result : (@org.drools.trait.test.MaskorgdroolstraittestTBeanProxy) : [<<fld=abc>>, <<ijk=ijklmn>>, <<xyz=10>>]
written a org.drools.factmodel.traits.TripleBasedTypes
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
ridden a org.drools.factmodel.traits.TripleBasedTypes org.drools.core.util.TripleStore@287b2e39
written a org.drools.factmodel.traits.TripleBasedTypes
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
11565 11/07 14:24:17,442[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
11782 11/07 14:24:17,659[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
11783 11/07 14:24:17,660[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
11783 11/07 14:24:17,660[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
11812 11/07 14:24:17,689[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Don result : (@org.drools.trait.test.Cloak2orgdroolstraittestTBean2Proxy) : [<<fld=abc>>, ijk=ijklmn]
Don result : (@org.drools.trait.test.Mask2orgdroolstraittestTBean2Proxy) : [xyz=10, ijk=ijklmn, <<fld=abc>>]
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
11915 11/07 14:24:17,792[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
12288 11/07 14:24:18,165[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
12289 11/07 14:24:18,166[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
12289 11/07 14:24:18,166[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
12324 11/07 14:24:18,201[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Din Don Dan:
Don result : (@org.drools.trait.test.MaskorgdroolstraittestTBeanWrapperProxy) : [xyz=10, <<fld=abc>>]
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
12405 11/07 14:24:18,282[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.529 sec
Running org.drools.persistence.session.JpaPersistentStatefulSessionTest
12790 11/07 14:24:18,667[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
12790 11/07 14:24:18,667[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
12790 11/07 14:24:18,667[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
12831 11/07 14:24:18,708[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
12891 11/07 14:24:18,768[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
13294 11/07 14:24:19,171[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
13294 11/07 14:24:19,171[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
13295 11/07 14:24:19,172[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
13324 11/07 14:24:19,201[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
13371 11/07 14:24:19,248[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
13796 11/07 14:24:19,673[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
13796 11/07 14:24:19,673[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
13797 11/07 14:24:19,674[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
13837 11/07 14:24:19,714[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: select sessioninf0_.id as id200_0_, sessioninf0_.lastModificationDate as lastModi2_200_0_, sessioninf0_.rulesByteArray as rulesByt3_200_0_, sessioninf0_.startDate as startDate200_0_, sessioninf0_.OPTLOCK as OPTLOCK200_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: select sessioninf0_.id as id200_0_, sessioninf0_.lastModificationDate as lastModi2_200_0_, sessioninf0_.rulesByteArray as rulesByt3_200_0_, sessioninf0_.startDate as startDate200_0_, sessioninf0_.OPTLOCK as OPTLOCK200_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
13897 11/07 14:24:19,774[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
14309 11/07 14:24:20,186[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
14309 11/07 14:24:20,186[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
14309 11/07 14:24:20,186[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
14344 11/07 14:24:20,221[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Executing --> session.setGlobal(list, []);
Executing --> session.setGlobal(list, []);
Done executing --> session.setGlobal(list, []);
Done executing --> session.setGlobal(list, []);
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Executing --> session.entryPoints(DEFAULT).insert(1);
Executing --> session.entryPoints(DEFAULT).insert(1);
Done executing --> session.entryPoints(DEFAULT).insert(1);
Done executing --> session.entryPoints(DEFAULT).insert(1);
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Executing --> session.entryPoints(DEFAULT).insert(2);
Executing --> session.entryPoints(DEFAULT).insert(2);
Done executing --> session.entryPoints(DEFAULT).insert(2);
Done executing --> session.entryPoints(DEFAULT).insert(2);
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Executing --> session.entryPoints(DEFAULT).insert(3);
Executing --> session.entryPoints(DEFAULT).insert(3);
Done executing --> session.entryPoints(DEFAULT).insert(3);
Done executing --> session.entryPoints(DEFAULT).insert(3);
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Executing --> session.getWorkItemManager().completeWorkItem(0, []);
Executing --> session.getWorkItemManager().completeWorkItem(0, []);
Hibernate: select workitemin0_.workItemId as workItemId209_0_, workitemin0_.creationDate as creation2_209_0_, workitemin0_.name as name209_0_, workitemin0_.processInstanceId as processI4_209_0_, workitemin0_.state as state209_0_, workitemin0_.OPTLOCK as OPTLOCK209_0_, workitemin0_.workItemByteArray as workItem7_209_0_ from WorkItemInfo workitemin0_ where workitemin0_.workItemId=?
Done executing --> session.getWorkItemManager().completeWorkItem(0, []);
Executing --> session.fireAllRules();
Done executing --> session.fireAllRules();
Done executing --> session.getWorkItemManager().completeWorkItem(0, []);
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
14390 11/07 14:24:20,267[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
14811 11/07 14:24:20,688[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
14811 11/07 14:24:20,688[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
14811 11/07 14:24:20,688[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
14849 11/07 14:24:20,726[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
14889 11/07 14:24:20,766[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
15322 11/07 14:24:21,199[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
15322 11/07 14:24:21,199[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
15322 11/07 14:24:21,199[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
15356 11/07 14:24:21,233[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
15379 11/07 14:24:21,256[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.046 sec
Running org.drools.persistence.session.ReloadSessionTest
15831 11/07 14:24:21,708[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
15831 11/07 14:24:21,708[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
15831 11/07 14:24:21,708[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
15866 11/07 14:24:21,743[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: select sessioninf0_.id as id240_0_, sessioninf0_.lastModificationDate as lastModi2_240_0_, sessioninf0_.rulesByteArray as rulesByt3_240_0_, sessioninf0_.startDate as startDate240_0_, sessioninf0_.OPTLOCK as OPTLOCK240_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
15966 11/07 14:24:21,843[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.507 sec
Running org.drools.persistence.session.RuleFlowGroupRollbackTest
16338 11/07 14:24:22,215[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
16338 11/07 14:24:22,215[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
16338 11/07 14:24:22,215[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
16376 11/07 14:24:22,253[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
list size: 1
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
16409 11/07 14:24:22,286[main] ERROR drools.persistence.SingleSessionCommandService.rollbackTransaction - Could not commit session
java.lang.RuntimeException
at org.drools.persistence.session.RuleFlowGroupRollbackTest$ExceptionCommand.execute(RuleFlowGroupRollbackTest.java:120)
at org.drools.persistence.session.RuleFlowGroupRollbackTest$ExceptionCommand.execute(RuleFlowGroupRollbackTest.java:116)
at org.drools.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)
at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:367)
at org.drools.command.impl.CommandBasedStatefulKnowledgeSession.execute(CommandBasedStatefulKnowledgeSession.java:482)
at org.drools.persistence.session.RuleFlowGroupRollbackTest.testRuleFlowGroupRollback(RuleFlowGroupRollbackTest.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
java.lang.RuntimeException
at org.drools.persistence.session.RuleFlowGroupRollbackTest$ExceptionCommand.execute(RuleFlowGroupRollbackTest.java:120)
at org.drools.persistence.session.RuleFlowGroupRollbackTest$ExceptionCommand.execute(RuleFlowGroupRollbackTest.java:116)
at org.drools.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)
at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:367)
at org.drools.command.impl.CommandBasedStatefulKnowledgeSession.execute(CommandBasedStatefulKnowledgeSession.java:482)
at org.drools.persistence.session.RuleFlowGroupRollbackTest.testRuleFlowGroupRollback(RuleFlowGroupRollbackTest.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Hibernate: select sessioninf0_.id as id248_0_, sessioninf0_.lastModificationDate as lastModi2_248_0_, sessioninf0_.rulesByteArray as rulesByt3_248_0_, sessioninf0_.startDate as startDate248_0_, sessioninf0_.OPTLOCK as OPTLOCK248_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
list size: 1
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
16421 11/07 14:24:22,298[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.509 sec
Running org.drools.timer.integrationtests.TimerAndCalendarTest
16853 11/07 14:24:22,730[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
16853 11/07 14:24:22,730[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
16853 11/07 14:24:22,730[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
16892 11/07 14:24:22,769[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: select sessioninf0_.id as id256_0_, sessioninf0_.lastModificationDate as lastModi2_256_0_, sessioninf0_.rulesByteArray as rulesByt3_256_0_, sessioninf0_.startDate as startDate256_0_, sessioninf0_.OPTLOCK as OPTLOCK256_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: select sessioninf0_.id as id256_0_, sessioninf0_.lastModificationDate as lastModi2_256_0_, sessioninf0_.rulesByteArray as rulesByt3_256_0_, sessioninf0_.startDate as startDate256_0_, sessioninf0_.OPTLOCK as OPTLOCK256_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: select sessioninf0_.id as id256_0_, sessioninf0_.lastModificationDate as lastModi2_256_0_, sessioninf0_.rulesByteArray as rulesByt3_256_0_, sessioninf0_.startDate as startDate256_0_, sessioninf0_.OPTLOCK as OPTLOCK256_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
16979 11/07 14:24:22,856[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
17364 11/07 14:24:23,241[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
17364 11/07 14:24:23,241[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
17364 11/07 14:24:23,241[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
17410 11/07 14:24:23,287[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: select sessioninf0_.id as id264_0_, sessioninf0_.lastModificationDate as lastModi2_264_0_, sessioninf0_.rulesByteArray as rulesByt3_264_0_, sessioninf0_.startDate as startDate264_0_, sessioninf0_.OPTLOCK as OPTLOCK264_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: select sessioninf0_.id as id264_0_, sessioninf0_.lastModificationDate as lastModi2_264_0_, sessioninf0_.rulesByteArray as rulesByt3_264_0_, sessioninf0_.startDate as startDate264_0_, sessioninf0_.OPTLOCK as OPTLOCK264_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: select sessioninf0_.id as id264_0_, sessioninf0_.lastModificationDate as lastModi2_264_0_, sessioninf0_.rulesByteArray as rulesByt3_264_0_, sessioninf0_.startDate as startDate264_0_, sessioninf0_.OPTLOCK as OPTLOCK264_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
17487 11/07 14:24:23,364[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
17866 11/07 14:24:23,743[main] INFO bitronix.tm.BitronixTransactionManager.logVersion - Bitronix Transaction Manager version 2.1.2
17866 11/07 14:24:23,743[main] WARN bitronix.tm.Configuration.buildServerIdArray - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
17866 11/07 14:24:23,743[main] INFO bitronix.tm.Configuration.buildServerIdArray - JVM unique ID: <192.168.1.8>
17914 11/07 14:24:23,791[main] INFO tm.recovery.Recoverer.run - recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 1 resource(s) [jdbc/testDS1] (restricted to serverId '192.168.1.8')
Hibernate: insert into SessionInfo (id, lastModificationDate, rulesByteArray, startDate, OPTLOCK) values (null, ?, ?, ?, ?)
Hibernate: select sessioninf0_.id as id272_0_, sessioninf0_.lastModificationDate as lastModi2_272_0_, sessioninf0_.rulesByteArray as rulesByt3_272_0_, sessioninf0_.startDate as startDate272_0_, sessioninf0_.OPTLOCK as OPTLOCK272_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
Hibernate: update SessionInfo set lastModificationDate=?, rulesByteArray=?, startDate=?, OPTLOCK=? where id=? and OPTLOCK=?
Hibernate: select sessioninf0_.id as id272_0_, sessioninf0_.lastModificationDate as lastModi2_272_0_, sessioninf0_.rulesByteArray as rulesByt3_272_0_, sessioninf0_.startDate as startDate272_0_, sessioninf0_.OPTLOCK as OPTLOCK272_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
Hibernate: select sessioninf0_.id as id272_0_, sessioninf0_.lastModificationDate as lastModi2_272_0_, sessioninf0_.rulesByteArray as rulesByt3_272_0_, sessioninf0_.startDate as startDate272_0_, sessioninf0_.OPTLOCK as OPTLOCK272_0_ from SessionInfo sessioninf0_ where sessioninf0_.id=?
17965 11/07 14:24:23,842[main] INFO bitronix.tm.BitronixTransactionManager.shutdown - shutting down Bitronix Transaction Manager
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.526 sec
Results :
Tests run: 43, Failures: 0, Errors: 0, Skipped: 5
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools examples 5.4.0.Final
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.jboss.org/nexus/content/groups/public/com/miglayout/miglayout/3.7.4/miglayout-3.7.4.pom
Downloaded: http://repository.jboss.org/nexus/content/groups/public/com/miglayout/miglayout/3.7.4/miglayout-3.7.4.pom (23 KB at 8.8 KB/sec)
Downloading: http://repository.jboss.org/nexus/content/groups/public/com/miglayout/miglayout/3.7.4/miglayout-3.7.4.jar
Downloaded: http://repository.jboss.org/nexus/content/groups/public/com/miglayout/miglayout/3.7.4/miglayout-3.7.4.jar (198 KB at 56.9 KB/sec)
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ drools-examples ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ drools-examples ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 121 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ drools-examples ---
[INFO] Compiling 168 source files to /Users/kjellski/lib/java/drools-dev/drools-examples/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ drools-examples ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/kjellski/lib/java/drools-dev/drools-examples/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ drools-examples ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ drools-examples ---
[INFO] No tests to run.
[INFO] Surefire report directory: /Users/kjellski/lib/java/drools-dev/drools-examples/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Drools multiproject ............................... SUCCESS [0.233s]
[INFO] Drools :: Core .................................... SUCCESS [38.310s]
[INFO] Drools :: Compiler ................................ SUCCESS [3:17.630s]
[INFO] Drools :: Templates ............................... SUCCESS [1.887s]
[INFO] Drools :: Decision Tables ......................... SUCCESS [14.976s]
[INFO] Drools :: JSR-94 API Module ....................... SUCCESS [9.781s]
[INFO] Drools :: Clips ................................... SUCCESS [2.855s]
[INFO] Drools :: Verifier ................................ SUCCESS [1:02.632s]
[INFO] Drools :: Persistence :: JPA ...................... SUCCESS [47.357s]
[INFO] Drools examples ................................... SUCCESS [8.163s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:25.480s
[INFO] Finished at: Wed Jul 11 14:24:32 CEST 2012
[INFO] Final Memory: 15M/81M
[INFO] ------------------------------------------------------------------------
[~/lib/java/drools-dev ((5.4.0.Final))]$ git status
# Not currently on any branch.
nothing to commit (working directory clean)
[~/lib/java/drools-dev ((5.4.0.Final))]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment