See
http://hudson.qa.jboss.com/hudson/job/drools/2425/changes
Changes:
[mark.proctor(a)jboss.com] JBRULES-1903 Pipeline support for DataLoaders and Feeders
-StatefulKnowledgeSession now implements InternalWorkingMemoryEntryPoint, so Classloader
can be easily passed to BaseStage.
------------------------------------------
[...truncated 46216 lines...]
Asset: testDTSample.xls
Message: Rule Compilation error policy cannot be resolved
UUID: d638bbc5-d8ab-45c9-ba9d-e2bafae742f0
Asset: testDTSample.xls
Message: Rule Compilation error policy cannot be resolved
UUID: d638bbc5-d8ab-45c9-ba9d-e2bafae742f0
Asset: testDTSample.xls
Message: Rule Compilation error policy cannot be resolved
UUID: d638bbc5-d8ab-45c9-ba9d-e2bafae742f0
Asset: testDTSample.xls
Message: Rule Compilation error policy cannot be resolved
UUID: d638bbc5-d8ab-45c9-ba9d-e2bafae742f0
Asset: testDTSample.xls
Message: Rule Compilation error policy cannot be resolved
UUID: d638bbc5-d8ab-45c9-ba9d-e2bafae742f0
WARN 01-01 23:57:49,520 (ServiceImplementation.java:rebuildPackages:2132) Asset:
testLoadRuleAssetBRL.dslr
Message: This rule asset requires a DSL, yet none were configured in the package.
UUID: 6183685f-57eb-4ad6-81fb-05b115f59f39
ERROR 01-01 23:57:49,939 (ServiceImplementation.java:rebuildPackages:2136)
java.lang.NullPointerException
WARN 01-01 23:57:50,263 (ServiceImplementation.java:rebuildPackages:2132) Asset:
anAsset.drl
Message: [ERR 103] Line 3:0 no viable alternative at input 'garbage' in rule
'anAsset' in rule attribute
UUID: ce3f8238-0ede-405c-af62-d1c8050c66d0
Checking access for : HR
Checking access for : Sales
Checking access for : Manufacturing
Checking access for : Finance
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationCat1
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationCat2
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat1
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationAssetNoCategoryCat
Checking access for :
testLoadRuleAssetWithRoleBasedAuthrozationAssetNoCategoryPackageAdminCat
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationAssetNoCategoryAnalystCat
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationAssetHasCategoryCat
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationAssetNoCategoryMixedCat
Checking access for : testSecurityCreateNewRule
Checking access for :
testloadRuleListForCategoriesWithRoleBasedAuthrozationPackageReadonlyCat1
Checking access for : testloadRuleListForCategoriesWithRoleBasedAuthrozationAnalystCat1
Checking access for : testCheckinWithPackageReadonlyCat
Checking access for : testCheckinWithPackageDeveloperCat
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat3
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat7
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat8
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat5
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat6
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat9
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat10
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat11
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat12
Checking access for : snapshotTesting
Checking access for : testCreateNewRule
Checking access for : TopLevel1
Checking access for : TopLevel2
Checking access for : Top3
Checking access for : Top4
Checking access for : testDeleteUnversioned
Checking access for : testAddRule
Checking access for : testAttemptDupeRule
Checking access for : testCreateNewRuleContainsApostrophe
Checking access for : testRuleTableLoad
Checking access for : testLoadRuleAsset
Checking access for : testLoadAssetHistory
Checking access for : testCheckinCategory
Checking access for : testCheckinCategory2
Checking access for : testListByFormat
Checking access for : testQuickFind
Checking access for : testTextSearch
Checking access for : templates
INFO 01-01 23:57:50,347 (ServiceImplementation.java:createCategory:195)
USER:alan_parsons CREATING cateogory: [testRemoveCategory] in path [/]
INFO 01-01 23:57:50,351 (ServiceImplementation.java:removeCategory:1302)
USER:alan_parsons REMOVING CATEGORY path: [testRemoveCategory]
Checking access for : HR
Checking access for : Sales
Checking access for : Manufacturing
Checking access for : Finance
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationCat1
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationCat2
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat1
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationAssetNoCategoryCat
Checking access for :
testLoadRuleAssetWithRoleBasedAuthrozationAssetNoCategoryPackageAdminCat
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationAssetNoCategoryAnalystCat
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationAssetHasCategoryCat
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationAssetNoCategoryMixedCat
Checking access for : testSecurityCreateNewRule
Checking access for :
testloadRuleListForCategoriesWithRoleBasedAuthrozationPackageReadonlyCat1
Checking access for : testloadRuleListForCategoriesWithRoleBasedAuthrozationAnalystCat1
Checking access for : testCheckinWithPackageReadonlyCat
Checking access for : testCheckinWithPackageDeveloperCat
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat3
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat7
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat8
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat5
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat6
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat9
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat10
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat11
Checking access for : testLoadRuleAssetWithRoleBasedAuthrozationPackageReadonlyCat12
Checking access for : snapshotTesting
Checking access for : testCreateNewRule
Checking access for : TopLevel1
Checking access for : TopLevel2
Checking access for : Top3
Checking access for : Top4
Checking access for : testDeleteUnversioned
Checking access for : testAddRule
Checking access for : testAttemptDupeRule
Checking access for : testCreateNewRuleContainsApostrophe
Checking access for : testRuleTableLoad
Checking access for : testLoadRuleAsset
Checking access for : testLoadAssetHistory
Checking access for : testCheckinCategory
Checking access for : testCheckinCategory2
Checking access for : testListByFormat
Checking access for : testQuickFind
Checking access for : testTextSearch
Checking access for : templates
INFO 01-01 23:57:50,365 (ServiceImplementation.java:createCategory:195)
USER:alan_parsons CREATING cateogory: [testRemoveAsset] in path [/]
INFO 01-01 23:57:50,369 (ServiceImplementation.java:createPackage:737)
USER:alan_parsons CREATING package [testRemoveAsset]
INFO 01-01 23:57:50,409 (ServiceImplementation.java:createNewRule:224)
USER:alan_parsons CREATING new asset name [testRemoveAsset] in package [testRemoveAsset]
INFO 01-01 23:57:50,429 (ServiceImplementation.java:createNewRule:224)
USER:alan_parsons CREATING new asset name [testRemoveAsset2] in package [testRemoveAsset]
INFO 01-01 23:57:50,446 (ServiceImplementation.java:createNewRule:224)
USER:alan_parsons CREATING new asset name [testRemoveAsset3] in package [testRemoveAsset]
INFO 01-01 23:57:50,464 (ServiceImplementation.java:createNewRule:224)
USER:alan_parsons CREATING new asset name [testRemoveAsset4] in package [testRemoveAsset]
DEBUG 01-01 23:57:50,493 (ServiceImplementation.java:listAssets:867) Loading asset list
for [0744cc6d-ee76-4de6-afc4-bc463c9f7ece]
DEBUG 01-01 23:57:50,512 (ServiceImplementation.java:listAssets:881) time for asset list
load: 17
DEBUG 01-01 23:57:50,525 (ServiceImplementation.java:listAssets:867) Loading asset list
for [0744cc6d-ee76-4de6-afc4-bc463c9f7ece]
DEBUG 01-01 23:57:50,536 (ServiceImplementation.java:listAssets:881) time for asset list
load: 11
INFO 01-01 23:57:50,622 (ServiceImplementation.java:createCategory:195)
USER:alan_parsons CREATING cateogory: [testArchiveAsset] in path [/]
INFO 01-01 23:57:50,627 (ServiceImplementation.java:createPackage:737)
USER:alan_parsons CREATING package [testArchiveAsset]
INFO 01-01 23:57:50,696 (ServiceImplementation.java:createNewRule:224)
USER:alan_parsons CREATING new asset name [testArchiveAsset] in package
[testArchiveAsset]
INFO 01-01 23:57:50,750 (ServiceImplementation.java:createNewRule:224)
USER:alan_parsons CREATING new asset name [testArchiveAsset2] in package
[testArchiveAsset]
INFO 01-01 23:57:50,775 (ServiceImplementation.java:createNewRule:224)
USER:alan_parsons CREATING new asset name [testArchiveAsset3] in package
[testArchiveAsset]
INFO 01-01 23:57:50,794 (ServiceImplementation.java:createNewRule:224)
USER:alan_parsons CREATING new asset name [testArchiveAsset4] in package
[testArchiveAsset]
DEBUG 01-01 23:57:50,813 (ServiceImplementation.java:listAssets:867) Loading asset list
for [9b775f3b-a442-4a6f-9ded-d9cc06610377]
DEBUG 01-01 23:57:50,833 (ServiceImplementation.java:listAssets:881) time for asset list
load: 20
DEBUG 01-01 23:57:50,872 (ServiceImplementation.java:listAssets:867) Loading asset list
for [9b775f3b-a442-4a6f-9ded-d9cc06610377]
DEBUG 01-01 23:57:50,880 (ServiceImplementation.java:listAssets:881) time for asset list
load: 7
DEBUG 01-01 23:57:50,903 (ServiceImplementation.java:listAssets:867) Loading asset list
for [9b775f3b-a442-4a6f-9ded-d9cc06610377]
DEBUG 01-01 23:57:50,916 (ServiceImplementation.java:listAssets:881) time for asset list
load: 13
INFO 01-01 23:57:50,919 (ServiceImplementation.java:createCategory:195)
USER:alan_parsons CREATING cateogory: [testArchiveAssetWhenParentPackageArchived] in path
[/]
INFO 01-01 23:57:50,924 (ServiceImplementation.java:createPackage:737)
USER:alan_parsons CREATING package [testArchiveAssetWhenParentPackageArchived]
INFO 01-01 23:57:51,047 (ServiceImplementation.java:createNewRule:224)
USER:alan_parsons CREATING new asset name [testArchiveAssetWhenParentPackageArchived] in
package [testArchiveAssetWhenParentPackageArchived]
INFO 01-01 23:57:51,078 (ServiceImplementation.java:createNewRule:224)
USER:alan_parsons CREATING new asset name [testArchiveAssetWhenParentPackageArchived2] in
package [testArchiveAssetWhenParentPackageArchived]
INFO 01-01 23:57:51,113 (ServiceImplementation.java:createNewRule:224)
USER:alan_parsons CREATING new asset name [testArchiveAssetWhenParentPackageArchived3] in
package [testArchiveAssetWhenParentPackageArchived]
INFO 01-01 23:57:51,139 (ServiceImplementation.java:createNewRule:224)
USER:alan_parsons CREATING new asset name [testArchiveAssetWhenParentPackageArchived4] in
package [testArchiveAssetWhenParentPackageArchived]
DEBUG 01-01 23:57:51,171 (ServiceImplementation.java:listAssets:867) Loading asset list
for [9f89e31f-c5eb-4f14-8273-1b5dea30822e]
DEBUG 01-01 23:57:51,195 (ServiceImplementation.java:listAssets:881) time for asset list
load: 24
DEBUG 01-01 23:57:51,245 (ServiceImplementation.java:listAssets:867) Loading asset list
for [9f89e31f-c5eb-4f14-8273-1b5dea30822e]
DEBUG 01-01 23:57:51,254 (ServiceImplementation.java:listAssets:881) time for asset list
load: 8
ERROR 01-01 23:57:51,256 (ServiceImplementation.java:archiveAsset:1594)
org.drools.repository.RulesRepositoryException: The package
[testArchiveAssetWhenParentPackageArchived] that asset
[testArchiveAssetWhenParentPackageArchived4] belongs to is archived. You need to unarchive
it first.
DEBUG 01-01 23:57:51,256 (ServiceImplementation.java:listAssets:867) Loading asset list
for [9f89e31f-c5eb-4f14-8273-1b5dea30822e]
DEBUG 01-01 23:57:51,265 (ServiceImplementation.java:listAssets:881) time for asset list
load: 8
INFO 01-01 23:57:51,267 (ServiceImplementation.java:createPackage:737)
USER:alan_parsons CREATING package [testSuggestionComp]
INFO 01-01 23:57:51,568 (ServiceImplementation.java:createPackageSnapshot:1195)
USER:alan_parsons CREATING PACKAGE SNAPSHOT for package: [testBinaryPackageCompile]
snapshot name: [SNAP1
DEBUG 01-01 23:57:51,569 (RulesRepository.java:createPackageSnapshot:462) Creating
snapshot for [testBinaryPackageCompile] called [SNAP1]
INFO 01-01 23:57:52,436 (ServiceImplementation.java:createPackageSnapshot:1195)
USER:alan_parsons CREATING PACKAGE SNAPSHOT for package: [testBinaryPackageCompileBRL]
snapshot name: [SNAP1
DEBUG 01-01 23:57:52,437 (RulesRepository.java:createPackageSnapshot:462) Creating
snapshot for [testBinaryPackageCompileBRL] called [SNAP1]
[Error: Failed to compile: 1 compilation error(s):
- (1,14) unable to resolve method using strict-mode: java.lang.Object.setAge(...)]
[Near : {... Unknown ....}]
^
at org.mvel2.compiler.ExpressionCompiler.compile(ExpressionCompiler.java:78)
at org.drools.base.mvel.MVELCompilationUnit.compile(MVELCompilationUnit.java:355)
at
org.drools.base.mvel.MVELCompilationUnit.getCompiledExpression(MVELCompilationUnit.java:282)
at org.drools.base.mvel.MVELConsequence.compile(MVELConsequence.java:49)
at
org.drools.rule.builder.dialect.mvel.MVELConsequenceBuilder.build(MVELConsequenceBuilder.java:99)
at org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:74)
at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:1163)
at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:633)
at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:287)
at
org.drools.guvnor.server.contenthandler.BRLContentHandler.compile(BRLContentHandler.java:58)
at
org.drools.guvnor.server.builder.ContentPackageAssembler.buildAsset(ContentPackageAssembler.java:167)
at
org.drools.guvnor.server.builder.ContentPackageAssembler.buildPackage(ContentPackageAssembler.java:154)
at
org.drools.guvnor.server.builder.ContentPackageAssembler.<init>(ContentPackageAssembler.java:103)
at
org.drools.guvnor.server.builder.ContentPackageAssembler.<init>(ContentPackageAssembler.java:116)
at
org.drools.guvnor.server.ServiceImplementation.buildPackage(ServiceImplementation.java:1370)
at
org.drools.guvnor.server.ServiceImplementation.buildPackage(ServiceImplementation.java:1354)
at
org.drools.guvnor.server.ServiceImplementationTest.testBinaryPackageCompileAndExecuteWithBRXML(ServiceImplementationTest.java:1279)
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.GeneratedMethodAccessor2.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:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
INFO 01-01 23:57:52,734 (ServiceImplementation.java:checkinVersion:586)
USER:alan_parsons CHECKING IN asset: [testSetRuleName] UUID:
[c2b61c3b-64fb-478f-92be-31b13dfd92c8] ARCHIVED [false]
INFO 01-01 23:57:54,832 (ServiceImplementation.java:createCategory:195)
USER:alan_parsons CREATING cateogory: [brl] in path [/]
INFO 01-01 23:57:54,836 (ServiceImplementation.java:createNewRule:224)
USER:alan_parsons CREATING new asset name [testBRL] in package [testBuildAssetBRL]
INFO 01-01 23:57:54,857 (ServiceImplementation.java:checkinVersion:586)
USER:alan_parsons CHECKING IN asset: [testBRL] UUID:
[a30cf131-2e3d-4fa0-8585-5a18a11e9b0f] ARCHIVED [false]
INFO 01-01 23:57:55,971 (ServiceImplementation.java:checkinVersion:586)
USER:alan_parsons CHECKING IN asset: [rule_1] UUID: [003786d1-321b-41a2-a102-67198aa48590]
ARCHIVED [false]
INFO 01-01 23:57:56,097 (ServiceImplementation.java:savePackage:818) USER:alan_parsons
SAVING package [testBinaryPackageUpToDate]
INFO 01-01 23:57:56,752 (ServiceImplementation.java:createCategory:195)
USER:alan_parsons CREATING cateogory: [sc] in path [/]
INFO 01-01 23:57:56,755 (ServiceImplementation.java:createNewRule:224)
USER:alan_parsons CREATING new asset name [sc1] in package [testScenarioRun]
INFO 01-01 23:57:56,839 (ServiceImplementation.java:checkinVersion:586)
USER:alan_parsons CHECKING IN asset: [sc1] UUID: [7b9f8514-cce9-4fed-ae9e-c4cf3d6a8840]
ARCHIVED [false]
42
42
42
Time taken for runScenariosInPackage 281
INFO 01-01 23:58:08,528 (ServiceImplementation.java:createCategory:195)
USER:alan_parsons CREATING cateogory: [decisiontables] in path [/]
INFO 01-01 23:58:08,714 (ServiceImplementation.java:createNewRule:224)
USER:alan_parsons CREATING new asset name [decTable] in package [testGuidedDTCompile]
INFO 01-01 23:58:08,737 (ServiceImplementation.java:checkinVersion:586)
USER:alan_parsons CHECKING IN asset: [decTable] UUID:
[c11b570f-40e8-4e39-8e95-9123ace8a18b] ARCHIVED [false]
{}
INFO 01-01 23:58:08,921 (ServiceImplementation.java:updateUserPermissions:2179)
Updating user permissions for userName [googoo] to [{}]
DEBUG 01-01 23:58:08,930 (RulesRepositoryAdministrator.java:clearRulesRepository:63)
Clearing repository database. UserId=alan_parsons
Clearing rules repository
Tests run: 54, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.114 sec
Results :
Failed tests:
testPreferences(org.drools.guvnor.server.security.SecurityServiceImplTest)
Tests run: 221, Failures: 1, 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-guvnor/target/surefire-reports
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 minutes 48 seconds
[INFO] Finished at: Thu Jan 01 23:58:14 EST 2009
[INFO] Final Memory: 53M/977M
[INFO] ------------------------------------------------------------------------
Terminating xvnc
[drools] $ vncserver -kill :13
Killing Xvnc process ID 27716
Recording test results