See
http://hudson.qa.jboss.com/hudson/job/drools/2133/changes
Changes:
[joe.white(a)recondotech.com] JBRULES-1810 - Updated Guvnor to parse enumerations from DSL
in the format <variable>:ENUM:<EnumName> and present them as dropdowns in the
guided editor
------------------------------------------
[...truncated 49557 lines...]
Message: Rule Compilation error policy cannot be resolved
UUID: 41e3d043-bd1e-4d64-b84c-1c2b6793dd76
Asset: testDTSample.xls
Message: Rule Compilation error policy cannot be resolved
UUID: 41e3d043-bd1e-4d64-b84c-1c2b6793dd76
Asset: testDTSample.xls
Message: Rule Compilation error policy cannot be resolved
UUID: 41e3d043-bd1e-4d64-b84c-1c2b6793dd76
Asset: testDTSample.xls
Message: Rule Compilation error policy cannot be resolved
UUID: 41e3d043-bd1e-4d64-b84c-1c2b6793dd76
Asset: testDTSample.xls
Message: Rule Compilation error policy cannot be resolved
UUID: 41e3d043-bd1e-4d64-b84c-1c2b6793dd76
Asset: testDTSample.xls
Message: Rule Compilation error policy cannot be resolved
UUID: 41e3d043-bd1e-4d64-b84c-1c2b6793dd76
Asset: testDTSample.xls
Message: Rule Compilation error policy cannot be resolved
UUID: 41e3d043-bd1e-4d64-b84c-1c2b6793dd76
Asset: testDTSample.xls
Message: Rule Compilation error policy cannot be resolved
UUID: 41e3d043-bd1e-4d64-b84c-1c2b6793dd76
Asset: testDTSample.xls
Message: Rule Compilation error policy cannot be resolved
UUID: 41e3d043-bd1e-4d64-b84c-1c2b6793dd76
Asset: testDTSample.xls
Message: Rule Compilation error policy cannot be resolved
UUID: 41e3d043-bd1e-4d64-b84c-1c2b6793dd76
Asset: testDTSample.xls
Message: Rule Compilation error policy cannot be resolved
UUID: 41e3d043-bd1e-4d64-b84c-1c2b6793dd76
Asset: testDTSample.xls
Message: Rule Compilation error policy cannot be resolved
UUID: 41e3d043-bd1e-4d64-b84c-1c2b6793dd76
WARN 20-10 17:29:15,490 (ServiceImplementation.java:rebuildPackages:1973) Asset:
testLoadRuleAssetBRL.dslr
Message: This rule asset requires a DSL, yet none were configured in the package.
UUID: b2f7acff-f919-431b-9f7d-82602fb2d8d0
ERROR 20-10 17:29:15,798 (ServiceImplementation.java:rebuildPackages:1977)
java.lang.NullPointerException
WARN 20-10 17:29:16,265 (ServiceImplementation.java:rebuildPackages:1973) Asset:
anAsset.drl
Message: [ERR 101] Line 2:0 mismatched input 'garbage' expecting 'then' in
rule 'anAsset'
UUID: 6554b0b9-5d36-4b23-a761-d03cd5e12216
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 : 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 20-10 17:29:16,334 (ServiceImplementation.java:createCategory:191)
USER:alan_parsons CREATING cateogory: [testRemoveCategory] in path [/]
INFO 20-10 17:29:16,464 (ServiceImplementation.java:removeCategory:1183)
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 : 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 20-10 17:29:16,481 (ServiceImplementation.java:createCategory:191)
USER:alan_parsons CREATING cateogory: [testRemoveAsset] in path [/]
INFO 20-10 17:29:16,485 (ServiceImplementation.java:createPackage:740)
USER:alan_parsons CREATING package [testRemoveAsset]
INFO 20-10 17:29:16,529 (ServiceImplementation.java:createNewRule:219)
USER:alan_parsons CREATING new asset name [testRemoveAsset] in package [testRemoveAsset]
INFO 20-10 17:29:16,553 (ServiceImplementation.java:createNewRule:219)
USER:alan_parsons CREATING new asset name [testRemoveAsset2] in package [testRemoveAsset]
INFO 20-10 17:29:16,600 (ServiceImplementation.java:createNewRule:219)
USER:alan_parsons CREATING new asset name [testRemoveAsset3] in package [testRemoveAsset]
INFO 20-10 17:29:16,624 (ServiceImplementation.java:createNewRule:219)
USER:alan_parsons CREATING new asset name [testRemoveAsset4] in package [testRemoveAsset]
DEBUG 20-10 17:29:16,660 (ServiceImplementation.java:listAssets:844) time for asset list
load: 15
DEBUG 20-10 17:29:16,685 (ServiceImplementation.java:listAssets:844) time for asset list
load: 8
INFO 20-10 17:29:16,773 (ServiceImplementation.java:createCategory:191)
USER:alan_parsons CREATING cateogory: [testArchiveAsset] in path [/]
INFO 20-10 17:29:16,777 (ServiceImplementation.java:createPackage:740)
USER:alan_parsons CREATING package [testArchiveAsset]
INFO 20-10 17:29:16,823 (ServiceImplementation.java:createNewRule:219)
USER:alan_parsons CREATING new asset name [testArchiveAsset] in package
[testArchiveAsset]
INFO 20-10 17:29:16,848 (ServiceImplementation.java:createNewRule:219)
USER:alan_parsons CREATING new asset name [testArchiveAsset2] in package
[testArchiveAsset]
INFO 20-10 17:29:16,873 (ServiceImplementation.java:createNewRule:219)
USER:alan_parsons CREATING new asset name [testArchiveAsset3] in package
[testArchiveAsset]
INFO 20-10 17:29:16,895 (ServiceImplementation.java:createNewRule:219)
USER:alan_parsons CREATING new asset name [testArchiveAsset4] in package
[testArchiveAsset]
DEBUG 20-10 17:29:16,933 (ServiceImplementation.java:listAssets:844) time for asset list
load: 13
DEBUG 20-10 17:29:16,983 (ServiceImplementation.java:listAssets:844) time for asset list
load: 7
DEBUG 20-10 17:29:17,017 (ServiceImplementation.java:listAssets:844) time for asset list
load: 11
INFO 20-10 17:29:17,021 (ServiceImplementation.java:createPackage:740)
USER:alan_parsons CREATING package [testSuggestionComp]
INFO 20-10 17:29:17,458 (ServiceImplementation.java:createPackageSnapshot:1079)
USER:alan_parsons CREATING PACKAGE SNAPSHOT for package: [testBinaryPackageCompile]
snapshot name: [SNAP1
DEBUG 20-10 17:29:17,458 (RulesRepository.java:createPackageSnapshot:429) Creating
snapshot for [testBinaryPackageCompile] called [SNAP1]
INFO 20-10 17:29:17,978 (ServiceImplementation.java:createPackageSnapshot:1079)
USER:alan_parsons CREATING PACKAGE SNAPSHOT for package: [testBinaryPackageCompileBRL]
snapshot name: [SNAP1
DEBUG 20-10 17:29:17,979 (RulesRepository.java:createPackageSnapshot:429) 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.mvel.compiler.ExpressionCompiler.compile(ExpressionCompiler.java:79)
at org.drools.base.mvel.MVELCompilationUnit.compile(MVELCompilationUnit.java:337)
at
org.drools.base.mvel.MVELCompilationUnit.getCompiledExpression(MVELCompilationUnit.java:264)
at org.drools.base.mvel.MVELConsequence.compile(MVELConsequence.java:54)
at
org.drools.rule.builder.dialect.mvel.MVELConsequenceBuilder.build(MVELConsequenceBuilder.java:103)
at org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:70)
at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:825)
at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:434)
at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:254)
at
org.drools.guvnor.server.contenthandler.BRLContentHandler.compile(BRLContentHandler.java:58)
at
org.drools.guvnor.server.builder.ContentPackageAssembler.buildAsset(ContentPackageAssembler.java:146)
at
org.drools.guvnor.server.builder.ContentPackageAssembler.buildPackage(ContentPackageAssembler.java:134)
at
org.drools.guvnor.server.builder.ContentPackageAssembler.<init>(ContentPackageAssembler.java:87)
at
org.drools.guvnor.server.builder.ContentPackageAssembler.<init>(ContentPackageAssembler.java:96)
at
org.drools.guvnor.server.ServiceImplementation.buildPackage(ServiceImplementation.java:1255)
at
org.drools.guvnor.server.ServiceImplementation.buildPackage(ServiceImplementation.java:1242)
at
org.drools.guvnor.server.ServiceImplementationTest.testBinaryPackageCompileAndExecuteWithBRXML(ServiceImplementationTest.java:1227)
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:338)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
INFO 20-10 17:29:18,413 (ServiceImplementation.java:checkinVersion:578)
USER:alan_parsons CHECKING IN asset: [testSetRuleName] UUID:
[b83977a7-a563-4d8e-a661-da1b6afcf900] ARCHIVED [false]
INFO 20-10 17:29:20,779 (ServiceImplementation.java:createCategory:191)
USER:alan_parsons CREATING cateogory: [brl] in path [/]
INFO 20-10 17:29:20,783 (ServiceImplementation.java:createNewRule:219)
USER:alan_parsons CREATING new asset name [testBRL] in package [testBuildAssetBRL]
INFO 20-10 17:29:20,808 (ServiceImplementation.java:checkinVersion:578)
USER:alan_parsons CHECKING IN asset: [testBRL] UUID:
[0d7c5a95-68cd-48aa-bec9-9e5f4ac4bbc9] ARCHIVED [false]
INFO 20-10 17:29:22,087 (ServiceImplementation.java:checkinVersion:578)
USER:alan_parsons CHECKING IN asset: [rule_1] UUID: [95aa4876-2d6d-4d0f-971b-14a344b9b3a6]
ARCHIVED [false]
INFO 20-10 17:29:22,201 (ServiceImplementation.java:savePackage:787) USER:alan_parsons
SAVING package [testBinaryPackageUpToDate]
INFO 20-10 17:29:22,770 (ServiceImplementation.java:createCategory:191)
USER:alan_parsons CREATING cateogory: [sc] in path [/]
INFO 20-10 17:29:22,775 (ServiceImplementation.java:createNewRule:219)
USER:alan_parsons CREATING new asset name [sc1] in package [testScenarioRun]
INFO 20-10 17:29:22,810 (ServiceImplementation.java:checkinVersion:578)
USER:alan_parsons CHECKING IN asset: [sc1] UUID: [49ece8ad-e72a-4f9c-8381-f78108e99a23]
ARCHIVED [false]
42
42
42
Time taken for runScenariosInPackage 203
INFO 20-10 17:29:33,986 (ServiceImplementation.java:createCategory:191)
USER:alan_parsons CREATING cateogory: [decisiontables] in path [/]
INFO 20-10 17:29:34,167 (ServiceImplementation.java:createNewRule:219)
USER:alan_parsons CREATING new asset name [decTable] in package [testGuidedDTCompile]
INFO 20-10 17:29:34,194 (ServiceImplementation.java:checkinVersion:578)
USER:alan_parsons CHECKING IN asset: [decTable] UUID:
[738046a2-92c3-4f2b-9efd-ada6be51d7f1] ARCHIVED [false]
{}
INFO 20-10 17:29:34,359 (ServiceImplementation.java:updateUserPermissions:2021)
Updating user permissions for userName [googoo] to [{}]
Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.884 sec
Results :
Failed tests:
testPackageConfigWithErrors(org.drools.guvnor.server.builder.ContentPackageAssemblerTest)
testLoadDSLs(org.drools.guvnor.server.rules.BRMSSuggestionCompletionLoaderTest)
Tests run: 211, Failures: 2, 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: 14 minutes 29 seconds
[INFO] Finished at: Mon Oct 20 17:29:34 EDT 2008
[INFO] Final Memory: 50M/977M
[INFO] ------------------------------------------------------------------------
Terminating xvnc
[drools] $ vncserver -kill :13
Killing Xvnc process ID 18321
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