See
http://hudson.qa.jboss.com/hudson/job/drools/1744/changes
Changes:
[Rikkola] 1. JBRULES-1647
2. Rules that find patterns that are always or never satisfied.
3. HTML report had some problems with layout, fixed them.
[michael.neale(a)jboss.com] GUVNOR-3 Fix for ruleflow group in technical rules
[mark.proctor(a)jboss.com] -rename back to 5.0.0.SNAPSHOT
------------------------------------------
[...truncated 26536 lines...]
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: 4.952 sec
Running org.drools.repository.ScalabilityTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec
Running org.drools.repository.security.AccessControlTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.117 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: 9.11 sec
Running org.drools.repository.CategoryItemTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.612 sec
Running org.drools.scm.svn.SvnLogTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.547 sec
Running org.drools.repository.remoteapi.ResponseTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 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.923 sec
Running org.drools.repository.AssetItemTest
Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.895 sec
Running org.drools.repository.remoteapi.RestAPITest
2008-07-04T12:36:13,1
1=2008-07-04T12:36:14,alan_parsons,This is something
2=2008-07-04T12:36:14,alan_parsons,This is another
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.804 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: 21.862 sec
Running org.drools.repository.PackageItemTest
2
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.381 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: 4.525 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] [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
snapshots.jboss.org
[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
snapshots.jboss.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
snapshots.jboss.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
snapshots.jboss.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 214 source files to
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-guvnor/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-guvnor/src/main/java/org/drools/guvnor/server/util/VerifierRunner.java:[19,38]
cannot find symbol
symbol : class VerifierClass
location: package org.drools.verifier.components
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-guvnor/src/main/java/org/drools/guvnor/server/util/VerifierRunner.java:[57,27]
cannot find symbol
symbol : class VerifierClass
location: class org.drools.guvnor.server.util.VerifierRunner
/qa/services/hudson/hudson_workspace/workspace/drools/trunk/drools-guvnor/src/main/java/org/drools/guvnor/server/util/VerifierRunner.java:[58,21]
cannot find symbol
symbol : class VerifierClass
location: class org.drools.guvnor.server.util.VerifierRunner
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 minutes 50 seconds
[INFO] Finished at: Fri Jul 04 12:37:23 EDT 2008
[INFO] Final Memory: 29M/94M
[INFO] ------------------------------------------------------------------------
Terminating xvnc
[drools] $ vncserver -kill :39
Killing Xvnc process ID 5126
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