See
http://hudson.qa.jboss.com/hudson/job/drools/1843/changes
Changes:
[michael.neale(a)jboss.com] allow imports in DT
[michael.neale(a)jboss.com] allow imports in DT
[michael.neale(a)jboss.com] JBRULES-1702 (dt) and JBRULES-1704
[michael.neale(a)jboss.com] JBRULES-1702 DT with imports
------------------------------------------
[...truncated 26689 lines...]
[INFO] [source:test-jar {execution: default}]
[INFO] Building jar:
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-compiler/target/drools-compiler-5.0.0.SNAPSHOT-test-sources.jar
[INFO] [jar:test-jar {execution: default}]
[INFO] Building jar:
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-compiler/target/drools-compiler-5.0.0.SNAPSHOT-tests.jar
[INFO] [install:install]
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-compiler/target/drools-compiler-5.0.0.SNAPSHOT.jar
to
/home/hudson/.m2/repository/org/drools/drools-compiler/5.0.0.SNAPSHOT/drools-compiler-5.0.0.SNAPSHOT.jar
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-compiler/target/drools-compiler-5.0.0.SNAPSHOT-sources.jar
to
/home/hudson/.m2/repository/org/drools/drools-compiler/5.0.0.SNAPSHOT/drools-compiler-5.0.0.SNAPSHOT-sources.jar
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-compiler/target/drools-compiler-5.0.0.SNAPSHOT-test-sources.jar
to
/home/hudson/.m2/repository/org/drools/drools-compiler/5.0.0.SNAPSHOT/drools-compiler-5.0.0.SNAPSHOT-test-sources.jar
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-compiler/target/drools-compiler-5.0.0.SNAPSHOT-tests.jar
to
/home/hudson/.m2/repository/org/drools/drools-compiler/5.0.0.SNAPSHOT/drools-compiler-5.0.0.SNAPSHOT-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Templates
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 38 source files to
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-templates/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 11 source files to
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-templates/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-templates/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.template.parser.RuleTemplateTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec
Running org.drools.template.parser.ColumnFactoryTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 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: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.drools.template.model.SnippetBuilderTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.drools.template.model.RuleRenderTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.template.parser.DefaultTemplateRuleBaseTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.836 sec
Running org.drools.template.parser.DefaultGeneratorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running org.drools.template.DataProviderCompilerIntegrationTest
package org.drools.decisiontable;
#generated from Decision Table
global FeeResult result;
rule "Fee Schedule_3"
agenda-group "STANDARD"
when
FeeEvent(productType == "SBLC",
activityType == "ISS",
feeType == "Telex",
amount < 30000,
ccy == "YEN"
)
then
result.setSchedule(new FeeSchedule("62", "STANDARD", 45));
end
rule "Fee Schedule_2"
agenda-group "STANDARD"
when
FeeEvent(productType == "SBLC",
activityType == "ISS",
feeType == "Postage",
ccy == "YEN"
)
then
result.setSchedule(new FeeSchedule("12", "STANDARD", 40));
end
rule "Fee Schedule_1"
agenda-group "STANDARD"
when
FeeEvent(productType == "SBLC",
activityType == "ISS",
feeType == "Commission",
entityBranch == "Entity Branch 1",
ccy == "YEN"
)
then
result.setSchedule(new FeeSchedule("15", "STANDARD", 1600));
end
rule "Fee Schedule_0"
agenda-group "STANDARD"
when
FeeEvent(productType == "SBLC",
activityType == "ISS",
feeType == "Commission",
txParty == "Party 1",
ccy == "USD"
)
then
result.setSchedule(new FeeSchedule("1", "STANDARD", 750));
end
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.097 sec
Running org.drools.template.parser.DefaultTemplateContainerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.drools.template.model.FunctionsRenderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.template.parser.ExternalSheetListenerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Results :
Tests run: 40, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar]
[INFO] Building jar:
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-templates/target/drools-templates-5.0.0.SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: default}]
[INFO] Building jar:
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-templates/target/drools-templates-5.0.0.SNAPSHOT-sources.jar
[INFO] Preparing source:test-jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[WARNING] Removing: test-jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:test-jar {execution: default}]
[INFO] Building jar:
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-templates/target/drools-templates-5.0.0.SNAPSHOT-test-sources.jar
[INFO] [jar:test-jar {execution: default}]
[INFO] Building jar:
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-templates/target/drools-templates-5.0.0.SNAPSHOT-tests.jar
[INFO] [install:install]
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-templates/target/drools-templates-5.0.0.SNAPSHOT.jar
to
/home/hudson/.m2/repository/org/drools/drools-templates/5.0.0.SNAPSHOT/drools-templates-5.0.0.SNAPSHOT.jar
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-templates/target/drools-templates-5.0.0.SNAPSHOT-sources.jar
to
/home/hudson/.m2/repository/org/drools/drools-templates/5.0.0.SNAPSHOT/drools-templates-5.0.0.SNAPSHOT-sources.jar
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-templates/target/drools-templates-5.0.0.SNAPSHOT-test-sources.jar
to
/home/hudson/.m2/repository/org/drools/drools-templates/5.0.0.SNAPSHOT/drools-templates-5.0.0.SNAPSHOT-test-sources.jar
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-templates/target/drools-templates-5.0.0.SNAPSHOT-tests.jar
to
/home/hudson/.m2/repository/org/drools/drools-templates/5.0.0.SNAPSHOT/drools-templates-5.0.0.SNAPSHOT-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Decision Tables
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 17 source files to
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-decisiontables/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 21 source files to
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-decisiontables/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-decisiontables/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.decisiontable.SpreadsheetCompilerUnitTest
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.487 sec <<<
FAILURE!
Running org.drools.decisiontable.parser.xls.ExcelParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.drools.decisiontable.parser.RuleWorksheetParseLargeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.drools.decisiontable.parser.RhsBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.drools.decisiontable.SpreadsheetIntegrationTest
null
Cheapest possible
BASE PRICE IS: 120
DISCOUNT IS: 20
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.262 sec
Running org.drools.decisiontable.ExternalSpreadsheetCompilerUnitTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.915 sec
Running org.drools.decisiontable.parser.csv.CsvParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.decisiontable.parser.LhsBuilderTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running org.drools.decisiontable.parser.ColumnFactoryTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.decisiontable.parser.csv.CsvLineParserTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.decisiontable.parser.PropertiesSheetListenerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.decisiontable.parser.RuleSheetParserUtilTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.decisiontable.parser.RuleWorksheetParseTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.387 sec
Running org.drools.decisiontable.parser.ActionTypeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Running org.drools.decisiontable.ExternalSpreadsheetCompilerIntegrationTest
Cheapest possible
BASE PRICE IS: 120
DISCOUNT IS: 20
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.696 sec
Results :
Tests in error:
testLoadFromClassPath(org.drools.decisiontable.SpreadsheetCompilerUnitTest)
Tests run: 47, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-decisiontables/target/surefire-reports
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes
[INFO] Finished at: Thu Jul 31 02:15:24 EDT 2008
[INFO] Final Memory: 26M/984M
[INFO] ------------------------------------------------------------------------
Terminating xvnc
[drools] $ vncserver -kill :11
Killing Xvnc process ID 1581
ERROR: No artifacts found that match the file pattern
"trunk/target/,rules-ouput/". Configuration error?
ERROR: 'trunk/target/' doesn't match anything, but '' does. Perhaps
that's what you mean?
Recording test results