See
http://hudson.qa.jboss.com/hudson/job/drools/1682/changes
Changes:
[mark.proctor(a)jboss.com] JBRULES-1656 PackageBulder to support multiple namespaces
-need to retrieve type resolver for the correct namespace
[mark.proctor(a)jboss.com] JBRULES-1656 PackageBulder to support multiple namespaces
-was incorrectly setting the default dialect on functions
------------------------------------------
[...truncated 27047 lines...]
DEBUG 23-06 15:24:48,250 (ServiceImplementation.java:listAssets:661) time for asset list
load: 23
DEBUG 23-06 15:24:48,273 (ServiceImplementation.java:listAssets:661) time for asset list
load: 7
INFO 23-06 15:24:48,344 (ServiceImplementation.java:createCategory:163)
USER:alan_parsons CREATING cateogory: [testArchiveAsset] in path [/]
INFO 23-06 15:24:48,349 (ServiceImplementation.java:createPackage:582)
USER:alan_parsons CREATING package [testArchiveAsset]
INFO 23-06 15:24:48,391 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testArchiveAsset] in package
[testArchiveAsset]
INFO 23-06 15:24:48,415 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testArchiveAsset2] in package
[testArchiveAsset]
INFO 23-06 15:24:48,440 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testArchiveAsset3] in package
[testArchiveAsset]
INFO 23-06 15:24:48,463 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testArchiveAsset4] in package
[testArchiveAsset]
DEBUG 23-06 15:24:48,593 (ServiceImplementation.java:listAssets:661) time for asset list
load: 12
DEBUG 23-06 15:24:48,653 (ServiceImplementation.java:listAssets:661) time for asset list
load: 7
DEBUG 23-06 15:24:48,690 (ServiceImplementation.java:listAssets:661) time for asset list
load: 11
INFO 23-06 15:24:48,692 (ServiceImplementation.java:createPackage:582)
USER:alan_parsons CREATING package [testSuggestionComp]
INFO 23-06 15:24:49,134 (ServiceImplementation.java:createPackageSnapshot:758)
USER:alan_parsons CREATING PACKAGE SNAPSHOT for package: [testBinaryPackageCompile]
snapshot name: [SNAP1
DEBUG 23-06 15:24:49,135 (RulesRepository.java:createPackageSnapshot:419) Creating
snapshot for [testBinaryPackageCompile] called [SNAP1]
INFO 23-06 15:24:49,639 (ServiceImplementation.java:createPackageSnapshot:758)
USER:alan_parsons CREATING PACKAGE SNAPSHOT for package: [testBinaryPackageCompileBRL]
snapshot name: [SNAP1
DEBUG 23-06 15:24:49,639 (RulesRepository.java:createPackageSnapshot:419) Creating
snapshot for [testBinaryPackageCompileBRL] called [SNAP1]
* (1,14) unable to resolve method using strict-mode: java.lang.Object.setAge(...)
INFO 23-06 15:24:50,100 (ServiceImplementation.java:checkinVersion:422)
USER:alan_parsons CHECKING IN asset: [testSetRuleName] UUID:
[4f430265-6da3-4fc0-9349-89bce4fa1a72] ARCHIVED [false]
INFO 23-06 15:24:52,618 (ServiceImplementation.java:createCategory:163)
USER:alan_parsons CREATING cateogory: [brl] in path [/]
INFO 23-06 15:24:52,623 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testBRL] in package [testBuildAssetBRL]
INFO 23-06 15:24:52,644 (ServiceImplementation.java:checkinVersion:422)
USER:alan_parsons CHECKING IN asset: [testBRL] UUID:
[c93bf4c8-7480-4b07-9fde-48d1e24f47f0] ARCHIVED [false]
INFO 23-06 15:24:53,811 (ServiceImplementation.java:checkinVersion:422)
USER:alan_parsons CHECKING IN asset: [rule_1] UUID: [8c6b8558-3bf7-4361-adeb-8cdc01c6c844]
ARCHIVED [false]
INFO 23-06 15:24:53,905 (ServiceImplementation.java:savePackage:615) USER:alan_parsons
SAVING package [testBinaryPackageUpToDate]
INFO 23-06 15:24:54,389 (ServiceImplementation.java:createCategory:163)
USER:alan_parsons CREATING cateogory: [sc] in path [/]
INFO 23-06 15:24:54,393 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [sc1] in package [testScenarioRun]
INFO 23-06 15:24:54,432 (ServiceImplementation.java:checkinVersion:422)
USER:alan_parsons CHECKING IN asset: [sc1] UUID: [bb492232-cb70-4591-8e30-4545726f2149]
ARCHIVED [false]
42
42
42
INFO 23-06 15:25:00,365 (ServiceImplementation.java:createCategory:163)
USER:alan_parsons CREATING cateogory: [decisiontables] in path [/]
INFO 23-06 15:25:00,493 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [decTable] in package [testGuidedDTCompile]
INFO 23-06 15:25:00,533 (ServiceImplementation.java:checkinVersion:422)
USER:alan_parsons CHECKING IN asset: [decTable] UUID:
[d2983771-c2b0-41d9-8ec5-ba8195cfc204] ARCHIVED [false]
Tests run: 45, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.247 sec
Results :
Tests run: 156, Failures: 0, Errors: 0, Skipped: 0
[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[drools-guvnor] in
[/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-guvnor/target/drools-guvnor]
[INFO] Processing war project
[INFO] Webapp assembled in[22902 msecs]
[INFO] Building war:
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-guvnor/target/drools-guvnor.war
[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-guvnor/target/drools-guvnor-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-guvnor/target/drools-guvnor-test-sources.jar
[INFO] [install:install]
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-guvnor/target/drools-guvnor.war
to
/home/hudson/.m2/repository/org/drools/drools-guvnor/5.0.0.SNAPSHOT/drools-guvnor-5.0.0.SNAPSHOT.war
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-guvnor/target/drools-guvnor-sources.jar
to
/home/hudson/.m2/repository/org/drools/drools-guvnor/5.0.0.SNAPSHOT/drools-guvnor-5.0.0.SNAPSHOT-sources.jar
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-guvnor/target/drools-guvnor-test-sources.jar
to
/home/hudson/.m2/repository/org/drools/drools-guvnor/5.0.0.SNAPSHOT/drools-guvnor-5.0.0.SNAPSHOT-test-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Clips
[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 51 source files to
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-clips/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 7 source files to
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-clips/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-clips/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.clips.LhsClpParserTest
Tests run: 6, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 0.199 sec <<<
FAILURE!
Running org.drools.clips.CompiledFunctionsTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.drools.clips.FunctionFactoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
Running org.drools.clips.ShellTest
[Error: unable to resolve property: unable to resolve method:
org.drools.clips.Shell.if(java.lang.Boolean) [arglength=1]]
[Near : {... Unknown ....}]
at
org.mvel.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:300)
at
org.mvel.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:124)
at org.mvel.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:132)
at org.mvel.MVELRuntime.execute(MVELRuntime.java:80)
at org.mvel.compiler.CompiledExpression.getValue(CompiledExpression.java:114)
at org.mvel.MVEL.executeExpression(MVEL.java:239)
at org.drools.clips.Shell.lispFormHandler(Shell.java:255)
at org.drools.clips.ClipsParser.eval(ClipsParser.java:349)
at org.drools.clips.Shell.eval(Shell.java:311)
at org.drools.clips.Shell.eval(Shell.java:304)
at org.drools.clips.ShellTest.testIf(ShellTest.java:109)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Caused by: org.mvel.PropertyAccessException: unable to resolve property: unable to resolve
method: org.drools.clips.Shell.if(java.lang.Boolean) [arglength=1]
at
org.mvel.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:604)
at
org.mvel.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:272)
... 36 more
[Error: unable to resolve property: unable to resolve method:
org.drools.clips.Shell.if(java.lang.Boolean) [arglength=1]]
[Near : {... Unknown ....}]
at
org.mvel.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:300)
at
org.mvel.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:124)
at org.mvel.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:132)
at org.mvel.MVELRuntime.execute(MVELRuntime.java:80)
at org.mvel.compiler.CompiledExpression.getValue(CompiledExpression.java:114)
at org.mvel.MVEL.executeExpression(MVEL.java:239)
at org.drools.clips.Shell.lispFormHandler(Shell.java:255)
at org.drools.clips.ClipsParser.eval(ClipsParser.java:349)
at org.drools.clips.Shell.eval(Shell.java:311)
at org.drools.clips.Shell.eval(Shell.java:304)
at org.drools.clips.ShellTest.testIfElse(ShellTest.java:118)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Caused by: org.mvel.PropertyAccessException: unable to resolve property: unable to resolve
method: org.drools.clips.Shell.if(java.lang.Boolean) [arglength=1]
at
org.mvel.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:604)
at
org.mvel.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:272)
... 36 more
[Error: unable to resolve property: unable to resolve method:
org.drools.clips.Shell.if(java.lang.Boolean) [arglength=1]]
[Near : {... Unknown ....}]
at
org.mvel.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:300)
at
org.mvel.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:124)
at org.mvel.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:132)
at org.mvel.MVELRuntime.execute(MVELRuntime.java:80)
at org.mvel.compiler.CompiledExpression.getValue(CompiledExpression.java:114)
at org.mvel.MVEL.executeExpression(MVEL.java:239)
at org.drools.clips.Shell.lispFormHandler(Shell.java:255)
at org.drools.clips.ClipsParser.eval(ClipsParser.java:349)
at org.drools.clips.Shell.eval(Shell.java:311)
at org.drools.clips.Shell.eval(Shell.java:304)
at org.drools.clips.ShellTest.testSwitch(ShellTest.java:130)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Caused by: org.mvel.PropertyAccessException: unable to resolve property: unable to resolve
method: org.drools.clips.Shell.if(java.lang.Boolean) [arglength=1]
at
org.mvel.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:604)
at
org.mvel.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:272)
... 36 more
Tests run: 18, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 2.055 sec <<<
FAILURE!
Results :
Failed tests:
testPatternsRule(org.drools.clips.LhsClpParserTest)
testNestedCERule(org.drools.clips.LhsClpParserTest)
testIf(org.drools.clips.ShellTest)
testIfElse(org.drools.clips.ShellTest)
testSwitch(org.drools.clips.ShellTest)
Tests in error:
testNotExistsRule(org.drools.clips.LhsClpParserTest)
Tests run: 25, Failures: 5, 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-clips/target/surefire-reports
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 minutes 2 seconds
[INFO] Finished at: Mon Jun 23 15:25:51 EDT 2008
[INFO] Final Memory: 31M/86M
[INFO] ------------------------------------------------------------------------
Terminating xvnc
[drools] $ vncserver -kill :11
Killing Xvnc process ID 947
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