See
http://hudson.qa.jboss.com/hudson/job/drools/1685/changes
Changes:
[mark.proctor(a)jboss.com] JBRULES-720 Clips Parser
-fixed a bad commit from an out of date clips.g
------------------------------------------
[...truncated 27101 lines...]
[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.169 sec
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.014 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
java.lang.ClassNotFoundException: Unable to find class 'type'
at org.drools.base.ClassTypeResolver.resolveType(ClassTypeResolver.java:209)
at org.drools.compiler.PackageBuilder.generateDeclaredBean(PackageBuilder.java:707)
at org.drools.compiler.PackageBuilder.processTypeDeclarations(PackageBuilder.java:610)
at org.drools.compiler.PackageBuilder.mergePackage(PackageBuilder.java:530)
at org.drools.compiler.PackageBuilder.newPackage(PackageBuilder.java:511)
at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:361)
at org.drools.clips.Shell.templateHandler(Shell.java:267)
at org.drools.clips.ClipsParser.eval(ClipsParser.java:323)
at org.drools.clips.Shell.eval(Shell.java:311)
at org.drools.clips.Shell.eval(Shell.java:304)
at org.drools.clips.ShellTest.testTemplateCreation(ShellTest.java:246)
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)
java.lang.NullPointerException
at org.drools.common.AbstractRuleBase.addRule(AbstractRuleBase.java:591)
at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:433)
at org.drools.clips.Shell.ruleHandler(Shell.java:281)
at org.drools.clips.ClipsParser.eval(ClipsParser.java:336)
at org.drools.clips.Shell.eval(Shell.java:311)
at org.drools.clips.Shell.eval(Shell.java:304)
at org.drools.clips.ShellTest.testTemplateCreation(ShellTest.java:248)
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)
Tests run: 18, Failures: 3, Errors: 1, Skipped: 0, Time elapsed: 1.981 sec <<<
FAILURE!
Results :
Failed tests:
testIf(org.drools.clips.ShellTest)
testIfElse(org.drools.clips.ShellTest)
testSwitch(org.drools.clips.ShellTest)
Tests in error:
testTemplateCreation(org.drools.clips.ShellTest)
Tests run: 25, Failures: 3, 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 17 seconds
[INFO] Finished at: Mon Jun 23 21:25:33 EDT 2008
[INFO] Final Memory: 32M/97M
[INFO] ------------------------------------------------------------------------
Terminating xvnc
[drools] $ vncserver -kill :10
Killing Xvnc process ID 4782
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