Build failed in Hudson: drools #2612

jboss-qa-internal at redhat.com jboss-qa-internal at redhat.com
Thu Feb 19 09:10:46 EST 2009


See http://hudson.qa.jboss.com/hudson/job/drools/2612/

------------------------------------------
[...truncated 37938 lines...]
UUID: bb20da50-07c7-4dbd-9470-169eb26a4182

ERROR 19-02 09:10:27,391 (ServiceImplementation.java:rebuildPackages:2151) 	 java.lang.NullPointerException
WARN  19-02 09:10:27,680 (ServiceImplementation.java:rebuildPackages:2147) 	 Asset: anAsset.drl
Message: [ERR 101] Line 3:0 no viable alternative at input 'garbage' in rule 'anAsset' in rule attribute
UUID: 88904d7a-a610-43c2-8c8c-649973e20212

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  19-02 09:10:27,746 (ServiceImplementation.java:createCategory:196) 	 USER:alan_parsons CREATING cateogory: [testRemoveCategory] in path [/]
INFO  19-02 09:10:27,748 (ServiceImplementation.java:removeCategory:1312) 	 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  19-02 09:10:27,756 (ServiceImplementation.java:createCategory:196) 	 USER:alan_parsons CREATING cateogory: [testRemoveAsset] in path [/]
INFO  19-02 09:10:27,758 (ServiceImplementation.java:createPackage:744) 	 USER:alan_parsons CREATING package [testRemoveAsset]
INFO  19-02 09:10:27,802 (ServiceImplementation.java:createNewRule:226) 	 USER:alan_parsons CREATING new asset name [testRemoveAsset] in package [testRemoveAsset]
INFO  19-02 09:10:27,814 (ServiceImplementation.java:createNewRule:226) 	 USER:alan_parsons CREATING new asset name [testRemoveAsset2] in package [testRemoveAsset]
INFO  19-02 09:10:27,829 (ServiceImplementation.java:createNewRule:226) 	 USER:alan_parsons CREATING new asset name [testRemoveAsset3] in package [testRemoveAsset]
INFO  19-02 09:10:27,841 (ServiceImplementation.java:createNewRule:226) 	 USER:alan_parsons CREATING new asset name [testRemoveAsset4] in package [testRemoveAsset]
DEBUG 19-02 09:10:27,863 (ServiceImplementation.java:listAssets:877) 	 Loading asset list for [05f9a514-47fe-4794-817b-698817681929]
DEBUG 19-02 09:10:27,874 (ServiceImplementation.java:listAssets:891) 	 time for asset list load: 11
DEBUG 19-02 09:10:27,881 (ServiceImplementation.java:listAssets:877) 	 Loading asset list for [05f9a514-47fe-4794-817b-698817681929]
DEBUG 19-02 09:10:27,890 (ServiceImplementation.java:listAssets:891) 	 time for asset list load: 8
INFO  19-02 09:10:27,963 (ServiceImplementation.java:createCategory:196) 	 USER:alan_parsons CREATING cateogory: [testArchiveAsset] in path [/]
INFO  19-02 09:10:27,966 (ServiceImplementation.java:createPackage:744) 	 USER:alan_parsons CREATING package [testArchiveAsset]
INFO  19-02 09:10:28,022 (ServiceImplementation.java:createNewRule:226) 	 USER:alan_parsons CREATING new asset name [testArchiveAsset] in package [testArchiveAsset]
INFO  19-02 09:10:28,033 (ServiceImplementation.java:createNewRule:226) 	 USER:alan_parsons CREATING new asset name [testArchiveAsset2] in package [testArchiveAsset]
INFO  19-02 09:10:28,047 (ServiceImplementation.java:createNewRule:226) 	 USER:alan_parsons CREATING new asset name [testArchiveAsset3] in package [testArchiveAsset]
INFO  19-02 09:10:28,062 (ServiceImplementation.java:createNewRule:226) 	 USER:alan_parsons CREATING new asset name [testArchiveAsset4] in package [testArchiveAsset]
DEBUG 19-02 09:10:28,080 (ServiceImplementation.java:listAssets:877) 	 Loading asset list for [300894a7-aed5-4454-85cc-22fcc40e7501]
DEBUG 19-02 09:10:28,092 (ServiceImplementation.java:listAssets:891) 	 time for asset list load: 11
DEBUG 19-02 09:10:28,119 (ServiceImplementation.java:listAssets:877) 	 Loading asset list for [300894a7-aed5-4454-85cc-22fcc40e7501]
DEBUG 19-02 09:10:28,125 (ServiceImplementation.java:listAssets:891) 	 time for asset list load: 6
DEBUG 19-02 09:10:28,137 (ServiceImplementation.java:listAssets:877) 	 Loading asset list for [300894a7-aed5-4454-85cc-22fcc40e7501]
DEBUG 19-02 09:10:28,147 (ServiceImplementation.java:listAssets:891) 	 time for asset list load: 10
INFO  19-02 09:10:28,149 (ServiceImplementation.java:createCategory:196) 	 USER:alan_parsons CREATING cateogory: [testArchiveAssetWhenParentPackageArchived] in path [/]
INFO  19-02 09:10:28,152 (ServiceImplementation.java:createPackage:744) 	 USER:alan_parsons CREATING package [testArchiveAssetWhenParentPackageArchived]
INFO  19-02 09:10:28,205 (ServiceImplementation.java:createNewRule:226) 	 USER:alan_parsons CREATING new asset name [testArchiveAssetWhenParentPackageArchived] in package [testArchiveAssetWhenParentPackageArchived]
INFO  19-02 09:10:28,224 (ServiceImplementation.java:createNewRule:226) 	 USER:alan_parsons CREATING new asset name [testArchiveAssetWhenParentPackageArchived2] in package [testArchiveAssetWhenParentPackageArchived]
INFO  19-02 09:10:28,236 (ServiceImplementation.java:createNewRule:226) 	 USER:alan_parsons CREATING new asset name [testArchiveAssetWhenParentPackageArchived3] in package [testArchiveAssetWhenParentPackageArchived]
INFO  19-02 09:10:28,255 (ServiceImplementation.java:createNewRule:226) 	 USER:alan_parsons CREATING new asset name [testArchiveAssetWhenParentPackageArchived4] in package [testArchiveAssetWhenParentPackageArchived]
DEBUG 19-02 09:10:28,272 (ServiceImplementation.java:listAssets:877) 	 Loading asset list for [17c4a6e0-cab4-42c8-8dcf-daa108773129]
DEBUG 19-02 09:10:28,286 (ServiceImplementation.java:listAssets:891) 	 time for asset list load: 14
DEBUG 19-02 09:10:28,317 (ServiceImplementation.java:listAssets:877) 	 Loading asset list for [17c4a6e0-cab4-42c8-8dcf-daa108773129]
DEBUG 19-02 09:10:28,323 (ServiceImplementation.java:listAssets:891) 	 time for asset list load: 5
ERROR 19-02 09:10:28,324 (ServiceImplementation.java:archiveAsset:1598) 	 org.drools.repository.RulesRepositoryException: The package [testArchiveAssetWhenParentPackageArchived] that asset [testArchiveAssetWhenParentPackageArchived4] belongs to is archived. You need to unarchive it first.
DEBUG 19-02 09:10:28,324 (ServiceImplementation.java:listAssets:877) 	 Loading asset list for [17c4a6e0-cab4-42c8-8dcf-daa108773129]
DEBUG 19-02 09:10:28,329 (ServiceImplementation.java:listAssets:891) 	 time for asset list load: 5
INFO  19-02 09:10:28,331 (ServiceImplementation.java:createPackage:744) 	 USER:alan_parsons CREATING package [testSuggestionComp]
INFO  19-02 09:10:28,556 (ServiceImplementation.java:createPackageSnapshot:1204) 	 USER:alan_parsons CREATING PACKAGE SNAPSHOT for package: [testBinaryPackageCompile] snapshot name: [SNAP1
DEBUG 19-02 09:10:28,556 (RulesRepository.java:createPackageSnapshot:462) 	 Creating snapshot for [testBinaryPackageCompile] called [SNAP1]
INFO  19-02 09:10:28,964 (ServiceImplementation.java:createPackageSnapshot:1204) 	 USER:alan_parsons CREATING PACKAGE SNAPSHOT for package: [testBinaryPackageCompileBRL] snapshot name: [SNAP1
DEBUG 19-02 09:10:28,965 (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 ....}]
             ^
[Line: 1, Column: 0]
	at org.mvel2.compiler.ExpressionCompiler.compile(ExpressionCompiler.java:75)
	at org.drools.base.mvel.MVELCompilationUnit.compile(MVELCompilationUnit.java:358)
	at org.drools.base.mvel.MVELCompilationUnit.getCompiledExpression(MVELCompilationUnit.java:283)
	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:86)
	at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:1191)
	at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:662)
	at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:284)
	at org.drools.guvnor.server.contenthandler.BRLContentHandler.compile(BRLContentHandler.java:58)
	at org.drools.guvnor.server.builder.ContentPackageAssembler.buildAsset(ContentPackageAssembler.java:198)
	at org.drools.guvnor.server.builder.ContentPackageAssembler.buildPackage(ContentPackageAssembler.java:185)
	at org.drools.guvnor.server.builder.ContentPackageAssembler.<init>(ContentPackageAssembler.java:104)
	at org.drools.guvnor.server.builder.ContentPackageAssembler.<init>(ContentPackageAssembler.java:117)
	at org.drools.guvnor.server.ServiceImplementation.buildPackage(ServiceImplementation.java:1380)
	at org.drools.guvnor.server.ServiceImplementation.buildPackage(ServiceImplementation.java:1364)
	at org.drools.guvnor.server.ServiceImplementationTest.testBinaryPackageCompileAndExecuteWithBRXML(ServiceImplementationTest.java:1284)
	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)
DEBUG 19-02 09:10:29,176 (ServiceImplementation.java:loadRuleAsset:484) 	 Load time taken for asset: 1
INFO  19-02 09:10:29,176 (ServiceImplementation.java:checkinVersion:593) 	 USER:alan_parsons CHECKING IN asset: [testSetRuleName] UUID: [90881870-1c8f-4bb4-84a8-df84563f6ecf]  ARCHIVED [false]
DEBUG 19-02 09:10:29,197 (ServiceImplementation.java:loadRuleAsset:484) 	 Load time taken for asset: 2
DEBUG 19-02 09:10:29,507 (ServiceImplementation.java:loadRuleAsset:484) 	 Load time taken for asset: 1
DEBUG 19-02 09:10:29,566 (ServiceImplementation.java:loadRuleAsset:484) 	 Load time taken for asset: 0
DEBUG 19-02 09:10:30,518 (ServiceImplementation.java:loadRuleAsset:484) 	 Load time taken for asset: 0
DEBUG 19-02 09:10:30,567 (ServiceImplementation.java:loadRuleAsset:484) 	 Load time taken for asset: 0
DEBUG 19-02 09:10:30,687 (ServiceImplementation.java:loadRuleAsset:484) 	 Load time taken for asset: 0
DEBUG 19-02 09:10:30,859 (ServiceImplementation.java:loadRuleAsset:484) 	 Load time taken for asset: 0
DEBUG 19-02 09:10:30,951 (ServiceImplementation.java:loadRuleAsset:484) 	 Load time taken for asset: 0
INFO  19-02 09:10:31,042 (ServiceImplementation.java:createCategory:196) 	 USER:alan_parsons CREATING cateogory: [brl] in path [/]
INFO  19-02 09:10:31,044 (ServiceImplementation.java:createNewRule:226) 	 USER:alan_parsons CREATING new asset name [testBRL] in package [testBuildAssetBRL]
DEBUG 19-02 09:10:31,060 (ServiceImplementation.java:loadRuleAsset:484) 	 Load time taken for asset: 0
INFO  19-02 09:10:31,060 (ServiceImplementation.java:checkinVersion:593) 	 USER:alan_parsons CHECKING IN asset: [testBRL] UUID: [b2821d0f-b266-473b-b825-05fc7bef82fe]  ARCHIVED [false]
DEBUG 19-02 09:10:31,164 (ServiceImplementation.java:loadRuleAsset:484) 	 Load time taken for asset: 5
DEBUG 19-02 09:10:31,315 (ServiceImplementation.java:loadRuleAsset:484) 	 Load time taken for asset: 1
DEBUG 19-02 09:10:31,824 (ServiceImplementation.java:loadRuleAsset:484) 	 Load time taken for asset: 1
INFO  19-02 09:10:31,824 (ServiceImplementation.java:checkinVersion:593) 	 USER:alan_parsons CHECKING IN asset: [rule_1] UUID: [29471002-986f-4e55-97dc-fde2e25d9d1d]  ARCHIVED [false]
INFO  19-02 09:10:31,912 (ServiceImplementation.java:savePackage:825) 	 USER:alan_parsons SAVING package [testBinaryPackageUpToDate]
INFO  19-02 09:10:32,355 (ServiceImplementation.java:createCategory:196) 	 USER:alan_parsons CREATING cateogory: [sc] in path [/]
INFO  19-02 09:10:32,358 (ServiceImplementation.java:createNewRule:226) 	 USER:alan_parsons CREATING new asset name [sc1] in package [testScenarioRun]
DEBUG 19-02 09:10:32,392 (ServiceImplementation.java:loadRuleAsset:484) 	 Load time taken for asset: 5
INFO  19-02 09:10:32,393 (ServiceImplementation.java:checkinVersion:593) 	 USER:alan_parsons CHECKING IN asset: [sc1] UUID: [2fa58ed5-9b31-4ed7-8025-1cc75383bac6]  ARCHIVED [false]
DEBUG 19-02 09:10:32,497 (ServiceImplementation.java:loadRuleAsset:484) 	 Load time taken for asset: 4
42
42
42
Time taken for runScenariosInPackage 155
INFO  19-02 09:10:37,477 (ServiceImplementation.java:createCategory:196) 	 USER:alan_parsons CREATING cateogory: [decisiontables] in path [/]
INFO  19-02 09:10:37,554 (ServiceImplementation.java:createNewRule:226) 	 USER:alan_parsons CREATING new asset name [decTable] in package [testGuidedDTCompile]
DEBUG 19-02 09:10:37,579 (ServiceImplementation.java:loadRuleAsset:484) 	 Load time taken for asset: 1
INFO  19-02 09:10:37,579 (ServiceImplementation.java:checkinVersion:593) 	 USER:alan_parsons CHECKING IN asset: [decTable] UUID: [7cedb5aa-7720-45ed-abb1-c9c901b4bbec]  ARCHIVED [false]
{}
INFO  19-02 09:10:37,752 (ServiceImplementation.java:updateUserPermissions:2194) 	 Updating user permissions for userName [googoo] to [{}]
DEBUG 19-02 09:10:37,757 (RulesRepositoryAdministrator.java:clearRulesRepository:63) 	 Clearing repository database. UserId=alan_parsons
Clearing rules repository
Tests run: 55, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.551 sec

Results :

Tests in error: 
  testLoadConfProperties(org.drools.guvnor.server.builder.ContentPackageAssemblerTest)
  testDefaultCompiler(org.drools.guvnor.server.builder.BRMSPackageBuilderTest)

Tests run: 222, Failures: 0, Errors: 2, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to http://hudson.qa.jboss.com/hudson/job/drools/ws/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: 10 minutes 22 seconds
[INFO] Finished at: Thu Feb 19 09:10:40 EST 2009
[INFO] Final Memory: 61M/1005M
[INFO] ------------------------------------------------------------------------
Terminating xvnc
[drools] $ vncserver -kill :10
Killing Xvnc process ID 32702
Recording test results




More information about the builds mailing list