OpenCMIS TCK Report
Fri Jul 18 15:35:01 JST 2014
Parameters
cmis.workbench.folder.filter | cmis:isVersionSeriesCheckedOut,cmis:contentStreamLength,cmis:lastModifiedBy,cmis:objectTypeId,cmis:versionSeriesCheckedOutId,cmis:createdBy,cmis:name,cmis:contentStreamMimeType,cmis:objectId,cmis:creationDate,cmis:lastModificationDate,cmis:contentStreamFileName |
cmis.workbench.folder.includeAcls | false |
cmis.workbench.folder.includeAllowableActions | false |
cmis.workbench.folder.includePolicies | false |
cmis.workbench.folder.includeRelationships | none |
cmis.workbench.folder.maxItemsPerPage | 10000 |
cmis.workbench.folder.orderBy | |
cmis.workbench.folder.renditionFilter | cmis:none |
cmis.workbench.object.filter | * |
cmis.workbench.object.includeAcls | true |
cmis.workbench.object.includeAllowableActions | true |
cmis.workbench.object.includePolicies | true |
cmis.workbench.object.includeRelationships | both |
cmis.workbench.object.maxItemsPerPage | 1000 |
cmis.workbench.object.orderBy | |
cmis.workbench.object.renditionFilter | * |
cmis.workbench.version.filter | cmis:isLatestMajorVersion,cmis:contentStreamLength,cmis:objectTypeId,cmis:name,cmis:contentStreamMimeType,cmis:objectId,cmis:isMajorVersion,cmis:contentStreamFileName,cmis:isLatestVersion,cmis:versionLabel |
cmis.workbench.version.includeAcls | false |
cmis.workbench.version.includeAllowableActions | false |
cmis.workbench.version.includePolicies | false |
cmis.workbench.version.includeRelationships | none |
cmis.workbench.version.maxItemsPerPage | 10000 |
cmis.workbench.version.renditionFilter | cmis:none |
org.apache.chemistry.opencmis.binding.atompub.url | http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom |
org.apache.chemistry.opencmis.binding.auth.classname | org.apache.chemistry.opencmis.client.bindings.spi.StandardAuthenticationProvider |
org.apache.chemistry.opencmis.binding.auth.http.basic | true |
org.apache.chemistry.opencmis.binding.auth.soap.usernametoken | false |
org.apache.chemistry.opencmis.binding.cache.links.size | 400 |
org.apache.chemistry.opencmis.binding.cache.repositories.size | 10 |
org.apache.chemistry.opencmis.binding.cache.types.size | 100 |
org.apache.chemistry.opencmis.binding.clientcompression | false |
org.apache.chemistry.opencmis.binding.compression | true |
org.apache.chemistry.opencmis.binding.cookies | true |
org.apache.chemistry.opencmis.binding.httpinvoker.classname | org.apache.chemistry.opencmis.client.bindings.spi.http.DefaultHttpInvoker |
org.apache.chemistry.opencmis.binding.spi.classname | org.apache.chemistry.opencmis.client.bindings.spi.atompub.CmisAtomPubSpi |
org.apache.chemistry.opencmis.binding.spi.type | atompub |
org.apache.chemistry.opencmis.binding.webservices.jaxws.impl | sunjre |
org.apache.chemistry.opencmis.cache.types.classname | org.apache.chemistry.opencmis.client.bindings.impl.TypeDefinitionCacheImpl |
org.apache.chemistry.opencmis.password | ***** |
org.apache.chemistry.opencmis.session.repository.id | -default- |
org.apache.chemistry.opencmis.tck.default.documentType | cmis:document |
org.apache.chemistry.opencmis.tck.default.folderType | cmis:folder |
org.apache.chemistry.opencmis.tck.default.itemType | I:act:action |
org.apache.chemistry.opencmis.tck.default.relationshipType | R:imap:attachment |
org.apache.chemistry.opencmis.tck.default.secondaryType | cmis:secondary |
org.apache.chemistry.opencmis.tck.default.testFolderParent | / |
org.apache.chemistry.opencmis.tck.revision | 1585091 |
org.apache.chemistry.opencmis.tck.timestamp | Version: 0.11.0 / Revision: 1585091 / Build: 2014-04-07T18:51:33-0400
|
org.apache.chemistry.opencmis.user | admin |
Groups
Basics Test Group (ATOMPUB)
Basic tests.
Security Test (ATOMPUB) (30 ms)
Checks if HTTPS is used.
WARNING: HTTPS is not used. Credentials might be transferred as plain text! (
SecurityTest.java:57) [
stacktrace]
Repository Info Test (ATOMPUB) (22 ms)
Gets and checks the repository info.
Root Folder Test (ATOMPUB) (2509 ms)
Checks the root folder and its children for specification compliance.
Types Test Group (ATOMPUB)
Types tests.
Types Test (ATOMPUB) (13406 ms)
Checks all types exposed by the repository for specification compliance.
Create and Delete Type Test (ATOMPUB) (14 ms)
Creates a document type and deletes it again.
Secondary Types Test (ATOMPUB) (0 ms)
Creates documents, attaches and detaches secondary types, checks the properties, and finally deletes the test documents.
UNEXPECTED_EXCEPTION: Exception: org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: 06180241 The aspect is invalid: {http://www.alfresco.org/model/cmis/1.0/cs01}secondary (
AbstractSessionTest.java:163) [
stacktrace] [
exception details]
Exception stack trace:
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:493)
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.put(AbstractAtomPubService.java:659)
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.put(AbstractAtomPubService.java:646)
org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.updateProperties(ObjectServiceImpl.java:334)
org.apache.chemistry.opencmis.client.runtime.AbstractCmisObject.updateProperties(AbstractCmisObject.java:344)
org.apache.chemistry.opencmis.client.runtime.AbstractCmisObject.updateProperties(AbstractCmisObject.java:308)
org.apache.chemistry.opencmis.tck.tests.types.SecondaryTypesTest.createDocumentAndAttachSecondaryType(
SecondaryTypesTest.java:125)
org.apache.chemistry.opencmis.tck.tests.types.SecondaryTypesTest.run(
SecondaryTypesTest.java:88)
org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.run(
AbstractSessionTest.java:160)
org.apache.chemistry.opencmis.tck.impl.AbstractCmisTestGroup.run(
AbstractCmisTestGroup.java:109)
Error content:
<html><head><title>Apache Chemistry OpenCMIS - runtime error</title><style><!--H1 {font-size:24px;line-height:normal;font-weight:bold;background-color:#f0f0f0;color:#003366;border-bottom:1px solid #3c78b5;padding:2px;} BODY {font-family:Verdana,arial,sans-serif;color:black;font-size:14px;} HR {color:#3c78b5;height:1px;}--></style></head><body><h1>HTTP Status 500 - <!--exception-->runtime<!--/exception--></h1><p><!--message-->06180241 The aspect is invalid: {http://www.alfresco.org/model/cmis/1.0/cs01}secondary<!--/message--></p><hr noshade='noshade'/><!--stacktrace--><pre>
org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: 06180241 The aspect is invalid: {http://www.alfresco.org/model/cmis/1.0/cs01}secondary
at org.alfresco.opencmis.AlfrescoCmisExceptionInterceptor.invoke(AlfrescoCmisExceptionInterceptor.java:99)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy303.updateProperties(Unknown Source)
at org.apache.chemistry.opencmis.server.support.CmisServiceWrapper.updateProperties(CmisServiceWrapper.java:984)
at org.apache.chemistry.opencmis.server.impl.atompub.ObjectService$UpdateProperties.serve(ObjectService.java:538)
at org.apache.chemistry.opencmis.server.shared.Dispatcher.dispatch(Dispatcher.java:88)
at org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.dispatch(CmisAtomPubServlet.java:225)
at org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.service(CmisAtomPubServlet.java:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.alfresco.opencmis.CMISServletDispatcher.execute(CMISServletDispatcher.java:180)
at org.alfresco.opencmis.CMISWebScript.execute(CMISWebScript.java:51)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:381)
at org.alfresco.rest.api.PublicApiRepositoryContainer.transactionedExecute(PublicApiRepositoryContainer.java:45)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:563)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:343)
at org.alfresco.rest.api.PublicApiRepositoryContainer.access$001(PublicApiRepositoryContainer.java:26)
at org.alfresco.rest.api.PublicApiRepositoryContainer$1.doWork(PublicApiRepositoryContainer.java:81)
at org.alfresco.repo.tenant.TenantUtil.runAsWork(TenantUtil.java:119)
at org.alfresco.repo.tenant.TenantUtil.runAsTenant(TenantUtil.java:88)
at org.alfresco.rest.api.PublicApiRepositoryContainer.executeScript(PublicApiRepositoryContainer.java:77)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
at org.alfresco.repo.web.scripts.TenantWebScriptServlet.service(TenantWebScriptServlet.java:74)
at org.alfresco.rest.api.PublicApiWebScriptServlet.service(PublicApiWebScriptServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.alfresco.service.cmr.dictionary.InvalidAspectException: 06180241 The aspect is invalid: {http://www.alfresco.org/model/cmis/1.0/cs01}secondary
at org.alfresco.repo.node.db.DbNodeServiceImpl.addAspect(DbNodeServiceImpl.java:770)
at sun.reflect.GeneratedMethodAccessor623.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.repo.lock.mem.LockableAspectInterceptor.invoke(LockableAspectInterceptor.java:221)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.lock.mem.LockableAspectInterceptor.invoke(LockableAspectInterceptor.java:221)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy13.addAspect(Unknown Source)
at sun.reflect.GeneratedMethodAccessor623.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:104)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy13.addAspect(Unknown Source)
at sun.reflect.GeneratedMethodAccessor623.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)
at com.sun.proxy.$Proxy28.addAspect(Unknown Source)
at sun.reflect.GeneratedMethodAccessor623.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.repo.tagging.TagScopePropertyMethodInterceptor.invoke(TagScopePropertyMethodInterceptor.java:152)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:306)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:135)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy13.addAspect(Unknown Source)
at sun.reflect.GeneratedMethodAccessor623.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
at com.sun.proxy.$Proxy13.addAspect(Unknown Source)
at sun.reflect.GeneratedMethodAccessor623.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.repo.audit.DisableAuditableBehaviourInterceptor.invoke(DisableAuditableBehaviourInterceptor.java:113)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:158)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.transaction.RetryingTransactionInterceptor$1.execute(RetryingTransactionInterceptor.java:79)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
at org.alfresco.repo.transaction.RetryingTransactionInterceptor.invoke(RetryingTransactionInterceptor.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy13.addAspect(Unknown Source)
at org.alfresco.opencmis.CMISConnector.processSecondaryTypes(CMISConnector.java:3082)
at org.alfresco.opencmis.CMISConnector.setProperties(CMISConnector.java:2981)
at org.alfresco.opencmis.AlfrescoCmisServiceImpl.updateProperties(AlfrescoCmisServiceImpl.java:1554)
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:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.repo.transaction.RetryingTransactionInterceptor$1.execute(RetryingTransactionInterceptor.java:79)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
at org.alfresco.repo.transaction.RetryingTransactionInterceptor.invoke(RetryingTransactionInterceptor.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.opencmis.AlfrescoCmisStreamInterceptor.invoke(AlfrescoCmisStreamInterceptor.java:72)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.opencmis.AlfrescoCmisServiceInterceptor.invoke(AlfrescoCmisServiceInterceptor.java:101)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.opencmis.AlfrescoCmisExceptionInterceptor.invoke(AlfrescoCmisExceptionInterceptor.java:83)
... 48 more
</pre><!--/stacktrace--><hr noshade='noshade'/></body></html>
CRUD Test Group (ATOMPUB)
Create, Read, Update, and Delete tests.
Create and Delete Folder Test (ATOMPUB) (14808 ms)
Creates a few folders, checks the newly created folders and their parent and finally deletes the created folders.
Create and Delete Document Test (ATOMPUB) (33762 ms)
Creates a few documents, checks the newly created documents and their parent and finally deletes the created documents.
FAILURE: Test folder children check (
CreateAndDeleteDocumentTest.java:82) [
stacktrace]
FAILURE: Child and object fetched by path don't match! Id: 47830564-3948-4c1c-a1b3-2cae01a87806;1.0 / Path: /cmistck14056650911791374862582/doc18 (
AbstractSessionTest.java:2004) [
stacktrace]
FAILURE: Child and object fetched by path don't match! Id: b4448b4e-b6d9-43aa-aed9-78d7f06f71ae;1.0 / Path: /cmistck14056650911791374862582/doc19 (
AbstractSessionTest.java:2004) [
stacktrace]
Create Big Document Test (ATOMPUB) (3612 ms)
Creates a 10 MiB document and deletes it.
Create Document without Content Test (ATOMPUB) (723 ms)
Creates a document without content and deletes it.
Create Object With Invalid Type Test (ATOMPUB) (753 ms)
Tries to create document with a folder type and folder with a document type.
WARNING: Creation of a document with a folder type threw an unexcpeted exception: org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Newly created object is not a document! New id: Object Id: 267e6787-7bcb-4044-b12d-b472b7e56648 (
CreateInvalidTypeTest.java:69) [
stacktrace]
WARNING: Creation of a folder with a document type threw an unexcpeted exception: org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Newly created object is not a folder! New id: Object Id: b03eab8d-4ccf-48d1-9828-c8d1642380fb;1.0 (
CreateInvalidTypeTest.java:85) [
stacktrace]
Name Charset Test (ATOMPUB) (12349 ms)
Creates and deletes documents with special characters in cmis:name.
Create and Delete Relationship Test (ATOMPUB) (1709 ms)
Creates a relationship between two documents, checks the newly created relationship and finally deletes the created relationship.
Create and Delete Item Test (ATOMPUB) (5022 ms)
Creates a few items, checks the newly created itens and their parent and finally deletes the created item.
Property Filter Test (ATOMPUB) (3181 ms)
Tests different property filter combinations for documents and folders.
Update Smoke Test (ATOMPUB) (1836 ms)
Creates a document, updates its name and finally deletes it.
Bulk Update Properties Test (ATOMPUB) (0 ms)
Creates a few folders and documents, renames all documents at once, and deletes all created objects.
UNEXPECTED_EXCEPTION: Exception: org.apache.chemistry.opencmis.commons.exceptions.CmisConstraintException: Bulk update not supported for more than one object. (
AbstractSessionTest.java:163) [
stacktrace] [
exception details]
Exception stack trace:
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:488)
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.post(AbstractAtomPubService.java:635)
org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.bulkUpdateProperties(ObjectServiceImpl.java:404)
org.apache.chemistry.opencmis.client.runtime.SessionImpl.bulkUpdateProperties(SessionImpl.java:1281)
org.apache.chemistry.opencmis.tck.tests.crud.BulkUpdatePropertiesTest.run(
BulkUpdatePropertiesTest.java:83)
org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.run(
AbstractSessionTest.java:160)
org.apache.chemistry.opencmis.tck.impl.AbstractCmisTestGroup.run(
AbstractCmisTestGroup.java:109)
Error content:
<html><head><title>Apache Chemistry OpenCMIS - constraint error</title><style><!--H1 {font-size:24px;line-height:normal;font-weight:bold;background-color:#f0f0f0;color:#003366;border-bottom:1px solid #3c78b5;padding:2px;} BODY {font-family:Verdana,arial,sans-serif;color:black;font-size:14px;} HR {color:#3c78b5;height:1px;}--></style></head><body><h1>HTTP Status 409 - <!--exception-->constraint<!--/exception--></h1><p><!--message-->Bulk update not supported for more than one object.<!--/message--></p><hr noshade='noshade'/><!--stacktrace--><pre>
org.apache.chemistry.opencmis.commons.exceptions.CmisConstraintException: Bulk update not supported for more than one object.
at org.alfresco.opencmis.AlfrescoCmisServiceImpl.bulkUpdateProperties(AlfrescoCmisServiceImpl.java:1771)
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:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.repo.transaction.RetryingTransactionInterceptor$1.execute(RetryingTransactionInterceptor.java:79)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
at org.alfresco.repo.transaction.RetryingTransactionInterceptor.invoke(RetryingTransactionInterceptor.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.opencmis.AlfrescoCmisStreamInterceptor.invoke(AlfrescoCmisStreamInterceptor.java:72)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.opencmis.AlfrescoCmisServiceInterceptor.invoke(AlfrescoCmisServiceInterceptor.java:101)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.opencmis.AlfrescoCmisExceptionInterceptor.invoke(AlfrescoCmisExceptionInterceptor.java:83)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy303.bulkUpdateProperties(Unknown Source)
at org.apache.chemistry.opencmis.server.support.CmisServiceWrapper.bulkUpdateProperties(CmisServiceWrapper.java:998)
at org.apache.chemistry.opencmis.server.impl.atompub.ObjectService$BulkUpdateProperties.serve(ObjectService.java:607)
at org.apache.chemistry.opencmis.server.shared.Dispatcher.dispatch(Dispatcher.java:88)
at org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.dispatch(CmisAtomPubServlet.java:225)
at org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.service(CmisAtomPubServlet.java:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.alfresco.opencmis.CMISServletDispatcher.execute(CMISServletDispatcher.java:180)
at org.alfresco.opencmis.CMISWebScript.execute(CMISWebScript.java:51)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:381)
at org.alfresco.rest.api.PublicApiRepositoryContainer.transactionedExecute(PublicApiRepositoryContainer.java:45)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:563)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:343)
at org.alfresco.rest.api.PublicApiRepositoryContainer.access$001(PublicApiRepositoryContainer.java:26)
at org.alfresco.rest.api.PublicApiRepositoryContainer$1.doWork(PublicApiRepositoryContainer.java:81)
at org.alfresco.repo.tenant.TenantUtil.runAsWork(TenantUtil.java:119)
at org.alfresco.repo.tenant.TenantUtil.runAsTenant(TenantUtil.java:88)
at org.alfresco.rest.api.PublicApiRepositoryContainer.executeScript(PublicApiRepositoryContainer.java:77)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
at org.alfresco.repo.web.scripts.TenantWebScriptServlet.service(TenantWebScriptServlet.java:74)
at org.alfresco.rest.api.PublicApiWebScriptServlet.service(PublicApiWebScriptServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
</pre><!--/stacktrace--><hr noshade='noshade'/></body></html>
Set, Append, and Delete Content Test (ATOMPUB) (1881 ms)
Creates a new document and tries to set, append, and delete its content.
FAILURE: Document still has a file name after deleteContentStream() has been called: contenttest.txt (
SetAndDeleteContentTest.java:132) [
stacktrace]
INFO: Object is not null!
Change Token Test (ATOMPUB) (2056 ms)
Creates a document and a folder and updates them with an outdated change token.
SKIPPED: Repository does not provide change tokens for documents. Test skipped! (
ChangeTokenTest.java:85) [
stacktrace]
Content Ranges Test (ATOMPUB) (964 ms)
Creates a document and reads different excerpts of the content.
Copy Test (ATOMPUB) (1791 ms)
Creates two folders and a document and copies the document from one folder to the other. If the AtomPub binding is used, this test is skipped.
Move Test (ATOMPUB) (1701 ms)
Creates two folders and a document and moves the document from one folder to the other.
Delete Tree Test (ATOMPUB) (15840 ms)
Creates a few documents in a folder, deletes the folder and checks if all documents are gone.
FAILURE: deleteTree() could not delete 20 out of 20 objects in the folder! (
DeleteTreeTest.java:72) [
stacktrace]
INFO: expected: 0 / actual: 20
FAILURE: Document still exists but should have been deleted. Id: b339407b-6476-4816-98a0-bad4eecce109;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: 213f0fb6-6432-4873-9c12-ae447a841c47;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: de179eaf-1907-4595-9512-8fc86f5b2b3d;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: 95b0b7b2-0664-4fdd-a725-c857245788d8;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: 6ff88937-d5e9-4749-a14d-8fa316c1aae2;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: 932034bb-3f9b-4b05-b330-dbbf09c01804;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: bd8ccfa8-87d1-4a5e-9827-8039bece32cb;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: d4ec57e4-f868-4dc4-9893-20e0d1074804;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: fd46bdc2-62e2-4dc4-95e2-1c924f3c19e7;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: 608509cd-30bf-4445-b5de-99d7648c6061;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: 4fc5a8de-08db-4574-8d88-90e3c2df5aae;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: b5ed926f-de6c-464e-b9f9-c7dde8ece2b1;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: 3563235d-de77-4068-8589-e6eb42fdf99a;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: 8295a6c2-dace-49ca-8f9b-f225ed45cb99;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: 72e23f17-fa85-4adf-9e6c-475a0bbbb5d5;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: b63226fb-86c7-4016-902d-b023ba60f317;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: 2d51053a-a237-42c3-9e2f-d11888b4b168;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: 1729ea61-c151-463a-8426-9273df9e6a15;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: 362d8f7b-53a3-4b3d-ae30-411b03bd2623;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Document still exists but should have been deleted. Id: abddb419-4e88-4af5-b3be-02fd702976fc;1.0 (
DeleteTreeTest.java:78) [
stacktrace]
INFO: True!
FAILURE: Folder still exists but should have been deleted. Id: b811f0f8-0b57-45f4-a3ff-1a1815d195d2 (
DeleteTreeTest.java:83) [
stacktrace]
INFO: True!
Operation Context (ATOMPUB) (981 ms)
Creates a document, retrieves a minimal set of details, checks it, and finally deletes the document.
Versioning Test Group (ATOMPUB)
Versioning tests.
Versioning Smoke Test (ATOMPUB) (3687 ms)
Creates a document, checks it out, cancels the check out, checks it out again and finally checks it in.
Versioning Delete Test (ATOMPUB) (4593 ms)
Creates a document, adds three versions and deletes the current version until the document is gone.
Versioning State Create Test (ATOMPUB) (2414 ms)
Creates documents in different versioning states.
Checked out Test (ATOMPUB) (1829 ms)
Calls getCheckedOutDocs() and checks the returned objects.
Filing Test Group (ATOMPUB)
Multifiling anf Unfiling tests.
Multifiling Test (ATOMPUB) (7025 ms)
Creates two folders and a document in one of the folders, adds the document to the second folder and then removes it again for the second folder.
Unfiling Test (ATOMPUB) (9 ms)
Creates a folder and a document, removes the document from the folder and then adds it again.
Control Test Group (ATOMPUB)
ACL and Policy tests.
ACL Test (ATOMPUB) (1288 ms)
Creates a document and checks its ACL.
Query Test Group (ATOMPUB)
Query and content changes tests.
Query Smoke Test (ATOMPUB) (11782 ms)
Performs a simple query and checks if the format of the results is correct. It does not check if the results are complete!
Query Root Folder Test (ATOMPUB) (247 ms)
Performs a query that should return the root folder name and id.
INFO: Query: SELECT cmis:name AS folderName, cmis:objectId AS folderId FROM cmis:folder WHERE cmis:objectId = 'e730f648-e12d-4f3d-a94b-aa57a1c0a41b' (
QueryRootFolderTest.java:78) [
stacktrace]
INFO: Query: SELECT cmis:name AS folderName, cmis:objectId AS folderId FROM cmis:folder WHERE cmis:creationDate > TIMESTAMP '2014-07-03T05:58:46.251Z' AND cmis:creationDate < TIMESTAMP '2014-07-03T07:58:46.251Z' (
QueryRootFolderTest.java:129) [
stacktrace]
Query For Object Test (ATOMPUB) (1029 ms)
Creates a folder and a document, queries them by object id, and deletes both.
INFO: Folder query: SELECT * FROM cmis:folder WHERE cmis:objectId = '0a8eb0d0-1fc7-40c1-9dc1-04f88460be74' (
QueryForObject.java:91) [
stacktrace]
INFO: Folder query: SELECT * FROM cmis:folder WHERE cmis:objectId IN ('0a8eb0d0-1fc7-40c1-9dc1-04f88460be74') (
QueryForObject.java:91) [
stacktrace]
INFO: Document query: SELECT * FROM cmis:document WHERE cmis:objectId = '143bcab7-352d-4f3c-ac41-2589db750646;1.0' (
QueryForObject.java:126) [
stacktrace]
INFO: Document query: SELECT * FROM cmis:document WHERE cmis:objectId IN ('143bcab7-352d-4f3c-ac41-2589db750646;1.0') (
QueryForObject.java:126) [
stacktrace]
Query LIKE Test (ATOMPUB) (32527 ms)
Performs a LIKE query and checks if only matching objects are returned.
Query IN_FOLDER and IN_TREE Test (ATOMPUB) (32855 ms)
Performs IN_FOLDER and IN_TREE queries.
INFO: Query: SELECT cmis:objectId FROM cmis:document WHERE IN_FOLDER('6448a45e-6017-45ad-a7f3-f15543d8fb5b') (
QueryInFolderTest.java:110) [
stacktrace]
INFO: Query: SELECT cmis:objectId FROM cmis:document WHERE IN_TREE('6448a45e-6017-45ad-a7f3-f15543d8fb5b') (
QueryInFolderTest.java:110) [
stacktrace]
INFO: Query: SELECT cmis:objectId FROM cmis:folder WHERE IN_FOLDER('6448a45e-6017-45ad-a7f3-f15543d8fb5b') (
QueryInFolderTest.java:110) [
stacktrace]
INFO: Query: SELECT cmis:objectId FROM cmis:folder WHERE IN_TREE('6448a45e-6017-45ad-a7f3-f15543d8fb5b') (
QueryInFolderTest.java:110) [
stacktrace]
Content Changes Smoke Test (ATOMPUB) (11 ms)
Calls getContentChanges(). It does not check if the results are correct!