See
http://hudson.qa.jboss.com/hudson/job/drools/1687/changes
Changes:
[mark.proctor(a)jboss.com] JBRULES-720 Clips Parser
-had to add manually parsing for deftemplate slots and type.
------------------------------------------
[...truncated 27026 lines...]
INFO 23-06 23:24:05,692 (ServiceImplementation.java:createPackage:582)
USER:alan_parsons CREATING package [testRemoveAsset]
INFO 23-06 23:24:05,740 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testRemoveAsset] in package [testRemoveAsset]
INFO 23-06 23:24:05,767 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testRemoveAsset2] in package [testRemoveAsset]
INFO 23-06 23:24:05,788 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testRemoveAsset3] in package [testRemoveAsset]
INFO 23-06 23:24:05,892 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testRemoveAsset4] in package [testRemoveAsset]
DEBUG 23-06 23:24:05,940 (ServiceImplementation.java:listAssets:661) time for asset list
load: 21
DEBUG 23-06 23:24:05,964 (ServiceImplementation.java:listAssets:661) time for asset list
load: 9
INFO 23-06 23:24:06,036 (ServiceImplementation.java:createCategory:163)
USER:alan_parsons CREATING cateogory: [testArchiveAsset] in path [/]
INFO 23-06 23:24:06,041 (ServiceImplementation.java:createPackage:582)
USER:alan_parsons CREATING package [testArchiveAsset]
INFO 23-06 23:24:06,090 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testArchiveAsset] in package
[testArchiveAsset]
INFO 23-06 23:24:06,115 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testArchiveAsset2] in package
[testArchiveAsset]
INFO 23-06 23:24:06,135 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testArchiveAsset3] in package
[testArchiveAsset]
INFO 23-06 23:24:06,159 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testArchiveAsset4] in package
[testArchiveAsset]
DEBUG 23-06 23:24:06,297 (ServiceImplementation.java:listAssets:661) time for asset list
load: 12
DEBUG 23-06 23:24:06,353 (ServiceImplementation.java:listAssets:661) time for asset list
load: 8
DEBUG 23-06 23:24:06,390 (ServiceImplementation.java:listAssets:661) time for asset list
load: 11
INFO 23-06 23:24:06,393 (ServiceImplementation.java:createPackage:582)
USER:alan_parsons CREATING package [testSuggestionComp]
INFO 23-06 23:24:06,916 (ServiceImplementation.java:createPackageSnapshot:758)
USER:alan_parsons CREATING PACKAGE SNAPSHOT for package: [testBinaryPackageCompile]
snapshot name: [SNAP1
DEBUG 23-06 23:24:06,916 (RulesRepository.java:createPackageSnapshot:419) Creating
snapshot for [testBinaryPackageCompile] called [SNAP1]
INFO 23-06 23:24:07,425 (ServiceImplementation.java:createPackageSnapshot:758)
USER:alan_parsons CREATING PACKAGE SNAPSHOT for package: [testBinaryPackageCompileBRL]
snapshot name: [SNAP1
DEBUG 23-06 23:24:07,426 (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 23:24:08,005 (ServiceImplementation.java:checkinVersion:422)
USER:alan_parsons CHECKING IN asset: [testSetRuleName] UUID:
[a3f4bdb4-eced-4372-b4b9-42e7a7d554d4] ARCHIVED [false]
INFO 23-06 23:24:10,416 (ServiceImplementation.java:createCategory:163)
USER:alan_parsons CREATING cateogory: [brl] in path [/]
INFO 23-06 23:24:10,422 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testBRL] in package [testBuildAssetBRL]
INFO 23-06 23:24:10,460 (ServiceImplementation.java:checkinVersion:422)
USER:alan_parsons CHECKING IN asset: [testBRL] UUID:
[e777bb7b-e78c-4d70-8385-9baa330f7910] ARCHIVED [false]
INFO 23-06 23:24:11,561 (ServiceImplementation.java:checkinVersion:422)
USER:alan_parsons CHECKING IN asset: [rule_1] UUID: [90a51208-4f2f-43af-9303-fe07a8e8f27b]
ARCHIVED [false]
INFO 23-06 23:24:11,663 (ServiceImplementation.java:savePackage:615) USER:alan_parsons
SAVING package [testBinaryPackageUpToDate]
INFO 23-06 23:24:12,157 (ServiceImplementation.java:createCategory:163)
USER:alan_parsons CREATING cateogory: [sc] in path [/]
INFO 23-06 23:24:12,163 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [sc1] in package [testScenarioRun]
INFO 23-06 23:24:12,207 (ServiceImplementation.java:checkinVersion:422)
USER:alan_parsons CHECKING IN asset: [sc1] UUID: [ce439523-fa60-4faa-a635-7de16436eab0]
ARCHIVED [false]
42
42
42
INFO 23-06 23:24:19,707 (ServiceImplementation.java:createCategory:163)
USER:alan_parsons CREATING cateogory: [decisiontables] in path [/]
INFO 23-06 23:24:19,852 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [decTable] in package [testGuidedDTCompile]
INFO 23-06 23:24:19,887 (ServiceImplementation.java:checkinVersion:422)
USER:alan_parsons CHECKING IN asset: [decTable] UUID:
[66b1e425-c95e-4e42-bf47-4d455dbf2d34] ARCHIVED [false]
Tests run: 45, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.886 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[18930 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: 0, Errors: 0, Skipped: 0, Time elapsed: 0.174 sec
Running org.drools.clips.CompiledFunctionsTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.drools.clips.FunctionFactoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 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:257)
at org.drools.clips.ClipsParser.eval(ClipsParser.java:388)
at org.drools.clips.Shell.eval(Shell.java:313)
at org.drools.clips.Shell.eval(Shell.java:306)
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:257)
at org.drools.clips.ClipsParser.eval(ClipsParser.java:388)
at org.drools.clips.Shell.eval(Shell.java:313)
at org.drools.clips.Shell.eval(Shell.java:306)
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:257)
at org.drools.clips.ClipsParser.eval(ClipsParser.java:388)
at org.drools.clips.Shell.eval(Shell.java:313)
at org.drools.clips.Shell.eval(Shell.java:306)
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.043 sec <<<
FAILURE!
Results :
Failed tests:
testIf(org.drools.clips.ShellTest)
testIfElse(org.drools.clips.ShellTest)
testSwitch(org.drools.clips.ShellTest)
Tests run: 25, Failures: 3, Errors: 0, 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: 9 minutes 28 seconds
[INFO] Finished at: Mon Jun 23 23:25:01 EDT 2008
[INFO] Final Memory: 32M/106M
[INFO] ------------------------------------------------------------------------
Terminating xvnc
[drools] $ vncserver -kill :10
Killing Xvnc process ID 29147
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