See
http://hudson.qa.jboss.com/hudson/job/drools/1811/changes
Changes:
[jervisliu] check permission for load/save asset. Details can be found in the javadoc.
Added more tests.
------------------------------------------
[...truncated 27114 lines...]
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-dataloaders/drools-dataloaders-jaxb/target/drools-dataloaders-jaxb-5.0.0.SNAPSHOT-test-sources.jar
to
/home/hudson/.m2/repository/org/drools/drools-dataloaders-jaxb/5.0.0.SNAPSHOT/drools-dataloaders-jaxb-5.0.0.SNAPSHOT-test-sources.jar
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-dataloaders/drools-dataloaders-jaxb/target/drools-dataloaders-jaxb-5.0.0.SNAPSHOT-tests.jar
to
/home/hudson/.m2/repository/org/drools/drools-dataloaders-jaxb/5.0.0.SNAPSHOT/drools-dataloaders-jaxb-5.0.0.SNAPSHOT-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: DataLoaders
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [site:attach-descriptor]
[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] 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] [install:install]
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-dataloaders/pom.xml to
/home/hudson/.m2/repository/org/drools/drools-dataloaders/5.0.0.SNAPSHOT/drools-dataloaders-5.0.0.SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Verifier
[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 75 source files to
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-verifier/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 39 source files to
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-verifier/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-verifier/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.drools.verifier.redundancy.WarningsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.58 sec
Running org.drools.verifier.RangeCheckDatesTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.306 sec
Running org.drools.verifier.redundancy.RedundantRestrictionsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.37 sec
Running org.drools.verifier.opposites.OppositePatternsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.095 sec
Running org.drools.verifier.SolversTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.drools.verifier.alwaysTrue.AlwaysTrueRuleTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.188 sec
Running org.drools.verifier.RangeCheckIntegersTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.606 sec
Running org.drools.verifier.equivalence.EquivalentRulesTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 sec
Running org.drools.verifier.alwaysFalse.AlwaysFalseTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.153 sec
Running org.drools.verifier.optimisation.PatternOrderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 sec
Running org.drools.verifier.alwaysTrue.AlwaysTruePatternTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.039 sec <<<
FAILURE!
Running org.drools.verifier.overlaps.OverlappingRestrictionsTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.018 sec <<<
FAILURE!
Running org.drools.verifier.RangeCheckCleanTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.verifier.RangeCheckDoublesTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.462 sec
Running org.drools.verifier.subsumption.SubsumptantRestrictionsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.222 sec
Running org.drools.verifier.ConsequenceTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.016 sec <<<
FAILURE!
Running org.drools.verifier.incompatibility.IncompatibilityPatternsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 sec
Running org.drools.verifier.PatternSolverDRLTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.verifier.optimisation.RestrictionOrderTest
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.053 sec <<<
FAILURE!
Running org.drools.verifier.redundancy.RedundantPossibilitiesTest
Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.021 sec <<<
FAILURE!
Running org.drools.verifier.incoherence.IncoherentRestrictionsTest
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
Tests run: 7, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.758 sec <<<
FAILURE!
Running org.drools.verifier.SubsumptantPossibilitiesRuleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.drools.verifier.redundancy.RedundantConsequencesTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 sec
Running org.drools.verifier.VerifierTest
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
java.lang.NullPointerException
at org.drools.verifier.Verifier.createRuleBase(Verifier.java:125)
at org.drools.verifier.Verifier.fireAnalysis(Verifier.java:59)
at org.drools.verifier.VerifierTest.testAnalyzer(VerifierTest.java:25)
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.GeneratedMethodAccessor13.invoke(Unknown Source)
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)
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
java.lang.NullPointerException
at org.drools.verifier.Verifier.createRuleBase(Verifier.java:125)
at org.drools.verifier.Verifier.fireAnalysis(Verifier.java:59)
at org.drools.verifier.VerifierTest.testCacheKnowledgeBase(VerifierTest.java:64)
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.GeneratedMethodAccessor13.invoke(Unknown Source)
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)
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
Tests run: 2, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 7.244 sec <<<
FAILURE!
Running org.drools.verifier.subsumption.SubsumptantPossibilitiesTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.572 sec
Running org.drools.verifier.redundancy.RedundantRulesAndPatternsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.182 sec
Running org.drools.verifier.incompatibility.IncompatibilityRestrictionsTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.391 sec
Running org.drools.verifier.missingEquality.MissingEqualityTest
BR.recoverFromMismatchedToken
BR.recoverFromMismatchedToken
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.013 sec <<<
FAILURE!
Running org.drools.verifier.PatternSolverTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running org.drools.verifier.incoherence.IncoherentPatternsTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.759 sec
Running org.drools.verifier.redundancy.NotesTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.139 sec
Running org.drools.verifier.FindMissingNumberTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running org.drools.verifier.opposites.OppositeRestrictionsTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.832 sec
Results :
Failed tests:
testAnalyzer(org.drools.verifier.VerifierTest)
Tests in error:
testPatternPossibilities(org.drools.verifier.alwaysTrue.AlwaysTruePatternTest)
testPatterns(org.drools.verifier.alwaysTrue.AlwaysTruePatternTest)
testOverlap(org.drools.verifier.overlaps.OverlappingRestrictionsTest)
testMissingConsequence(org.drools.verifier.ConsequenceTest)
testRestrictionOrderInsideOperator(org.drools.verifier.optimisation.RestrictionOrderTest)
testRestrictionOrderInsideConstraint(org.drools.verifier.optimisation.RestrictionOrderTest)
testPredicateOrderInsideOperator(org.drools.verifier.optimisation.RestrictionOrderTest)
testPatternPossibilityRedundancy(org.drools.verifier.redundancy.RedundantPossibilitiesTest)
testRulePossibilityRedundancy(org.drools.verifier.redundancy.RedundantPossibilitiesTest)
testIncoherentLiteralRestrictionsInPatternPossibility(org.drools.verifier.incoherence.IncoherentRestrictionsTest)
testIncoherentLiteralRestrictionsInPatternPossibilityImpossibleRanges(org.drools.verifier.incoherence.IncoherentRestrictionsTest)
testIncoherentLiteralRestrictionsInPatternPossibilityImpossibleEqualityLess(org.drools.verifier.incoherence.IncoherentRestrictionsTest)
testIncoherentLiteralRestrictionsInPatternPossibilityImpossibleEqualityGreater(org.drools.verifier.incoherence.IncoherentRestrictionsTest)
testIncoherentLiteralRestrictionsInPatternPossibilityImpossibleRange(org.drools.verifier.incoherence.IncoherentRestrictionsTest)
testIncoherentVariableRestrictionsInPatternPossibility(org.drools.verifier.incoherence.IncoherentRestrictionsTest)
testIncoherentVariableRestrictionsInPatternPossibilityImpossibleRange(org.drools.verifier.incoherence.IncoherentRestrictionsTest)
testCacheKnowledgeBase(org.drools.verifier.VerifierTest)
testMissingEqualityInLiteralRestrictions(org.drools.verifier.missingEquality.MissingEqualityTest)
testMissingEqualityInVariableRestrictions(org.drools.verifier.missingEquality.MissingEqualityTest)
Tests run: 101, Failures: 1, Errors: 19, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-verifier/target/surefire-reports
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 53 seconds
[INFO] Finished at: Tue Jul 22 12:18:29 EDT 2008
[INFO] Final Memory: 31M/998M
[INFO] ------------------------------------------------------------------------
Terminating xvnc
[drools] $ vncserver -kill :10
Killing Xvnc process ID 25818
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