See
http://hudson.qa.jboss.com/hudson/job/drools/1727/changes
Changes:
[arhan] corrected the interface
[arhan] added a gwt-dev-{platform}.jar to hosted mode
[arhan] the common interface class added for content editors
------------------------------------------
[...truncated 19152 lines...]
when
#conditions
then
#actions
end
#This is a starter DSL to show off some of the features. Make sure you change it to be
what you need !.
[when]There is an Instance with field of "{value}"=i:
Instance(field=="{value}")
[when]Instance is at least {number} and field is "{value}"=i: Instance(number
> {number}, location=="{value}")
[then]Log : "{message}"=System.out.println("{message}");
[then]Set field of instance to "{value}"=i.setField("{value}");
[then]Create instance : "{value}"=assert(new Instance("{value}"));
[when]There is no current Instance with field : "{value}"=not Instance(field ==
"{value}")
[then]Report error : "{error}"=System.err.println("{error}");
[then]Retract the fact : '{variable}'=retract({variable}); //this would retract
bound variable {variable}
#This is a starter DSL to show off some of the features. Make sure you change it to be
what you need !.
[when]There is an Instance with field of "{value}"=i:
Instance(field=="{value}")
[when]Instance is at least {number} and field is "{value}"=i: Instance(number
> {number}, location=="{value}")
[then]Log : "{message}"=System.out.println("{message}");
[then]Set field of instance to "{value}"=i.setField("{value}");
[then]Create instance : "{value}"=assert(new Instance("{value}"));
[when]There is no current Instance with field : "{value}"=not Instance(field ==
"{value}")
[then]Report error : "{error}"=System.err.println("{error}");
[then]Retract the fact : '{variable}'=retract({variable}); //this would retract
bound variable {variable}
This is a rules function
This is a rules function
This is a test rule
This is a test rule
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.577 sec
Running org.drools.repository.ScalabilityTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running org.drools.repository.security.AccessControlTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.674 sec
Running org.drools.scm.svn.SvnActionFactoryTest
org.tmatesoft.svn.core.SVNException: svn: Path 'folder1' not present
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:49)
at org.tmatesoft.svn.core.internal.io.fs.FSCommitEditor.openDir(FSCommitEditor.java:115)
at org.drools.scm.svn.SvnActionFactory.openDirectories(SvnActionFactory.java:631)
at
org.drools.scm.svn.SvnActionFactory$AddDirectory.applyAction(SvnActionFactory.java:333)
at org.drools.scm.CompositeScmAction.applyAction(CompositeScmAction.java:33)
at org.drools.scm.svn.SvnActionFactory.execute(SvnActionFactory.java:265)
at
org.drools.scm.svn.SvnActionFactoryTest.testCannotAddDirectoryWithNoParent(SvnActionFactoryTest.java:79)
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)
org.tmatesoft.svn.core.SVNException: svn: File already exists: filesystem
'/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-repository/target/test-classes/copy_svn_repo_empty/db',
transaction '1-1', path '/folder1'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:49)
at org.tmatesoft.svn.core.internal.io.fs.FSCommitter.makeDir(FSCommitter.java:166)
at org.tmatesoft.svn.core.internal.io.fs.FSCommitEditor.addDir(FSCommitEditor.java:164)
at
org.drools.scm.svn.SvnActionFactory$AddDirectory.applyAction(SvnActionFactory.java:340)
at org.drools.scm.CompositeScmAction.applyAction(CompositeScmAction.java:33)
at org.drools.scm.svn.SvnActionFactory.execute(SvnActionFactory.java:265)
at
org.drools.scm.svn.SvnActionFactoryTest.testCannotAddDuplicateDirectories(SvnActionFactoryTest.java:109)
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: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.757 sec
Running org.drools.repository.CategoryItemTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.462 sec
Running org.drools.scm.svn.SvnLogTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.331 sec
Running org.drools.repository.remoteapi.ResponseTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
Running org.drools.repository.ArchiveItemTest
Content of rule item named 'testArchiveBooleanFlag':
Content:
------
Archived: true
------
Date Effective: null
Date Expired: null
------
Rule state: Draft
------
Rule tags:
--------------
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.558 sec
Running org.drools.repository.AssetItemTest
Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.76 sec
Running org.drools.repository.remoteapi.RestAPITest
2008-07-01T01:12:01,1
0=2008-07-01T01:12:01,alan_parsons,
1=2008-07-01T01:12:01,alan_parsons,This is something
2=2008-07-01T01:12:02,alan_parsons,This is another
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.711 sec
Running org.drools.repository.RulesRepositoryTest
defaultPackage
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
testAddFiles.package
testListPackagesblah
testListPackages2blah1
testListPackages2blah3
testListPackages2blah7
testPagination
testDublinCore
testRestGetBasics
testRestGetVersionHistory
testRestPost
testPostNewPackage
testRestPut
testRestDelete
1
1
Clearing rules repository
Clearing rules repository
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.304 sec
Running org.drools.repository.PackageItemTest
2
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.325 sec
Running org.drools.repository.migration.MigrateDroolsPackageTest
AUTO MIGRATION: Performing drools.package migration...
AUTO MIGRATION: drools.package migration completed.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.515 sec
Results :
Tests run: 122, 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 :: Guvnor
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-guvnor/target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.jboss.seam:jboss-seam-remoting:2.1.0-SNAPSHOT: checking for updates
from codehaus-snapshot
[INFO] snapshot org.jboss.seam:jboss-seam-remoting:2.1.0-SNAPSHOT: checking for updates
from maven-snapshots
[INFO] snapshot org.jboss.seam:jboss-seam-remoting:2.1.0-SNAPSHOT: checking for updates
from
apache.org
[INFO] snapshot org.jboss.seam:parent:2.1.0-SNAPSHOT: checking for updates from
codehaus-snapshot
[INFO] snapshot org.jboss.seam:parent:2.1.0-SNAPSHOT: checking for updates from
maven-snapshots
[INFO] snapshot org.jboss.seam:parent:2.1.0-SNAPSHOT: checking for updates from
apache.org
[INFO] snapshot org.jboss.seam:root:2.1.0-SNAPSHOT: checking for updates from
codehaus-snapshot
[INFO] snapshot org.jboss.seam:root:2.1.0-SNAPSHOT: checking for updates from
maven-snapshots
[INFO] snapshot org.jboss.seam:root:2.1.0-SNAPSHOT: checking for updates from
apache.org
[INFO] snapshot org.jboss.seam:jboss-seam:2.1.0-SNAPSHOT: checking for updates from
codehaus-snapshot
[INFO] snapshot org.jboss.seam:jboss-seam:2.1.0-SNAPSHOT: checking for updates from
maven-snapshots
[INFO] snapshot org.jboss.seam:jboss-seam:2.1.0-SNAPSHOT: checking for updates from
apache.org
[INFO] snapshot org.jboss.el:jboss-el:2.0.2-SNAPSHOT: checking for updates from
snapshots.jboss.org
[INFO] snapshot org.jboss.el:jboss-el:2.0.2-SNAPSHOT: checking for updates from
codehaus-snapshot
[INFO] snapshot org.jboss.el:jboss-el:2.0.2-SNAPSHOT: checking for updates from
maven-snapshots
[INFO] snapshot org.jboss.el:jboss-el:2.0.2-SNAPSHOT: checking for updates from
apache.org
[INFO] [compiler:compile]
[INFO] Compiling 232 source files to
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-guvnor/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 53 source files to
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-guvnor/target/test-classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-guvnor/src/test/java/org/drools/guvnor/client/ruleeditor/EditorLauncherTest.java:[28,36]
cannot find symbol
symbol : variable TYPE_IMAGES
location: interface org.drools.guvnor.client.ruleeditor.EditorLauncher
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-guvnor/src/test/java/org/drools/guvnor/client/ruleeditor/EditorLauncherTest.java:[29,36]
non-static method getAssetFormatIcon(java.lang.String) cannot be referenced from a static
context
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-guvnor/src/test/java/org/drools/guvnor/client/ruleeditor/EditorLauncherTest.java:[30,36]
non-static method getAssetFormatIcon(java.lang.String) cannot be referenced from a static
context
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-guvnor/src/test/java/org/drools/guvnor/client/ruleeditor/EditorLauncherTest.java:[31,54]
non-static method getAssetFormatIcon(java.lang.String) cannot be referenced from a static
context
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 minutes 1 second
[INFO] Finished at: Tue Jul 01 01:12:47 EDT 2008
[INFO] Final Memory: 34M/106M
[INFO] ------------------------------------------------------------------------
Terminating xvnc
[drools] $ vncserver -kill :25
Killing Xvnc process ID 21823
Recording test results