See
http://hudson.qa.jboss.com/hudson/job/drools/1686/changes
Changes:
[mark.proctor(a)jboss.com] JBRULES-720 Clips Parser
-fixed a bad commit from an out of date clips.g
[mark.proctor(a)jboss.com] JBRULES-720 Clips Parser
-fixed a bad commit from an out of date clips.g
------------------------------------------
[...truncated 27031 lines...]
DEBUG 23-06 22:22:56,031 (ServiceImplementation.java:listAssets:661) time for asset list
load: 15
DEBUG 23-06 22:22:56,057 (ServiceImplementation.java:listAssets:661) time for asset list
load: 10
INFO 23-06 22:22:56,137 (ServiceImplementation.java:createCategory:163)
USER:alan_parsons CREATING cateogory: [testArchiveAsset] in path [/]
INFO 23-06 22:22:56,142 (ServiceImplementation.java:createPackage:582)
USER:alan_parsons CREATING package [testArchiveAsset]
INFO 23-06 22:22:56,185 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testArchiveAsset] in package
[testArchiveAsset]
INFO 23-06 22:22:56,207 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testArchiveAsset2] in package
[testArchiveAsset]
INFO 23-06 22:22:56,230 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testArchiveAsset3] in package
[testArchiveAsset]
INFO 23-06 22:22:56,346 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testArchiveAsset4] in package
[testArchiveAsset]
DEBUG 23-06 22:22:56,390 (ServiceImplementation.java:listAssets:661) time for asset list
load: 22
DEBUG 23-06 22:22:56,438 (ServiceImplementation.java:listAssets:661) time for asset list
load: 6
DEBUG 23-06 22:22:56,471 (ServiceImplementation.java:listAssets:661) time for asset list
load: 10
INFO 23-06 22:22:56,475 (ServiceImplementation.java:createPackage:582)
USER:alan_parsons CREATING package [testSuggestionComp]
INFO 23-06 22:22:56,907 (ServiceImplementation.java:createPackageSnapshot:758)
USER:alan_parsons CREATING PACKAGE SNAPSHOT for package: [testBinaryPackageCompile]
snapshot name: [SNAP1
DEBUG 23-06 22:22:56,907 (RulesRepository.java:createPackageSnapshot:419) Creating
snapshot for [testBinaryPackageCompile] called [SNAP1]
INFO 23-06 22:22:57,363 (ServiceImplementation.java:createPackageSnapshot:758)
USER:alan_parsons CREATING PACKAGE SNAPSHOT for package: [testBinaryPackageCompileBRL]
snapshot name: [SNAP1
DEBUG 23-06 22:22:57,364 (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 22:22:57,878 (ServiceImplementation.java:checkinVersion:422)
USER:alan_parsons CHECKING IN asset: [testSetRuleName] UUID:
[dbf25678-3b7f-4616-a145-460ee1ee1c33] ARCHIVED [false]
INFO 23-06 22:23:00,270 (ServiceImplementation.java:createCategory:163)
USER:alan_parsons CREATING cateogory: [brl] in path [/]
INFO 23-06 22:23:00,275 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [testBRL] in package [testBuildAssetBRL]
INFO 23-06 22:23:00,297 (ServiceImplementation.java:checkinVersion:422)
USER:alan_parsons CHECKING IN asset: [testBRL] UUID:
[76e5c7b4-a619-4a88-9df9-069656790e90] ARCHIVED [false]
INFO 23-06 22:23:01,355 (ServiceImplementation.java:checkinVersion:422)
USER:alan_parsons CHECKING IN asset: [rule_1] UUID: [097f8600-3acc-4f6b-9f41-288991decb54]
ARCHIVED [false]
INFO 23-06 22:23:01,440 (ServiceImplementation.java:savePackage:615) USER:alan_parsons
SAVING package [testBinaryPackageUpToDate]
INFO 23-06 22:23:01,901 (ServiceImplementation.java:createCategory:163)
USER:alan_parsons CREATING cateogory: [sc] in path [/]
INFO 23-06 22:23:01,905 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [sc1] in package [testScenarioRun]
INFO 23-06 22:23:01,942 (ServiceImplementation.java:checkinVersion:422)
USER:alan_parsons CHECKING IN asset: [sc1] UUID: [e6ae85a3-5f2a-4f1e-8249-a2789e58f36d]
ARCHIVED [false]
42
42
42
INFO 23-06 22:23:07,794 (ServiceImplementation.java:createCategory:163)
USER:alan_parsons CREATING cateogory: [decisiontables] in path [/]
INFO 23-06 22:23:07,930 (ServiceImplementation.java:createNewRule:189)
USER:alan_parsons CREATING new asset name [decTable] in package [testGuidedDTCompile]
INFO 23-06 22:23:07,964 (ServiceImplementation.java:checkinVersion:422)
USER:alan_parsons CHECKING IN asset: [decTable] UUID:
[f19fa511-440e-445c-a2ac-fa3485499348] ARCHIVED [false]
Tests run: 45, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.472 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[14663 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.205 sec <<<
FAILURE!
Running org.drools.clips.CompiledFunctionsTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.drools.clips.FunctionFactoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 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:347)
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:347)
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:347)
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.063 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: 9 minutes 12 seconds
[INFO] Finished at: Mon Jun 23 22:23:44 EDT 2008
[INFO] Final Memory: 32M/93M
[INFO] ------------------------------------------------------------------------
Terminating xvnc
[drools] $ vncserver -kill :10
Killing Xvnc process ID 17096
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