[Hippo-cms7-dev] [Hudson] Build failed in Hudson: Repository Integration Trunk #675

Hippo Integration Hudson Server beheer at onehippo.com
Wed Sep 18 09:57:25 CEST 2013


See <https://integration.onehippo.com/job/Repository%20Integration%20Trunk/675/changes>

Changes:

[Frank van Lankvelt] REPO-754: only version unpublished

The handle, draft and published variants are no longer versionable.  Only the unpublished is versioned.
Two types of version are currently supported, the version-on-publish and the version-on-depublish.
They can be distinguished by the stateSummary property on the version.

The state summary derived data function has been somewhat simplified.

VersionWorkflow#restore(Calendar, Map) has been marked deprecated.  AFAICS, it was only used internally in the version workflow implementation itself.  Since that mechanism has now changed (no longer explicit knowledge about the unpublished variant), supporting the replacements seemed pure overhead.

[Unico Hommes] REPO-753 make the fact that the updater engine is deprecated explicit in the name of the module

------------------------------------------
[...truncated 883 lines...]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 16 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ hippo-repository-workflow ---
[INFO] Compiling 13 source files to <https://integration.onehippo.com/job/Repository%20Integration%20Trunk/ws/workflow/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hippo-repository-workflow ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 10 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ hippo-repository-workflow ---
[INFO] Compiling 9 source files to <https://integration.onehippo.com/job/Repository%20Integration%20Trunk/ws/workflow/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ hippo-repository-workflow ---
[INFO] Surefire report directory: <https://integration.onehippo.com/job/Repository%20Integration%20Trunk/ws/workflow/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.hippoecm.repository.CopyTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.012 sec
Running org.hippoecm.repository.reviewedactions.ReviewedActionsWorkflowTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.004 sec
Running org.hippoecm.repository.reviewedactions.VersioningWorkflowTest
jcr:frozenNode [depth=8,type=nt:frozenNode,uuid=6b248d2a-0486-4793-a656-a914ba56c628,path=/jcr:system/jcr:versionStorage/da/29/41/da29416d-0b11-4dca-8f66-e9c96ebf9ba3/1.0/jcr:frozenNode,id=6b248d2a-0486-4793-a656-a914ba56c628]
- hippo:related = { 11053b08-0a3f-4b6d-8898-039df65d2a15 } 
- jcr:frozenPrimaryType = hippo:document
- hippostdpubwf:lastModifiedBy = admin
- hippostd:holder = admin
- jcr:frozenMixinTypes = { hippostdpubwf:document, hippo:harddocument, hippostd:languageable, hippostd:publishableSummary } 
- jcr:frozenUuid = da29416d-0b11-4dca-8f66-e9c96ebf9ba3
- hippostdpubwf:createdBy = admin
- hippostd:stateSummary = live
- hippostd:language = ab
- hippostdpubwf:lastModificationDate = 2013-09-18T09:51:04.475+02:00
- hippostd:state = unpublished
- hippostdpubwf:creationDate = 2010-02-04T16:32:28.068+02:00
versiondocument [depth=3,type=hippo:document,uuid=da29416d-0b11-4dca-8f66-e9c96ebf9ba3,path=/test/versiondocument/versiondocument,id=da29416d-0b11-4dca-8f66-e9c96ebf9ba3]
- jcr:mixinTypes = { hippostdpubwf:document, hippo:harddocument, hippostd:languageable, hippostd:publishableSummary } 
- jcr:baseVersion = b0c0b90e-852a-4f99-acdc-100516951fd3
- jcr:isCheckedOut = true
- jcr:predecessors = { b0c0b90e-852a-4f99-acdc-100516951fd3 } 
- jcr:versionHistory = 54426598-1a7b-4266-9fa0-28d65c404e2d
versiondocument [depth=3,type=hippo:document,uuid=da29416d-0b11-4dca-8f66-e9c96ebf9ba3,path=/test/versiondocument/versiondocument,id=da29416d-0b11-4dca-8f66-e9c96ebf9ba3]
- hippo:related = { 11053b08-0a3f-4b6d-8898-039df65d2a15 } 
- jcr:mixinTypes = { hippostdpubwf:document, hippo:harddocument, hippostd:languageable, hippostd:publishableSummary } 
- hippostdpubwf:lastModifiedBy = admin
- hippostd:holder = admin
- jcr:baseVersion = b0c0b90e-852a-4f99-acdc-100516951fd3
- jcr:isCheckedOut = true
- hippostd:stateSummary = live
- hippostdpubwf:createdBy = admin
- jcr:predecessors = { b0c0b90e-852a-4f99-acdc-100516951fd3 } 
- hippostd:language = ab
- hippostdpubwf:lastModificationDate = 2013-09-18T09:51:04.475+02:00
- jcr:versionHistory = 54426598-1a7b-4266-9fa0-28d65c404e2d
- hippostd:state = unpublished
- hippostdpubwf:creationDate = 2010-02-04T16:32:28.068+02:00
jcr:frozenNode [depth=8,type=nt:frozenNode,uuid=6b248d2a-0486-4793-a656-a914ba56c628,path=/jcr:system/jcr:versionStorage/da/29/41/da29416d-0b11-4dca-8f66-e9c96ebf9ba3/1.0/jcr:frozenNode,id=6b248d2a-0486-4793-a656-a914ba56c628]
- hippo:related = { 11053b08-0a3f-4b6d-8898-039df65d2a15 } 
- jcr:frozenPrimaryType = hippo:document
- hippostdpubwf:lastModifiedBy = admin
- hippostd:holder = admin
- jcr:frozenMixinTypes = { hippostdpubwf:document, hippo:harddocument, hippostd:languageable, hippostd:publishableSummary } 
- jcr:frozenUuid = da29416d-0b11-4dca-8f66-e9c96ebf9ba3
- hippostdpubwf:createdBy = admin
- hippostd:stateSummary = live
- hippostd:language = ab
- hippostdpubwf:lastModificationDate = 2013-09-18T09:51:04.475+02:00
- hippostd:state = unpublished
- hippostdpubwf:creationDate = 2010-02-04T16:32:28.068+02:00
versiondocument [depth=3,type=hippo:document,uuid=da29416d-0b11-4dca-8f66-e9c96ebf9ba3,path=/test/versiondocument/versiondocument,id=da29416d-0b11-4dca-8f66-e9c96ebf9ba3]
- jcr:mixinTypes = { hippostdpubwf:document, hippo:harddocument, hippostd:languageable, hippostd:publishableSummary } 
- jcr:baseVersion = 7c871a4e-2ee3-46df-8529-0afb06d8169b
- jcr:isCheckedOut = true
- jcr:predecessors = { 7c871a4e-2ee3-46df-8529-0afb06d8169b } 
- jcr:versionHistory = 54426598-1a7b-4266-9fa0-28d65c404e2d
versiondocument [depth=3,type=hippo:document,uuid=da29416d-0b11-4dca-8f66-e9c96ebf9ba3,path=/test/versiondocument/versiondocument,id=da29416d-0b11-4dca-8f66-e9c96ebf9ba3]
- hippo:related = { 11053b08-0a3f-4b6d-8898-039df65d2a15 } 
- jcr:mixinTypes = { hippostdpubwf:document, hippo:harddocument, hippostd:languageable, hippostd:publishableSummary } 
- hippostdpubwf:lastModifiedBy = admin
- hippostd:holder = admin
- jcr:baseVersion = 7c871a4e-2ee3-46df-8529-0afb06d8169b
- jcr:isCheckedOut = true
- hippostd:stateSummary = live
- hippostdpubwf:createdBy = admin
- jcr:predecessors = { 7c871a4e-2ee3-46df-8529-0afb06d8169b } 
- hippostd:language = ab
- hippostdpubwf:lastModificationDate = 2013-09-18T09:51:04.475+02:00
- jcr:versionHistory = 54426598-1a7b-4266-9fa0-28d65c404e2d
- hippostd:state = unpublished
- hippostdpubwf:creationDate = 2010-02-04T16:32:28.068+02:00
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.24 sec
Running org.hippoecm.repository.reviewedactions.FailingWorkflowTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.98 sec
Running org.hippoecm.repository.reviewedactions.WorkflowAuthorizationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.764 sec
Running org.hippoecm.faceteddate.DerivedDateTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.136 sec

Results :

Tests run: 22, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ hippo-repository-workflow ---
[INFO] Building jar: <https://integration.onehippo.com/job/Repository%20Integration%20Trunk/ws/workflow/target/hippo-repository-workflow-2.25.04-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ hippo-repository-workflow ---
[INFO] Building jar: <https://integration.onehippo.com/job/Repository%20Integration%20Trunk/ws/workflow/target/hippo-repository-workflow-2.25.04-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-failsafe-plugin:2.16:integration-test (integration-test) @ hippo-repository-workflow ---
[INFO] Failsafe report directory: <https://integration.onehippo.com/job/Repository%20Integration%20Trunk/ws/workflow/target/failsafe-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.hippoecm.repository.reviewedactions.AcceptRequestTest
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 331.376 sec <<< FAILURE! - in org.hippoecm.repository.reviewedactions.AcceptRequestTest
testScheduledPublication(org.hippoecm.repository.reviewedactions.AcceptRequestTest)  Time elapsed: 315.216 sec  <<< ERROR!
javax.jcr.ValueFormatException: property /test/myarticle/myarticle[2]/hippostd:stateSummary is a single-valued property, so it's value can not be retrieved as an array
	at org.apache.jackrabbit.core.PropertyImpl.internalGetValues(PropertyImpl.java:467)
	at org.apache.jackrabbit.core.PropertyImpl.getValues(PropertyImpl.java:500)
	at org.hippoecm.repository.decorating.PropertyDecorator.getValues(PropertyDecorator.java:137)
	at org.hippoecm.repository.reviewedactions.AcceptRequestTest.testScheduledPublication(AcceptRequestTest.java:187)

Running org.hippoecm.repository.translation.TranslationWorkflowTest
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.628 sec <<< FAILURE! - in org.hippoecm.repository.translation.TranslationWorkflowTest
testTranslatedFolderIsEmpty(org.hippoecm.repository.translation.TranslationWorkflowTest)  Time elapsed: 0.06 sec  <<< ERROR!
javax.jcr.nodetype.ConstraintViolationException: Unable to perform operation. Node is protected.
	at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:276)
	at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:248)
	at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:278)
	at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:726)
	at org.apache.jackrabbit.core.NodeImpl$SetPropertyOperation.perform(NodeImpl.java:2054)
	at org.apache.jackrabbit.core.NodeImpl$SetPropertyOperation.perform(NodeImpl.java:1998)
	at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:1920)
	at org.hippoecm.repository.decorating.NodeDecorator.setProperty(NodeDecorator.java:101)
	at org.hippoecm.repository.util.JcrUtils.copyTo(JcrUtils.java:629)
	at org.hippoecm.repository.util.JcrUtils.copy(JcrUtils.java:609)
	at org.hippoecm.repository.util.JcrUtils.copyTo(JcrUtils.java:636)
	at org.hippoecm.repository.util.JcrUtils.copy(JcrUtils.java:609)
	at org.hippoecm.repository.translation.TranslationWorkflowTest.testTranslatedFolderIsEmpty(TranslationWorkflowTest.java:159)


Results :

Tests in error: 
  AcceptRequestTest.testScheduledPublication:187 ? ValueFormat property /test/my...
  TranslationWorkflowTest.testTranslatedFolderIsEmpty:159 ? ConstraintViolation ...

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

[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] 
[INFO] --- maven-failsafe-plugin:2.16:verify (integration-test) @ hippo-repository-workflow ---
[INFO] Failsafe report directory: <https://integration.onehippo.com/job/Repository%20Integration%20Trunk/ws/workflow/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Repository ........................................ SUCCESS [2.604s]
[INFO] Repository API .................................... SUCCESS [4.840s]
[INFO] Repository Utilities .............................. SUCCESS [1.824s]
[INFO] Repository Connector .............................. SUCCESS [3.936s]
[INFO] Repository Provider Module Interface .............. SUCCESS [1.560s]
[INFO] Repository Test Utilities ......................... SUCCESS [3.240s]
[INFO] Repository Builtin workflow ....................... SUCCESS [0.988s]
[INFO] Repository Engine ................................. SUCCESS [2:23.928s]
[INFO] Repository Default Configuration .................. SUCCESS [15.908s]
[INFO] Repository Modules ................................ SUCCESS [21.108s]
[INFO] Repository Test Content ........................... SUCCESS [0.192s]
[INFO] Repository Deprecated ............................. SUCCESS [0.056s]
[INFO] Repository Deprecated Facetselect Mirror .......... SUCCESS [13.300s]
[INFO] Repository workflow implementations ............... FAILURE [7:02.600s]
[INFO] Repository Deprecated Translation ................. SKIPPED
[INFO] Repository Deprecated Facetsearch ................. SKIPPED
[INFO] Repository Upgrade Module ......................... SKIPPED
[INFO] Repository Upgrade ................................ SKIPPED
[INFO] Repository Handle Migration ....................... SKIPPED
[INFO] Repository Test ................................... SKIPPED
[INFO] Repository LDAP based Authorization ............... SKIPPED
[INFO] Repository Resources .............................. SKIPPED
[INFO] Repository Servlets ............................... SKIPPED
[INFO] Repository Dependencies ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10:43.668s
[INFO] Finished at: Wed Sep 18 09:57:25 CEST 2013
[INFO] Final Memory: 18M/53M
[INFO] ------------------------------------------------------------------------
[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.16:verify (integration-test) on project hippo-repository-workflow: There are test failures.

Please refer to <https://integration.onehippo.com/job/Repository%20Integration%20Trunk/ws/workflow/target/failsafe-reports> for the individual test results.
[DEBUG] Closing connection to remote
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.16:verify (integration-test) on project hippo-repository-workflow: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://integration.onehippo.com/job/Repository%20Integration%20Trunk/ws/workflow/target/failsafe-reports> for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.16:verify (integration-test) on project hippo-repository-workflow: There are test failures.

Please refer to <https://integration.onehippo.com/job/Repository%20Integration%20Trunk/ws/workflow/target/failsafe-reports> for the individual test results.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to <https://integration.onehippo.com/job/Repository%20Integration%20Trunk/ws/workflow/target/failsafe-reports> for the individual test results.
	at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82)
	at org.apache.maven.plugin.failsafe.VerifyMojo.execute(VerifyMojo.java:194)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 19 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hippo-repository-workflow
[DEBUG] Waiting for process to finish
[DEBUG] Result: 1

--
This message is automatically generated by Hudson. 
For more information on Hudson, see: http://hudson-ci.org/


More information about the Hippo-cms7-dev mailing list