See
http://hudson.qa.jboss.com/hudson/job/drools/1437/changes
Changes:
[michael.neale(a)jboss.com] JBRULES-1562 remote REST api
------------------------------------------
[...truncated 8847 lines...]
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)
DEBUG 24-04 06:27:22,786 (RulesRepository.java:addNodeIfNew:131) Adding new node of
type: drools:stateNodeType named: TestState1 to parent node named drools:state_area
DEBUG 24-04 06:27:22,788 (RulesRepository.java:createState:628) Created the status
[TestState1]
DEBUG 24-04 06:27:22,790 (RulesRepository.java:addNodeIfNew:131) Adding new node of
type: drools:stateNodeType named: TestState2 to parent node named drools:state_area
DEBUG 24-04 06:27:22,791 (RulesRepository.java:createState:628) Created the status
[TestState2]
ERROR 24-04 06:27:23,398 (VersionableItem.java:checkIsUpdateable:525) Error. Tags can
only be added to the head version of a rule node
Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.887 sec
Running org.drools.repository.remoteapi.RestAPITest
2008-04-24T06:27:25
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.342 sec
Running org.drools.repository.RulesRepositoryTest
folder1
folder1.folder1_1
folder1.folder1_1.folder1_1_1
folder1.folder1_2
folder2.folder2_1
folder3.folder3_1.folder3_1_1.folder3_1_1_1
defaultPackage
testAddFiles.package
testListPackagesblah
testListPackages2blah1
testListPackages2blah3
testListPackages2blah7
testPagination
testDublinCore
testRestGetBasics
testRestPost
testPostNewPackage
testRestPut
testRestDelete
DEBUG 24-04 06:27:26,644 (RulesRepository.java:addNodeIfNew:131) Adding new node of
type: drools:stateNodeType named: testGetState to parent node named drools:state_area
DEBUG 24-04 06:27:26,646 (RulesRepository.java:createState:628) Created the status
[testGetState]
DEBUG 24-04 06:27:27,171 (RulesRepository.java:addNodeIfNew:131) Adding new node of
type: drools:stateNodeType named: testFindByState to parent node named drools:state_area
DEBUG 24-04 06:27:27,174 (RulesRepository.java:createState:628) Created the status
[testFindByState]
DEBUG 24-04 06:27:27,431 (RulesRepository.java:createPackageSnapshot:390) Creating
snapshot for [defaultPackage] called [testFindRulesByName]
1
1
ERROR 24-04 06:27:29,019 (RulesRepository.java:loadAssetByUUID:546) Unable to load a
rule asset by UUID.
javax.jcr.ItemNotFoundException: 01010101-0101-0101-0101-010101010101
at org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager.java:566)
at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:395)
at org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:486)
at org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:455)
at org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:836)
at org.drools.repository.RulesRepository.loadAssetByUUID(RulesRepository.java:542)
at
org.drools.repository.RulesRepositoryTest.testLoadRuleByUUIDWithConcurrentSessions(RulesRepositoryTest.java:202)
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)
DEBUG 24-04 06:27:29,438 (RulesRepository.java:createPackageSnapshot:390) Creating
snapshot for [testCategoriesAndSnapshots] called [SNAP 1]
INFO 24-04 06:27:30,637 (RulesRepository.java:renameAsset:875) Renaming asset:
/drools:repository/drools:package_area/testRenameAsset/assets/testRenameAssetSource to
testRename2
INFO 24-04 06:27:30,824 (RulesRepository.java:renamePackage:919) Renaming package:
/drools:repository/drools:package_area/testRenamePackage to testRenamePackage2
DEBUG 24-04 06:27:31,240 (RulesRepository.java:addNodeIfNew:131) Adding new node of
type: drools:stateNodeType named: testListStates to parent node named drools:state_area
DEBUG 24-04 06:27:31,243 (RulesRepository.java:createState:628) Created the status
[testListStates]
DEBUG 24-04 06:27:32,566 (RulesRepositoryAdministrator.java:clearRulesRepository:63)
Clearing repository database. UserId=alan_parsons
Clearing rules repository
DEBUG 24-04 06:27:36,898 (RulesRepositoryAdministrator.java:clearRulesRepository:63)
Clearing repository database. UserId=alan_parsons
Clearing rules repository
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.616 sec
Running org.drools.repository.PackageItemTest
2
DEBUG 24-04 06:27:41,167 (RulesRepository.java:createPackageSnapshot:390) Creating
snapshot for [testPackageSnapshot] called [PROD 2.0]
DEBUG 24-04 06:27:41,578 (RulesRepository.java:removePackageSnapshot:420) Removing
snapshot for [testPackageSnapshot] called [XX]
DEBUG 24-04 06:27:41,580 (RulesRepository.java:removePackageSnapshot:420) Removing
snapshot for [NOTHING SENSIBLE] called [XX]
DEBUG 24-04 06:27:41,582 (RulesRepository.java:removePackageSnapshot:420) Removing
snapshot for [testPackageSnapshot] called [PROD 2.0]
DEBUG 24-04 06:27:41,618 (RulesRepository.java:createPackageSnapshot:390) Creating
snapshot for [testPackageSnapshot] called [BOO]
DEBUG 24-04 06:27:41,703 (RulesRepository.java:copyPackageSnapshot:452) Creating
snapshot for [testPackageSnapshot] called [BOO]
ERROR 24-04 06:27:41,840 (RulesRepository.java:loadPackage:353) Unable to load a rule
package.
javax.jcr.PathNotFoundException: anotherRuleRuleItem
at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2470)
at org.drools.repository.RulesRepository.loadPackage(RulesRepository.java:348)
at
org.drools.repository.PackageItemTest.testLoadRulePackageItem(PackageItemTest.java:234)
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)
DEBUG 24-04 06:27:42,210 (RulesRepository.java:addNodeIfNew:131) Adding new node of
type: drools:stateNodeType named: foobar to parent node named drools:state_area
DEBUG 24-04 06:27:42,213 (RulesRepository.java:createState:628) Created the status
[foobar]
DEBUG 24-04 06:27:42,253 (RulesRepository.java:addNodeIfNew:131) Adding new node of
type: drools:stateNodeType named: whee to parent node named drools:state_area
DEBUG 24-04 06:27:42,254 (RulesRepository.java:createState:628) Created the status
[whee]
DEBUG 24-04 06:27:42,264 (RulesRepository.java:addNodeIfNew:131) Adding new node of
type: drools:stateNodeType named: extractorState to parent node named drools:state_area
DEBUG 24-04 06:27:42,265 (RulesRepository.java:createState:628) Created the status
[extractorState]
DEBUG 24-04 06:27:42,298 (RulesRepository.java:createState:628) Created the status
[foobar]
DEBUG 24-04 06:27:42,367 (RulesRepository.java:addNodeIfNew:131) Adding new node of
type: drools:stateNodeType named: x to parent node named drools:state_area
DEBUG 24-04 06:27:42,369 (RulesRepository.java:createState:628) Created the status [x]
DEBUG 24-04 06:27:42,465 (RulesRepository.java:addNodeIfNew:131) Adding new node of
type: drools:stateNodeType named: disabled to parent node named drools:state_area
DEBUG 24-04 06:27:42,466 (RulesRepository.java:createState:628) Created the status
[disabled]
ERROR 24-04 06:27:42,557 (PackageItem.java:<init>:82) packageInstanceWrongNodeType
is not a node of type drools:packageNodeType. It is a node of type: drools:assetNodeType
ERROR 24-04 06:27:42,558 (PackageItem.java:<init>:86) Caught exception:
org.drools.repository.RulesRepositoryException: packageInstanceWrongNodeType is not a node
of type drools:packageNodeType. It is a node of type: drools:assetNodeType
ERROR 24-04 06:27:42,626 (RulesRepository.java:loadPackageByUUID:501) Unable to load a
rule package by UUID.
javax.jcr.ItemNotFoundException: 01010101-0101-0101-0101-010101010101
at org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager.java:566)
at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:395)
at org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:486)
at org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:455)
at org.apache.jackrabbit.core.SessionImpl.getNodeByUUID(SessionImpl.java:836)
at org.drools.repository.RulesRepository.loadPackageByUUID(RulesRepository.java:497)
at
org.drools.repository.PackageItemTest.testLoadRulePackageItemByUUID(PackageItemTest.java:376)
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: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.255 sec
Results :
Tests run: 117, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar]
[INFO] Building jar:
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-repository/target/drools-repository.jar
[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-repository/target/drools-repository-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-repository/target/drools-repository-test-sources.jar
[INFO] [jar:test-jar {execution: default}]
[INFO] Building jar:
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-repository/target/drools-repository-tests.jar
[INFO] [install:install]
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-repository/target/drools-repository.jar
to
/home/hudson/.m2/repository/org/drools/drools-repository/5.0.0.SNAPSHOT/drools-repository-5.0.0.SNAPSHOT.jar
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-repository/target/drools-repository-sources.jar
to
/home/hudson/.m2/repository/org/drools/drools-repository/5.0.0.SNAPSHOT/drools-repository-5.0.0.SNAPSHOT-sources.jar
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-repository/target/drools-repository-test-sources.jar
to
/home/hudson/.m2/repository/org/drools/drools-repository/5.0.0.SNAPSHOT/drools-repository-5.0.0.SNAPSHOT-test-sources.jar
[INFO] Installing
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-repository/target/drools-repository-tests.jar
to
/home/hudson/.m2/repository/org/drools/drools-repository/5.0.0.SNAPSHOT/drools-repository-5.0.0.SNAPSHOT-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Business Rule Management System
[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 172 source files to
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-jbrms/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-jbrms/src/main/java/org/drools/brms/server/files/RestAPIServlet.java:[64,14]
writeData(java.io.OutputStream) is not public in org.drools.repository.remoteapi.Response;
cannot be accessed from outside package
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-jbrms/src/main/java/org/drools/brms/server/files/RestAPIServlet.java:[64,14]
writeData(java.io.OutputStream) is not public in org.drools.repository.remoteapi.Response;
cannot be accessed from outside package
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 minutes 30 seconds
[INFO] Finished at: Thu Apr 24 06:27:56 EDT 2008
[INFO] Final Memory: 27M/87M
[INFO] ------------------------------------------------------------------------
Terminating xvnc
[drools] $ vncserver -kill :11
Killing Xvnc process ID 24152
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