See
http://hudson.qa.jboss.com/hudson/job/drools/2238/changes
------------------------------------------
[...truncated 30841 lines...]
[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.232 sec
Running org.drools.template.parser.ColumnFactoryTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 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.03 sec
Running org.drools.template.model.SnippetBuilderTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
Running org.drools.template.model.RuleRenderTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.drools.template.parser.DefaultTemplateRuleBaseTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.749 sec
Running org.drools.template.parser.DefaultGeneratorTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 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.129 sec
Running org.drools.template.parser.DefaultTemplateContainerTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec
Running org.drools.template.model.FunctionsRenderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.drools.template.parser.ExternalSheetListenerTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 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 19 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 22 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: 0, Skipped: 0, Time elapsed: 0.671 sec
Running org.drools.decisiontable.parser.xls.ExcelParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running org.drools.decisiontable.parser.RuleWorksheetParseLargeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
Running org.drools.decisiontable.parser.RhsBuilderTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.drools.decisiontable.SpreadsheetIntegrationTest
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 1.148 sec <<<
FAILURE!
Running org.drools.decisiontable.ExternalSpreadsheetCompilerUnitTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.973 sec
Running org.drools.decisiontable.parser.csv.CsvParserTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
Running org.drools.decisiontable.parser.LhsBuilderTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.drools.decisiontable.parser.ColumnFactoryTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
Running org.drools.decisiontable.parser.csv.CsvLineParserTest
Tests run: 3, 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.011 sec
Running org.drools.decisiontable.parser.RuleSheetParserUtilTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.drools.decisiontable.parser.RuleWorksheetParseTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.517 sec
Running org.drools.decisiontable.parser.ActionTypeTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.drools.decisiontable.SourcePackageProviderTest
RuleAgent(default) INFO (Mon Nov 17 11:52:07 EST 2008): Configuring with
newInstance=false, secondsToRefresh=-1
RuleAgent(default) INFO (Mon Nov 17 11:52:07 EST 2008): Configuring package provider :
FileScanner scanning: /tmp/__temp_test_drools_packages/Something.xls
RuleAgent(default) INFO (Mon Nov 17 11:52:08 EST 2008): Applying changes to the rulebase.
RuleAgent(default) INFO (Mon Nov 17 11:52:08 EST 2008): Adding package called
org.acme.insurance
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.68 sec
Running org.drools.decisiontable.ExternalSpreadsheetCompilerIntegrationTest
package Some_business_rules;
#generated from Decision Table
import org.drools.decisiontable.Cheese;
import org.drools.decisiontable.Person;
global java.util.List list;
rule "Cheese fans_17"
when
Person(age == "42")
Cheese(type == "stilton")
then
list.add("Old man stilton");
end
Cheapest possible
BASE PRICE IS: 120
DISCOUNT IS: 20
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.285 sec
Results :
Tests in error:
testExecute(org.drools.decisiontable.SpreadsheetIntegrationTest)
testNamedWorksheet(org.drools.decisiontable.SpreadsheetIntegrationTest)
testInsuranceExample(org.drools.decisiontable.SpreadsheetIntegrationTest)
Tests run: 50, Failures: 0, Errors: 3, 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: 5 minutes 33 seconds
[INFO] Finished at: Mon Nov 17 11:52:09 EST 2008
[INFO] Final Memory: 34M/999M
[INFO] ------------------------------------------------------------------------
Terminating xvnc
[drools] $ vncserver -kill :10
Killing Xvnc process ID 13647
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